1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4637],{179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return i}});var n=r(23103),i={nodeType:n.BLOCKS.DOCUMENT,data:{},content:[{nodeType:n.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}},413:(e,t,r)=>{let n=r(81951),i=e=>e.toFixed(7).replace(/(\.[0-9]+?)0+$/,"$1").replace(/\.0$/,""),a=e=>`${i(e/16)}rem`,o=(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:a(14),lineHeight:i(24/14),p:{marginTop:o(16,14),marginBottom:o(16,14)},'[class~="lead"]':{fontSize:o(18,14),lineHeight:i(28/18),marginTop:o(16,18),marginBottom:o(16,18)},blockquote:{marginTop:o(24,18),marginBottom:o(24,18),paddingLeft:o(20,18)},h1:{fontSize:o(30,14),marginTop:"0",marginBottom:o(24,30),lineHeight:i(1.2)},h2:{fontSize:o(20,14),marginTop:o(32,20),marginBottom:o(16,20),lineHeight:i(1.4)},h3:{fontSize:o(18,14),marginTop:o(28,18),marginBottom:o(8,18),lineHeight:i(28/18)},h4:{marginTop:o(20,14),marginBottom:o(8,14),lineHeight:i(20/14)},img:{marginTop:o(24,14),marginBottom:o(24,14)},picture:{marginTop:o(24,14),marginBottom:o(24,14)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:o(24,14),marginBottom:o(24,14)},kbd:{fontSize:o(12,14),borderRadius:a(5),paddingTop:o(2,14),paddingRight:o(5,14),paddingBottom:o(2,14),paddingLeft:o(5,14)},code:{fontSize:o(12,14)},"h2 code":{fontSize:o(18,20)},"h3 code":{fontSize:o(16,18)},pre:{fontSize:o(12,14),lineHeight:i(20/12),marginTop:o(20,12),marginBottom:o(20,12),borderRadius:a(4),paddingTop:o(8,12),paddingRight:o(12,12),paddingBottom:o(8,12),paddingLeft:o(12,12)},ol:{marginTop:o(16,14),marginBottom:o(16,14),paddingLeft:o(22,14)},ul:{marginTop:o(16,14),marginBottom:o(16,14),paddingLeft:o(22,14)},li:{marginTop:o(4,14),marginBottom:o(4,14)},"ol > li":{paddingLeft:o(6,14)},"ul > li":{paddingLeft:o(6,14)},"> ul > li p":{marginTop:o(8,14),marginBottom:o(8,14)},"> ul > li > *:first-child":{marginTop:o(16,14)},"> ul > li > *:last-child":{marginBottom:o(16,14)},"> ol > li > *:first-child":{marginTop:o(16,14)},"> ol > li > *:last-child":{marginBottom:o(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:o(8,14),marginBottom:o(8,14)},dl:{marginTop:o(16,14),marginBottom:o(16,14)},dt:{marginTop:o(16,14)},dd:{marginTop:o(4,14),paddingLeft:o(22,14)},hr:{marginTop:o(40,14),marginBottom:o(40,14)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:o(12,14),lineHeight:i(1.5)},"thead th":{paddingRight:o(12,12),paddingBottom:o(8,12),paddingLeft:o(12,12)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:o(8,12),paddingRight:o(12,12),paddingBottom:o(8,12),paddingLeft:o(12,12)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"},figure:{marginTop:o(24,14),marginBottom:o(24,14)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:o(12,14),lineHeight:i(16/12),marginTop:o(8,12)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},base:{css:[{fontSize:a(16),lineHeight:i(1.75),p:{marginTop:o(20,16),marginBottom:o(20,16)},'[class~="lead"]':{fontSize:o(20,16),lineHeight:i(1.6),marginTop:o(24,20),marginBottom:o(24,20)},blockquote:{marginTop:o(32,20),marginBottom:o(32,20),paddingLeft:o(20,20)},h1:{fontSize:o(36,16),marginTop:"0",marginBottom:o(32,36),lineHeight:i(40/36)},h2:{fontSize:o(24,16),marginTop:o(48,24),marginBottom:o(24,24),lineHeight:i(32/24)},h3:{fontSize:o(20,16),marginTop:o(32,20),marginBottom:o(12,20),lineHeight:i(1.6)},h4:{marginTop:o(24,16),marginBottom:o(8,16),lineHeight:i(1.5)},img:{marginTop:o(32,16),marginBottom:o(32,16)},picture:{marginTop:o(32,16),marginBottom:o(32,16)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:o(32,16),marginBottom:o(32,16)},kbd:{fontSize:o(14,16),borderRadius:a(5),paddingTop:o(3,16),paddingRight:o(6,16),paddingBottom:o(3,16),paddingLeft:o(6,16)},code:{fontSize:o(14,16)},"h2 code":{fontSize:o(21,24)},"h3 code":{fontSize:o(18,20)},pre:{fontSize:o(14,16),lineHeight:i(24/14),marginTop:o(24,14),marginBottom:o(24,14),borderRadius:a(6),paddingTop:o(12,14),paddingRight:o(16,14),paddingBottom:o(12,14),paddingLeft:o(16,14)},ol:{marginTop:o(20,16),marginBottom:o(20,16),paddingLeft:o(26,16)},ul:{marginTop:o(20,16),marginBottom:o(20,16),paddingLeft:o(26,16)},li:{marginTop:o(8,16),marginBottom:o(8,16)},"ol > li":{paddingLeft:o(6,16)},"ul > li":{paddingLeft:o(6,16)},"> ul > li p":{marginTop:o(12,16),marginBottom:o(12,16)},"> ul > li > *:first-child":{marginTop:o(20,16)},"> ul > li > *:last-child":{marginBottom:o(20,16)},"> ol > li > *:first-child":{marginTop:o(20,16)},"> ol > li > *:last-child":{marginBottom:o(20,16)},"ul ul, ul ol, ol ul, ol ol":{marginTop:o(12,16),marginBottom:o(12,16)},dl:{marginTop:o(20,16),marginBottom:o(20,16)},dt:{marginTop:o(20,16)},dd:{marginTop:o(8,16),paddingLeft:o(26,16)},hr:{marginTop:o(48,16),marginBottom:o(48,16)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:o(14,16),lineHeight:i(24/14)},"thead th":{paddingRight:o(8,14),paddingBottom:o(8,14),paddingLeft:o(8,14)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:o(8,14),paddingRight:o(8,14),paddingBottom:o(8,14),paddingLeft:o(8,14)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"},figure:{marginTop:o(32,16),marginBottom:o(32,16)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:o(14,16),lineHeight:i(20/14),marginTop:o(12,14)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},lg:{css:[{fontSize:a(18),lineHeight:i(32/18),p:{marginTop:o(24,18),marginBottom:o(24,18)},'[class~="lead"]':{fontSize:o(22,18),lineHeight:i(32/22),marginTop:o(24,22),marginBottom:o(24,22)},blockquote:{marginTop:o(40,24),marginBottom:o(40,24),paddingLeft:o(24,24)},h1:{fontSize:o(48,18),marginTop:"0",marginBottom:o(40,48),lineHeight:i(1)},h2:{fontSize:o(30,18),marginTop:o(56,30),marginBottom:o(32,30),lineHeight:i(40/30)},h3:{fontSize:o(24,18),marginTop:o(40,24),marginBottom:o(16,24),lineHeight:i(1.5)},h4:{marginTop:o(32,18),marginBottom:o(8,18),lineHeight:i(28/18)},img:{marginTop:o(32,18),marginBottom:o(32,18)},picture:{marginTop:o(32,18),marginBottom:o(32,18)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:o(32,18),marginBottom:o(32,18)},kbd:{fontSize:o(16,18),borderRadius:a(5),paddingTop:o(4,18),paddingRight:o(8,18),paddingBottom:o(4,18),paddingLeft:o(8,18)},code:{fontSize:o(16,18)},"h2 code":{fontSize:o(26,30)},"h3 code":{fontSize:o(21,24)},pre:{fontSize:o(16,18),lineHeight:i(1.75),marginTop:o(32,16),marginBottom:o(32,16),borderRadius:a(6),paddingTop:o(16,16),paddingRight:o(24,16),paddingBottom:o(16,16),paddingLeft:o(24,16)},ol:{marginTop:o(24,18),marginBottom:o(24,18),paddingLeft:o(28,18)},ul:{marginTop:o(24,18),marginBottom:o(24,18),paddingLeft:o(28,18)},li:{marginTop:o(12,18),marginBottom:o(12,18)},"ol > li":{paddingLeft:o(8,18)},"ul > li":{paddingLeft:o(8,18)},"> ul > li p":{marginTop:o(16,18),marginBottom:o(16,18)},"> ul > li > *:first-child":{marginTop:o(24,18)},"> ul > li > *:last-child":{marginBottom:o(24,18)},"> ol > li > *:first-child":{marginTop:o(24,18)},"> ol > li > *:last-child":{marginBottom:o(24,18)},"ul ul, ul ol, ol ul, ol ol":{marginTop:o(16,18),marginBottom:o(16,18)},dl:{marginTop:o(24,18),marginBottom:o(24,18)},dt:{marginTop:o(24,18)},dd:{marginTop:o(12,18),paddingLeft:o(28,18)},hr:{marginTop:o(56,18),marginBottom:o(56,18)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:o(16,18),lineHeight:i(1.5)},"thead th":{paddingRight:o(12,16),paddingBottom:o(12,16),paddingLeft:o(12,16)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:o(12,16),paddingRight:o(12,16),paddingBottom:o(12,16),paddingLeft:o(12,16)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"},figure:{marginTop:o(32,18),marginBottom:o(32,18)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:o(16,18),lineHeight:i(1.5),marginTop:o(16,16)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},xl:{css:[{fontSize:a(20),lineHeight:i(1.8),p:{marginTop:o(24,20),marginBottom:o(24,20)},'[class~="lead"]':{fontSize:o(24,20),lineHeight:i(1.5),marginTop:o(24,24),marginBottom:o(24,24)},blockquote:{marginTop:o(48,30),marginBottom:o(48,30),paddingLeft:o(32,30)},h1:{fontSize:o(56,20),marginTop:"0",marginBottom:o(48,56),lineHeight:i(1)},h2:{fontSize:o(36,20),marginTop:o(56,36),marginBottom:o(32,36),lineHeight:i(40/36)},h3:{fontSize:o(30,20),marginTop:o(48,30),marginBottom:o(20,30),lineHeight:i(40/30)},h4:{marginTop:o(36,20),marginBottom:o(12,20),lineHeight:i(1.6)},img:{marginTop:o(40,20),marginBottom:o(40,20)},picture:{marginTop:o(40,20),marginBottom:o(40,20)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:o(40,20),marginBottom:o(40,20)},kbd:{fontSize:o(18,20),borderRadius:a(5),paddingTop:o(5,20),paddingRight:o(8,20),paddingBottom:o(5,20),paddingLeft:o(8,20)},code:{fontSize:o(18,20)},"h2 code":{fontSize:o(31,36)},"h3 code":{fontSize:o(27,30)},pre:{fontSize:o(18,20),lineHeight:i(32/18),marginTop:o(36,18),marginBottom:o(36,18),borderRadius:a(8),paddingTop:o(20,18),paddingRight:o(24,18),paddingBottom:o(20,18),paddingLeft:o(24,18)},ol:{marginTop:o(24,20),marginBottom:o(24,20),paddingLeft:o(32,20)},ul:{marginTop:o(24,20),marginBottom:o(24,20),paddingLeft:o(32,20)},li:{marginTop:o(12,20),marginBottom:o(12,20)},"ol > li":{paddingLeft:o(8,20)},"ul > li":{paddingLeft:o(8,20)},"> ul > li p":{marginTop:o(16,20),marginBottom:o(16,20)},"> ul > li > *:first-child":{marginTop:o(24,20)},"> ul > li > *:last-child":{marginBottom:o(24,20)},"> ol > li > *:first-child":{marginTop:o(24,20)},"> ol > li > *:last-child":{marginBottom:o(24,20)},"ul ul, ul ol, ol ul, ol ol":{marginTop:o(16,20),marginBottom:o(16,20)},dl:{marginTop:o(24,20),marginBottom:o(24,20)},dt:{marginTop:o(24,20)},dd:{marginTop:o(12,20),paddingLeft:o(32,20)},hr:{marginTop:o(56,20),marginBottom:o(56,20)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:o(18,20),lineHeight:i(28/18)},"thead th":{paddingRight:o(12,18),paddingBottom:o(16,18),paddingLeft:o(12,18)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:o(16,18),paddingRight:o(12,18),paddingBottom:o(16,18),paddingLeft:o(12,18)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"},figure:{marginTop:o(40,20),marginBottom:o(40,20)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:o(18,20),lineHeight:i(28/18),marginTop:o(18,18)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},"2xl":{css:[{fontSize:a(24),lineHeight:i(40/24),p:{marginTop:o(32,24),marginBottom:o(32,24)},'[class~="lead"]':{fontSize:o(30,24),lineHeight:i(44/30),marginTop:o(32,30),marginBottom:o(32,30)},blockquote:{marginTop:o(64,36),marginBottom:o(64,36),paddingLeft:o(40,36)},h1:{fontSize:o(64,24),marginTop:"0",marginBottom:o(56,64),lineHeight:i(1)},h2:{fontSize:o(48,24),marginTop:o(72,48),marginBottom:o(40,48),lineHeight:i(52/48)},h3:{fontSize:o(36,24),marginTop:o(56,36),marginBottom:o(24,36),lineHeight:i(44/36)},h4:{marginTop:o(40,24),marginBottom:o(16,24),lineHeight:i(1.5)},img:{marginTop:o(48,24),marginBottom:o(48,24)},picture:{marginTop:o(48,24),marginBottom:o(48,24)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:o(48,24),marginBottom:o(48,24)},kbd:{fontSize:o(20,24),borderRadius:a(6),paddingTop:o(6,24),paddingRight:o(8,24),paddingBottom:o(6,24),paddingLeft:o(8,24)},code:{fontSize:o(20,24)},"h2 code":{fontSize:o(42,48)},"h3 code":{fontSize:o(32,36)},pre:{fontSize:o(20,24),lineHeight:i(1.8),marginTop:o(40,20),marginBottom:o(40,20),borderRadius:a(8),paddingTop:o(24,20),paddingRight:o(32,20),paddingBottom:o(24,20),paddingLeft:o(32,20)},ol:{marginTop:o(32,24),marginBottom:o(32,24),paddingLeft:o(38,24)},ul:{marginTop:o(32,24),marginBottom:o(32,24),paddingLeft:o(38,24)},li:{marginTop:o(12,24),marginBottom:o(12,24)},"ol > li":{paddingLeft:o(10,24)},"ul > li":{paddingLeft:o(10,24)},"> ul > li p":{marginTop:o(20,24),marginBottom:o(20,24)},"> ul > li > *:first-child":{marginTop:o(32,24)},"> ul > li > *:last-child":{marginBottom:o(32,24)},"> ol > li > *:first-child":{marginTop:o(32,24)},"> ol > li > *:last-child":{marginBottom:o(32,24)},"ul ul, ul ol, ol ul, ol ol":{marginTop:o(16,24),marginBottom:o(16,24)},dl:{marginTop:o(32,24),marginBottom:o(32,24)},dt:{marginTop:o(32,24)},dd:{marginTop:o(12,24),paddingLeft:o(38,24)},hr:{marginTop:o(72,24),marginBottom:o(72,24)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:o(20,24),lineHeight:i(1.4)},"thead th":{paddingRight:o(12,20),paddingBottom:o(16,20),paddingLeft:o(12,20)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:o(16,20),paddingRight:o(12,20),paddingBottom:o(16,20),paddingLeft:o(12,20)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"},figure:{marginTop:o(48,24),marginBottom:o(48,24)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:o(20,24),lineHeight:i(1.6),marginTop:o(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.gra
1y[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:o(32,16),marginBottom:o(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}},603:(e,t,r)=>{"use strict";r.d(t,{U:()=>_});var n=r(74180),i=r(43573),a=r(7005),o=r(91577);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?l(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var c=(0,i.V)({name:"stats",connector:!0});let d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.l;return(0,o.t)(e,c()),function(r){return{$$type:"ais.stats",init:function(t){var r=t.instantSearchInstance;e(u(u({},this.getWidgetRenderState(t)),{},{instantSearchInstance:r}),!0)},render:function(t){var r=t.instantSearchInstance;e(u(u({},this.getWidgetRenderState(t)),{},{instantSearchInstance:r}),!1)},dispose:function(){t()},getRenderState:function(e,t){return u(u({},e),{},{stats:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t=e.results,n=e.state;return t?{hitsPerPage:t.hitsPerPage,nbHits:t.nbHits,nbSortedHits:t.nbSortedHits,areHitsSorted:void 0!==t.appliedRelevancyStrictness&&t.appliedRelevancyStrictness>0&&t.nbSortedHits!==t.nbHits,nbPages:t.nbPages,page:t.page,processingTimeMS:t.processingTimeMS,query:t.query,widgetParams:r}:{hitsPerPage:n.hitsPerPage,nbHits:0,nbSortedHits:void 0,areHitsSorted:!1,nbPages:0,page:n.page||0,processingTimeMS:-1,query:n.query||"",widgetParams:r}}}}};var f=r(80488),h=r(46635),p=["classNames","nbHits","processingTimeMS","nbSortedHits","areHitsSorted","translations"];function m(){return(m=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 g(e){var t=e.classNames,r=e.nbHits,i=e.processingTimeMS,a=e.nbSortedHits,o=e.areHitsSorted,s=e.translations,l=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,p);return n.createElement("div",m({},l,{className:(0,h.cx)("ais-Stats",(void 0===t?{}:t).root,l.className)}),n.createElement("span",{className:"ais-Stats-text"},s.rootElementText({nbHits:r,processingTimeMS:i,nbSortedHits:a,areHitsSorted:o})))}function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var v=["translations"];function b(){return(b=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 E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){var t,r,i=e.translations,a=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,v),o=(t=void 0,r={$$widgetType:"ais.stats"},(0,f.Z)(d,t,r)),s={nbHits:o.nbHits,nbSortedHits:o.nbSortedHits,processingTimeMS:o.processingTimeMS,areHitsSorted:o.areHitsSorted,translations:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?E(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=y(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==y(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({rootElementText:function(e){var t,r,n,i,a;return"".concat(e.areHitsSorted?(r=(t=e).nbHits,n=t.nbSortedHits,i="sorted out of ".concat(r.toLocaleString()),0===n?"No relevant results ".concat(i):1===n?"1 relevant result ".concat(i):n>1?"".concat((n||0).toLocaleString()," relevant results ").concat(i):""):0===(a=e.nbHits)?"No results":1===a?"1 result":a>1?"".concat(a.toLocaleString()," results"):""," found in ").concat(e.processingTimeMS.toLocaleString(),"ms")}},i)};return n.createElement(g,b({},a,s))}},712:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(22221),i=r(7854);function a(e,t){let r=(0,n.q)(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=(0,i.a)(e,t?.in),s=o.getDay();return o.setDate(o.getDate()-(7*(s<a)+s-a)),o.setHours(0,0,0,0),o}},896:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={StaticGenBailoutError:function(){return a},isStaticGenBailoutError:function(){return o}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i="NEXT_STATIC_GEN_BAILOUT";class a extends Error{constructor(...e){super(...e),this.code=i}}function o(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===i}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},908: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xe5lla"},set:{unit:"objekt",verb:"att inneh\xe5lla"}},t={regex:"regulj\xe4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xe4ng",base64url:"base64url-kodad str\xe4ng",json_string:"JSON-str\xe4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},r=>{switch(r.code){case"invalid_type":return`Ogiltig inmatning: f\xf6rv\xe4ntat ${r.expected}, fick ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"antal";case"object":if(Array.isArray(e))return"lista";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Ogiltig inmatning: f\xf6rv\xe4ntat ${o.stringifyPrimitive(r.values[0])}`;return`Ogiltigt val: f\xf6rv\xe4ntade en av ${o.joinValues(r.values,"|")}`;
1case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`F\xf6r stor(t): f\xf6rv\xe4ntade ${r.origin??"v\xe4rdet"} att ha ${t}${r.maximum.toString()} ${n.unit??"element"}`;return`F\xf6r stor(t): f\xf6rv\xe4ntat ${r.origin??"v\xe4rdet"} att ha ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`F\xf6r lite(t): f\xf6rv\xe4ntade ${r.origin??"v\xe4rdet"} att ha ${t}${r.minimum.toString()} ${n.unit}`;return`F\xf6r lite(t): f\xf6rv\xe4ntade ${r.origin??"v\xe4rdet"} att ha ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Ogiltig str\xe4ng: m\xe5ste b\xf6rja med "${r.prefix}"`;if("ends_with"===r.format)return`Ogiltig str\xe4ng: m\xe5ste sluta med "${r.suffix}"`;if("includes"===r.format)return`Ogiltig str\xe4ng: m\xe5ste inneh\xe5lla "${r.includes}"`;if("regex"===r.format)return`Ogiltig str\xe4ng: m\xe5ste matcha m\xf6nstret "${r.pattern}"`;return`Ogiltig(t) ${t[r.format]??r.format}`;case"not_multiple_of":return`Ogiltigt tal: m\xe5ste vara en multipel av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ok\xe4nda nycklar":"Ok\xe4nd nyckel"}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${r.origin??"v\xe4rdet"}`;case"invalid_union":default:return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xe4rde i ${r.origin??"v\xe4rdet"}`}})}};let o=a(r(3947))},1042: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"××ת××ת",verb:"×××××"},file:{unit:"××××××",verb:"×××××"},array:{unit:"פר××××",verb:"×××××"},set:{unit:"פר××××",verb:"×××××"}},t={regex:"×§××",email:"×ת××ת ××××××",url:"×ת××ת רשת",emoji:"×××××'×",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ת×ר×× ×××× ISO",date:"ת×ר×× ISO",time:"××× ISO",duration:"××©× ××× ISO",ipv4:"×ת××ת IPv4",ipv6:"×ת××ת IPv6",cidrv4:"×××× IPv4",cidrv6:"×××× IPv6",base64:"××ר××ת ××ס×ס 64",base64url:"××ר××ת ××ס×ס 64 ××ת×××ת רשת",json_string:"××ר××ת JSON",e164:"×ספר E.164",jwt:"JWT",template_literal:"×§××"},r=>{switch(r.code){case"invalid_type":return`×§×× ×× ×ª×§××: צר×× ${r.expected}, ×תק×× ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`×§×× ×× ×ª×§××: צר×× ${o.stringifyPrimitive(r.values[0])}`;return`×§×× ×× ×ª×§××: צר×× ××ת ×××פשר×××ת ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`×××× ×××: ${r.origin??"value"} צר×× ××××ת ${t}${r.maximum.toString()} ${n.unit??"elements"}`;return`×××× ×××: ${r.origin??"value"} צר×× ××××ת ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`×§×× ×××: ${r.origin} צר×× ××××ת ${t}${r.minimum.toString()} ${n.unit}`;return`×§×× ×××: ${r.origin} צר×× ××××ת ${t}${r.minimum.toString()}`}
1case"invalid_format":if("starts_with"===r.format)return`××ר××ת ×× ×ª×§×× ×: ××××ת ××ת××× ×"${r.prefix}"`;if("ends_with"===r.format)return`××ר××ת ×× ×ª×§×× ×: ××××ת ××סת××× × "${r.suffix}"`;if("includes"===r.format)return`××ר××ת ×× ×ª×§×× ×: ××××ת ××××× "${r.includes}"`;if("regex"===r.format)return`××ר××ת ×× ×ª×§×× ×: ××××ת ××ת××× ×ת×× ×ת ${r.pattern}`;return`${t[r.format]??r.format} ×× ×ª×§××`;case"not_multiple_of":return`×ספר ×× ×ª×§××: ×××× ××××ת ××פ×× ×©× ${r.divisor}`;case"unrecognized_keys":return`×פת×${r.keys.length>1?"×ת":""} ×× ××××${r.keys.length>1?"××":"×"}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`××¤×ª× ×× ×ª×§×× ×${r.origin}`;case"invalid_union":default:return"×§×× ×× ×ª×§××";case"invalid_element":return`×¢×¨× ×× ×ª×§×× ×${r.origin}`}})}};let o=a(r(3947))},1068:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(r(63996)),i=o(r(88522)),a=o(r(91687));function o(e){return e&&e.__esModule?e:{default:e}}t.default={CanvasRenderer:n.default,SVGRenderer:i.default,ObjectRenderer:a.default}},1078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pharmacode=void 0;var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();t.pharmacode=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return n.number=parseInt(e,10),n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"encode",value:function(){for(var e=this.number,t="";!isNaN(e)&&0!=e;)e%2==0?(t="11100"+t,e=(e-2)/2):(t="100"+t,e=(e-1)/2);return{data:t=t.slice(0,-2),text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),t}(((n=r(40355))&&n.__esModule?n:{default:n}).default)},1441:(e,t,r)=>{"use strict";r.d(t,{X:()=>y});var n=r(43573),i=r(7005),a=r(91577);function o(e){var t=e.helper,r=e.attributesToClear,n=void 0===r?[]:r,i=t.state.setPage(0);return i=n.reduce(function(e,t){return i.isNumericRefined(t)?e.removeNumericRefinement(t):i.isHierarchicalFacet(t)?e.removeHierarchicalFacetRefinement(t):i.isDisjunctiveFacet(t)?e.removeDisjunctiveFacetRefinement(t):i.isConjunctiveFacet(t)?e.removeFacetRefinement(t):e},i),-1!==n.indexOf("query")&&(i=i.setQuery("")),i}var s=r(27868),l=r(46180),u=r(49711);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(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 f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var p=(0,n.V)({name:"clear-refinements",connector:!0});let m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.l;return(0,a.t)(e,p()),function(r){var n=r||{},a=n.includedAttributes,c=void 0===a?[]:a,f=n.excludedAttributes,m=void 0===f?["query"]:f,g=n.transformItems,y=void 0===g?function(e){return e}:g;if(r&&r.includedAttributes&&r.excludedAttributes)throw Error(p("The options `includedAttributes` and `excludedAttributes` cannot be used together."));var v={refine:i.l,createURL:function(){return""},attributesToClear:[]},b=function(){return v.refine()},E=function(){return v.createURL()};return{$$type:"ais.clearRefinements",init:function(t){var r=t.instantSearchInstance;e(h(h({},this.getWidgetRenderState(t)),{},{instantSearchInstance:r}),!0)},render:function(t){var r=t.instantSearchInstance;e(h(h({},this.getWidgetRenderState(t)),{},{instantSearchInstance:r}),!1)},dispose:function(){t()},getRenderState:function(e,t){return h(h({},e),{},{clearRefinements:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t=e.createURL,n=e.scopedResults,i=e.results;v.attributesToClear=n.reduce(function(e,t){var r,n,a,o,s,d,f;return e.concat((n=(r={scopedResult:t,includedAttributes:c,excludedAttributes:m,transformItems:y,results:i}).scopedResult,a=r.includedAttributes,o=r.excludedAttributes,s=r.transformItems,d=r.results,f=-1!==a.indexOf("query")||-1===o.indexOf("query"),{helper:n.helper,items:s((0,l.s)((0,u.t)(n.results,n.helper.state,f).map(function(e){return e.attribute}).filter(function(e){return 0===a.length||-1!==a.indexOf(e)}).filter(function(e){return"query"===e&&f||-1===o.indexOf(e)})),{results:d})}))},[]),v.refine=function(){v.attributesToClear.forEach(function(e){var t=e.helper,r=e.items;t.setState(o({helper:t,attributesToClear:r})).search()})},v.createURL=function(){var e;return t(s.p.apply(void 0,function(e){if(Array.isArray(e))return d(e)}(e=v.attributesToClear.map(function(e){return o({helper:e.helper,attributesToClear:e.items})}))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return d(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return d(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))};var a=v.attributesToClear.some(function(e){return e.items.length>0});return{canRefine:a,hasRefinements:a,refine:b,createURL:E,widgetParams:r}}}}};var g=r(80488);function y(e,t){return(0,g.Z)(m,e,t)}},1937:(e,t,r)=>{"use strict";var n=r(9395),i=Object.prototype.hasOwnProperty,a=Array.isArray,o={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t){var r={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,c=l.split(t.delimiter,u),d=-1,f=t.charset;if(t.charsetSentinel)for(h=0;h<c.length;++h)0===c[h].indexOf("utf8=")&&("utf8=%E2%9C%93"===c[h]?f="utf-8":"utf8=%26%2310003%3B"===c[h]&&(f="iso-8859-1"),d=h,h=c.length);for(h=0;h<c.length;++h)if(h!==d){var h,p,m,g=c[h],y=g.indexOf("]="),v=-1===y?g.indexOf("="):y+1;-1===v?(p=t.decoder(g,o.decoder,f,"key"),m=t.strictNullHandling?null:""):(p=t.decoder(g.slice(0,v),o.decoder,f,"key"),m=n.maybeMap(s(g.slice(v+1),t),function(e){return t.decoder(e,o.decoder,f,"value")})),m&&t.interpretNumericEntities&&"iso-8859-1"===f&&(m=m.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),g.indexOf("[]=")>-1&&(m=a(m)?[m]:m),i.call(r,p)?r[p]=n.combine(r[p],m):r[p]=m}return r},u=function(e,t,r,n){for(var i=n?t:s(t,r),a=e.length-1;a>=0;--a){var o,l=e[a];if("[]"===l&&r.parseArrays)o=[].concat(i);else{o=r.plainObjects?Object.create(null):{};var u="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,c=parseInt(u,10);r.parseArrays||""!==u?!isNaN(c)&&l!==u&&String(c)===u&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(o=[])[c]=i:"__proto__"!==u&&(
1o[u]=i):o={0:i}}i=o}return i},c=function(e,t,r,n){if(e){var a=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),l=s?a.slice(0,s.index):a,c=[];if(l){if(!r.plainObjects&&i.call(Object.prototype,l)&&!r.allowPrototypes)return;c[c.length]=l}for(var d=0;r.depth>0&&null!==(s=o.exec(a))&&d<r.depth;){if(d+=1,!r.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;c[c.length]=s[1]}return s&&(c[c.length]="["+a.slice(s.index)+"]"),u(c,t,r,n)}},d=function(e){if(!e)return o;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?o.charset:e.charset;return{allowDots:void 0===e.allowDots?o.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:o.comma,decoder:"function"==typeof e.decoder?e.decoder:o.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:o.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:o.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling}};e.exports=function(e,t){var r=d(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var i="string"==typeof e?l(e,r):e,a=r.plainObjects?Object.create(null):{},o=Object.keys(i),s=0;s<o.length;++s){var u=o[s],f=c(u,i[u],r,"string"==typeof e);a=n.merge(a,f,r)}return n.compact(a)}},2340:(e,t,r)=>{"use strict";r.d(t,{V:()=>n});var n=(0,r(74180).createContext)(null)},2414: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}},t={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},r=>{switch(r.code){case"invalid_type":return`Ung\xfcltige Eingabe: erwartet ${r.expected}, erhalten ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"Zahl";case"object":if(Array.isArray(e))return"Array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;
1case"invalid_value":if(1===r.values.length)return`Ung\xfcltige Eingabe: erwartet ${o.stringifyPrimitive(r.values[0])}`;return`Ung\xfcltige Option: erwartet eine von ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Zu gro\xdf: erwartet, dass ${r.origin??"Wert"} ${t}${r.maximum.toString()} ${n.unit??"Elemente"} hat`;return`Zu gro\xdf: erwartet, dass ${r.origin??"Wert"} ${t}${r.maximum.toString()} ist`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Zu klein: erwartet, dass ${r.origin} ${t}${r.minimum.toString()} ${n.unit} hat`;return`Zu klein: erwartet, dass ${r.origin} ${t}${r.minimum.toString()} ist`}case"invalid_format":if("starts_with"===r.format)return`Ung\xfcltiger String: muss mit "${r.prefix}" beginnen`;if("ends_with"===r.format)return`Ung\xfcltiger String: muss mit "${r.suffix}" enden`;if("includes"===r.format)return`Ung\xfcltiger String: muss "${r.includes}" enthalten`;if("regex"===r.format)return`Ung\xfcltiger String: muss dem Muster ${r.pattern} entsprechen`;return`Ung\xfcltig: ${t[r.format]??r.format}`;case"not_multiple_of":return`Ung\xfcltige Zahl: muss ein Vielfaches von ${r.divisor} sein`;case"unrecognized_keys":return`${r.keys.length>1?"Unbekannte Schl\xfcssel":"Unbekannter Schl\xfcssel"}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Ung\xfcltiger Schl\xfcssel in ${r.origin}`;case"invalid_union":default:return"Ung\xfcltige Eingabe";case"invalid_element":return`Ung\xfcltiger Wert in ${r.origin}`}})}};let o=a(r(3947))},2742:(e,t,r)=>{"use strict";let n=r(12240),i=r(40923),a=r(59096),o=r(88509),s=r(896),l=r(53940),u=r(42674),c=r(38943);r(10576);new WeakMap;(0,o.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`draftMode()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E835",enumerable:!1,configurable:!0})})},3083:(e,t,r)=>{"use strict";r.d(t,{FU:()=>c,S8:()=>p,ef:()=>m,sn:()=>d});var n=r(17088),i=r(97208);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){return(o=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 s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){var n;return(n=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(n)?n:String(n))in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"},d={highlightPreTag:"<mark>",highlightPostTag:"</mark>"};function f(e){return(0,n.i)(e).replace(RegExp(c.highlightPreTag,"g"),d.highlightPreTag).replace(RegExp(c.highlightPostTag,"g"),d.highlightPostTag)}function h(e){return(0,i.Q)(e)&&"string"!=typeof e.value?Object.keys(e).reduce(function(t,r){return l(l({},t),{},u({},r,h(e[r])))},{}):Array.isArray(e)?e.map(h):l(l({},e),{},{value:f(e.value)})}function p(e){return void 0===e.__escaped&&((e=e.map(function(e){var t=o({},(function(e){if(null==e)throw TypeError("Cannot destructure "+e)}(e),e));return t._highlightResult&&(t._highlightResult=h(t._highlightResult)),t._snippetResult&&(t._snippetResult=h(t._snippetResult)),t})).__escaped=!0),e}function m(e){return e.map(function(e){return l(l({},e),{},{highlighted:f(e.highlighted)})})}},3466:(e,t,r)=>{"use strict";var n=r(22872),i=r(68365),a=r(4116).escapeFacetValue,o=r(49903),s=r(84961),l=r(77748),u=r(54094),c=r(98846),d=r(43118),f=r(49237),h=r(33866),p=r(64194),m=r(34692),g=r(98267);function y(e,t,r,n){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+g+")"),this.setClient(e);var i=r||{};i.index=t,this.state=h.make(i),this.recommendState=new c({params:i.recommendState}),this.lastResults=null,this.lastRecommendResults=null,this._queryId=0,this._recommendQueryId=0,this._lastQueryIdReceived=-1,this._lastRecommendQueryId
1Received=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._currentNbRecommendQueries=0,this._searchResultsOptions=n,this._recommendCache={}}function v(e){if(e<0)throw Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function b(){return this.state.page}o(y,n),y.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},y.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},y.prototype.searchWithComposition=function(){return this._runComposition({onlyWithDerivedHelpers:!0}),this},y.prototype.recommend=function(){return this._recommend(),this},y.prototype.getQuery=function(){var e=this.state;return f._getHitsSearchParams(e)},y.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,n=f._getQueries(r.index,r),i=this;return(this._currentNbQueries++,this.emit("searchOnce",{state:r}),t)?void this.client.search(n).then(function(e){i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),t(null,new p(r,e.results),r)}).catch(function(e){i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),t(e,null,r)}):this.client.search(n).then(function(e){return i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),{content:new p(r,e.results),state:r,_originalResponse:e}},function(e){throw i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),e})},y.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var t=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var n=r.getModifiedState(t),i=s({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:u(f._getHitsSearchParams(n),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),a="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw Error(a);var o=this.client.initIndex(n.index);if("function"!=typeof o.findAnswers)throw Error(a);return o.findAnswers(n.query,e.queryLanguages,i)},y.prototype.searchForFacetValues=function(e,t,r,n){var i,o="function"==typeof this.client.searchForFacetValues&&"function"!=typeof this.client.searchForFacets,s="function"==typeof this.client.initIndex;if(!o&&!s&&"function"!=typeof this.client.search)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var l=this.state.setQueryParameters(n||{}),u=l.isDisjunctiveFacet(e),c=f.getSearchForFacetQuery(e,t,r,l);this._currentNbQueries++;var d=this;return o?i=this.client.searchForFacetValues([{indexName:l.index,params:c}]):s?i=this.client.initIndex(l.index).searchForFacetValues(c):(delete c.facetName,i=this.client.search([{type:"facet",facet:e,indexName:l.index,params:c}]).then(function(e){return e.results[0]})),this.emit("searchForFacetValues",{state:l,facet:e,query:t}),i.then(function(t){return d._currentNbQueries--,0===d._currentNbQueries&&d.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach(function(t){t.escapedValue=a(t.value),t.isRefined=u?l.isDisjunctiveFacetRefined(e,t.escapedValue):l.isFacetRefined(e,t.escapedValue)}),t},function(e){throw d._currentNbQueries--,0===d._currentNbQueries&&d.emit("searchQueueEmpty"),e})},y.prototype.searchForCompositionFacetValues=function(e,t,r,n){if("function"!=typeof this.client.searchForFacetValues)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues");var i,o=this.state.setQueryParameters(n||{}),s=o.isDisjunctiveFacet(e);this._currentNbQueries++;var l=this;return i=this.client.searchForFacetValues({compositionID:o.index,facetName:e,searchForFacetValuesRequest:{params:{query:t,maxFacetHits:r,searchQuery:f._getCompositionHitsSearchParams(o)}}}),this.emit("searchForFacetValues",{state:o,facet:e,query:t}),i.then(function(t){return l._currentNbQueries--,0===l._currentNbQueries&&l.emit("searchQueueEmpty"),(t=t.results[0]).facetHits.forEac
vendor: 8,395 bytes, line 1
1h(function(t){t.escapedValue=a(t.value),t.isRefined=s?o.isDisjunctiveFacetRefined(e,t.escapedValue):o.isFacetRefined(e,t.escapedValue)}),t},function(e){throw l._currentNbQueries--,0===l._currentNbQueries&&l.emit("searchQueueEmpty"),e})},y.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},y.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},y.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},y.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},y.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},y.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},y.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},y.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},y.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},y.prototype.addFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.addFrequentlyBoughtTogether(e)}),this},y.prototype.addRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.addRelatedProducts(e)}),this},y.prototype.addTrendingItems=function(e){return this._recommendChange({state:this.recommendState.addTrendingItems(e)}),this},y.prototype.addTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.addTrendingFacets(e)}),this},y.prototype.addLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.addLookingSimilar(e)}),this},y.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},y.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},y.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},y.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},y.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},y.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},y.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},y.prototype.removeFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},y.prototype.removeRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},y.prototype.removeTrendingItems=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},y.prototype.removeTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},y.prototype.removeLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},y.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},y.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},y.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},y.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},y.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},y.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},y.prototype.setCurrentPage=v,y.prototype.setPage=v,y.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},y.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},y.prototype.setState=function(e){return this._change({state:h.make(e),isPageReset:!1}),this},y.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new h(e),this},y.prototype.hasRefinements=function(e){return!!l(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},y.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},y.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},y.prototype.hasTag=function(e){return this.state.isTagRefined(e)},y.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},y.prototype.getIndex=function(){return this.state.index},y.prototype.getCurrentPage=b,y.prototype.getPage=b,y.prototype.getTags=function(){return this.state.tagRefinements},y.prototype.getRefinements=function(e){var t=[];this.state.isConjunctiveFacet(e)?(this.state.getConjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"conjunctive"})}),this.state.getExcludeRefinements(e).forEach(function(e){t.push({value:e,type:"exclude"})})):this.state.isDisjunctiveFacet(e)&&this.state.getDisjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"disjunctive"})});var r=this.state.getNumericRefinements(e);return Object.keys(r).forEach(function(e){var n=r[e];t.push({value:n,operator:e,type:"numeric"})}),t},y.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},y.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},y.prototype._search=function(e){var t=this.state,r=[],n=[];e.onlyWithDerivedHelpers||(n=f._getQueries(t.index,t),r.push({state:t,queriesCount:n.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var i=this.derivedHelpers.map(function(e){var n=e.getModifiedState(t),i=n.index?f._getQueries(n.index,n):[];return r.push({state:n,queriesCount:i.length,helper:e}),e.emit("search",{state:n,results:e.lastResults}),i}),a=Array.prototype.concat.apply(n,i),o=this._queryId++;if(this._currentNbQueries++,!a.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,r,o));try{this.client.search(a).then(this._dispatchAlgoliaResponse.bind(this,r,o)).catch(this._dispatchAlgoliaError.bind(this,o))}catch(e){this.emit("error",{error:e})}},y.prototype._runComposition=function(){var e=this.state,t=[],r=this.derivedHelpers.map(function(r){var n=r.getModifiedState(e),i=f._getCompositionQueries(n);return t.push({state:n,queriesCount:i.length,helper:r}),r.emit("search",{state:n,results:r.lastResults}),i}),n=Array.prototype.concat.apply([],r),i=this._queryId++;if(this._currentNbQueries++,!n.length)return Promise.resolve({results:[]}
1).then(this._dispatchAlgoliaResponse.bind(this,t,i));if(n.length>1)throw Error("Only one query is allowed when using a composition.");var a=n[0];try{this.client.search(a).then(this._dispatchAlgoliaResponse.bind(this,t,i)).catch(this._dispatchAlgoliaError.bind(this,i))}catch(e){this.emit("error",{error:e})}},y.prototype._recommend=function(){var e=this.state,t=this.recommendState,r=this.getIndex(),n=[{state:t,index:r,helper:this}],i=t.params.map(function(e){return e.$$id});this.emit("fetch",{recommend:{state:t,results:this.lastRecommendResults}});var a=this._recommendCache,o=this.derivedHelpers.map(function(t){var r=t.getModifiedState(e).index;if(!r)return[];var o=t.getModifiedRecommendState(new c);return n.push({state:o,index:r,helper:t}),i=Array.prototype.concat.apply(i,o.params.map(function(e){return e.$$id})),t.emit("fetch",{recommend:{state:o,results:t.lastRecommendResults}}),o._buildQueries(r,a)}),s=Array.prototype.concat.apply(this.recommendState._buildQueries(r,a),o);if(0!==s.length){if(s.length>0&&void 0===this.client.getRecommendations)return void console.warn("Please update algoliasearch/lite to the latest version in order to use recommend widgets.");var l=this._recommendQueryId++;this._currentNbRecommendQueries++;try{this.client.getRecommendations(s).then(this._dispatchRecommendResponse.bind(this,l,n,i)).catch(this._dispatchRecommendError.bind(this,l))}catch(e){this.emit("error",{error:e})}}},y.prototype._dispatchAlgoliaResponse=function(e,t,r){var n=this;if(!(t<this._lastQueryIdReceived)){this._currentNbQueries-=t-this._lastQueryIdReceived,this._lastQueryIdReceived=t,0===this._currentNbQueries&&this.emit("searchQueueEmpty");var i=r.results.slice();e.forEach(function(e){var t=e.state,r=e.queriesCount,a=e.helper,o=i.splice(0,r);t.index?(a.lastResults=new p(t,o,n._searchResultsOptions),a.emit("result",{results:a.lastResults,state:t})):a.emit("result",{results:null,state:t})})}},y.prototype._dispatchRecommendResponse=function(e,t,r,n){if(!(e<this._lastRecommendQueryIdReceived)){this._currentNbRecommendQueries-=e-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=e,0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty");var i=this._recommendCache,a={};r.filter(function(e){return void 0===i[e]}).forEach(function(e,t){a[e]||(a[e]=[]),a[e].push(t)}),Object.keys(a).forEach(function(e){var t=a[e],r=n.results[t[0]];if(1===t.length){i[e]=r;return}i[e]=Object.assign({},r,{hits:m(t.map(function(e){return n.results[e].hits}))})});var o={};r.forEach(function(e){o[e]=i[e]}),t.forEach(function(e){var t=e.state,r=e.helper;e.index?(r.lastRecommendResults=new d(t,o),r.emit("recommend:result",{recommend:{results:r.lastRecommendResults,state:t}})):r.emit("recommend:result",{results:null,state:t})})}},y.prototype._dispatchAlgoliaError=function(e,t){e<this._lastQueryIdReceived||(this._currentNbQueries-=e-this._lastQueryIdReceived,this._lastQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbQueries&&this.emit("searchQueueEmpty"))},y.prototype._dispatchRecommendError=function(e,t){e<this._lastRecommendQueryIdReceived||(this._currentNbRecommendQueries-=e-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty"))},y.prototype.containsRefinement=function(e,t,r,n){return e||0!==t.length||0!==r.length||0!==n.length},y.prototype._hasDisjunctiveRefinements=function(e){return this.state.disjunctiveRefinements[e]&&this.state.disjunctiveRefinements[e].length>0},y.prototype._change=function(e){var t=e.state,r=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))},y.prototype._recommendChange=function(e){var t=e.state;t!==this.recommendState&&(this.recommendState=t,this.emit("recommend:change",{search:{results:this.lastResults,state:this.state},recommend:{results:this.lastRecommendResults,state:this.recommendState}}))},y.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},y.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+g+")"),this.client=e),this},y.prototype.getClient=function(){return this.client},y.prototype.derive=function(e,t){var r=new i(this,e,t);return this.derivedHelpers.push(r),r},y.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},y.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=y},3861:(e,t,r)=>{e.exports="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g},3864:(e,t,r)=>{var n=r(49528),i=r(44169),a=r(46187),o=Math.max,s=Math.min;e.exports=function(e,t,r){var l,u,c,d,f,h,p=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var r=l,n=u;return l=u=void 0,p=t,d=e.apply(n,r)}function b(e){var r=e-h,n=e-p;return void 0===h||r>=t||r<0||g&&n>=c}
1function E(){var e,r,n,a=i();if(b(a))return _(a);f=setTimeout(E,(e=a-h,r=a-p,n=t-e,g?s(n,c-r):n))}function _(e){return(f=void 0,y&&l)?v(e):(l=u=void 0,d)}function S(){var e,r=i(),n=b(r);if(l=arguments,u=this,h=r,n){if(void 0===f)return p=e=h,f=setTimeout(E,t),m?v(e):d;if(g)return clearTimeout(f),f=setTimeout(E,t),v(h)}return void 0===f&&(f=setTimeout(E,t)),d}return t=a(t)||0,n(r)&&(m=!!r.leading,c=(g="maxWait"in r)?o(a(r.maxWait)||0,t):c,y="trailing"in r?!!r.trailing:y),S.cancel=function(){void 0!==f&&clearTimeout(f),p=0,l=h=u=f=void 0},S.flush=function(){return void 0===f?d:_(i())},S}},3947:(e,t)=>{"use strict";function r(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function n(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function i(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function a(e){if(!1===i(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!1!==i(r)&&!1!==Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")}function o(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function s(e){return"bigint"==typeof e?e.toString()+"n":"string"==typeof e?`"${e}"`:`${e}`}function l(e){return"string"==typeof e?e:e?.message}Object.defineProperty(t,"__esModule",{value:!0}),t.Class=t.BIGINT_FORMAT_RANGES=t.NUMBER_FORMAT_RANGES=t.primitiveTypes=t.propertyKeyTypes=t.getParsedType=t.allowsEval=t.captureStackTrace=void 0,t.assertEqual=function(e){return e},t.assertNotEqual=function(e){return e},t.assertIs=function(e){},t.assertNever=function(e){throw Error()},t.assert=function(e){},t.getEnumValues=function(e){let t=Object.values(e).filter(e=>"number"==typeof e);return Object.entries(e).filter(([e,r])=>-1===t.indexOf(+e)).map(([e,t])=>t)},t.joinValues=function(e,t="|"){return e.map(e=>s(e)).join(t)},t.jsonStringifyReplacer=function(e,t){return"bigint"==typeof t?t.toString():t},t.cached=r,t.nullish=function(e){return null==e},t.cleanRegex=function(e){let t=+!!e.startsWith("^"),r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)},t.floatSafeRemainder=function(e,t){let r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i},t.defineLazy=function(e,t,r){Object.defineProperty(e,t,{get(){{let n=r();return e[t]=n,n}},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})},t.assignProp=n,t.getElementAtPath=function(e,t){return t?t.reduce((e,t)=>e?.[t],e):e},t.promiseAllObject=function(e){let t=Object.keys(e);return Promise.all(t.map(t=>e[t])).then(e=>{let r={};for(let n=0;n<t.length;n++)r[t[n]]=e[n];return r})},t.randomString=function(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let n=0;n<e;n++)r+=t[Math.floor(Math.random()*t.length)];return r},t.esc=function(e){return JSON.stringify(e)},t.isObject=i,t.isPlainObject=a,t.numKeys=function(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t},t.escapeRegex=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},t.clone=o,t.normalizeParams=function(e){if(!e)return{};if("string"==typeof e)return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");e.error=e.message}return(delete e.message,"string"==typeof e.error)?{...e,error:()=>e.error}:e},t.createTransparentProxy=function(e){let t;return new Proxy({},{get:(r,n,i)=>(t??(t=e()),Reflect.get(t,n,i)),set:(r,n,i,a)=>(t??(t=e()),Reflect.set(t,n,i,a)),has:(r,n)=>(t??(t=e()),Reflect.has(t,n)),deleteProperty:(r,n)=>(t??(t=e()),Reflect.deleteProperty(t,n)),ownKeys:r=>(t??(t=e()),Reflect.ownKeys(t)),getOwnPropertyDescriptor:(r,n)=>(t??(t=e()),Reflect.getOwnPropertyDescriptor(t,n)),defineProperty:(r,n,i)=>(t??(t=e()),Reflect.defineProperty(t,n,i))})},t.stringifyPrimitive=s,t.optionalKeys=function(e){return Object.keys(e).filter(t=>"optional"===e[t]._zod.optin&&"optional"===e[t]._zod.optout)},t.pick=function(e,t){let r={},n=e._zod.def;for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&(r[e]=n.shape[e])}return o(e,{...e._zod.def,shape:r,checks:[]})},t.omit=function(e,t){let r={...e._zod.def.shape},n=e._zod.def;for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return o(e,{...e._zod.def,shape:r,checks:[]})},t.extend=function(e,t){if(!a(t))throw Error("Invalid input to extend: expected a plain object");let r={...e._zod.def,get shape(){let r={...e._zod.def.shape,...t};return n(this,"shape",r),r},checks:[]};return o(e,r)},t.merge=function(e,t){return o(e,{...e._zod.def,get shape(){let r={...e._zod.def.shape,...t._zod.def.shape};return n(this,"shape",r),r},catchall:t._zod.def.catchall,checks:[]})},t.partial=function(e,t,r){let n=t._zod.def.shape,i={...n};if(r)for(let t in r){if(!(t in n))throw Error(`Unrecognized key: "${t}"`);r[t]&&(i[t]=e?new e({type:"optional",innerType:n[t]}):n[t])}else for(let t in n)i[t]=e?new e({type:"optional",innerType:n[t]}):n[t];return o(t,{...t._zod.def,shape:i,checks:[]})},t.required=function(e,t,r){let n=t._zod.def.shape,i={...n};if(r)for(let t in r){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);r[t]&&(i[t]=new e({type:"nonoptional",innerType:n[t]}))}else for(let t in n)i[t]=new e({type:"nonoptional",innerType:n[t]});return o(t,{...t._zod.def,shape:i,checks:[]})},t.aborted=function(e,t=0){for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1},t.prefixIssues=function(e,t){return t.map(t=>(t.path??(t.path=[]),t.path.unshift(e),t))},t.unwrapMessage=l,t.finalizeIssue=function(e,t,r){let n={...e,path:e.path??[]};return e.message||(n.message=l(e.inst?._zod.def?.error?.(e))??l(t?.error?.(e))??l(r.customError?.(e))??l(r.localeError?.(e))??"Invalid input"),delete n.inst,delete n.continue,t?.reportInput||delete n.input,n},t.getSizableOrigin=function(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"},t.getLengthableOrigin=function(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"},t.issue=function(...e){let[t,r,n]=e;return"string"==typeof t?{message:t,code:"custom",input:r,inst:n}:{...t}},t.cleanEnum=function(e){return Object.entries(e).filter(([e,t])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])},t.captureStackTrace=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{},t.allowsEval=r(()=>{if("u">typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch(e){return!1}}),t.getParsedType=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return"promise";if("u">typeof Map&&e instanceof Map)return"map";if("u">typeof Set&&e instanceof Set)return"set";if("u">typeof Date&&e instanceof Date)return"date";if("u">typeof File&&e instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${t}`)}},t.propertyKeyTypes=new Set(["string","number","symbol"]),t.primitiveTypes=new Set(["string","number","bigint","boolean","symbol","undefined"]),t.NUMBER_FORMAT_RANGES={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-0x80000000,0x7fffffff],uint32:[0,0xffffffff],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},t.BIGINT_FORMAT_RANGES={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};class u{constructor(...e){}}t.Class=u},4116:e=>{"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},4199:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4574:(e,t,r)=>{"use strict";function n(e,t){for(var r,n=0;n<e.length;n++)if(t(r=e[n],n,e))return r}r.d(t,{I:()=>n})},4685:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InvariantError",{enumerable:!0,get:function(){return r}});class r extends Error{constructor(e,t){super(`Invariant: ${e.endsWith(".")?e:e+"."} This is a bug in Next.js.`,t),this.name="InvariantError"}}},4975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i={RenderStage:function(){return l},StagedRenderingController:function(){return u}};for(var a in i)Object.defineProperty(t,a,{enumerable:!0,get:i[a]});let o=r(42674),s=r(66273);var l=((n={})[n.Before=1]="Before",n[n.EarlyStatic=2]="EarlyStatic",n[n.Static=3]="Static",n[n.EarlyRuntime=4]="EarlyRuntime",n[n.Runtime=5]="Runtime",n[n.Dynamic=6]="Dynamic",n[n.Abandoned=7]="Abandoned",n);class u{constructor(e,t,r){this.abortSignal=e,this.abandonController=t,this.shouldTrackSyncIO=r,this.currentStage=1,this.syncInterruptReason=null,this.staticStageEndTime=1/0,this.runtimeStageEndTime=1/0,this.staticStageListeners=[],this.earlyRuntimeStageListeners=[],this.runtimeStageListeners=[],this.dynamicStageListeners=[],this.staticStagePromise=(0,s.createPromiseWithResolvers)(),this.earlyRuntimeStagePromise=(0,s.createPromiseWithResolvers)(),this.runtimeStagePromise=(0,s.createPromiseWithResolvers)(),this.dynamicStagePromise=(0,s.createPromiseWithResolvers)(),e&&e.addEventListener("abort",()=>{let{reason:t}=e;this.staticStagePromise.promise.catch(c),this.staticStagePromise.reject(t),this.earlyRuntimeStagePromise.promise.catch(c),this.earlyRuntimeStagePromise.reject(t),this.runtimeStagePromise.promise.catch(c),this.runtimeStagePromise.reject(t),this.dynamicStagePromise.promise.catch(c),this.dynamicStagePromise.reject(t)},{once:!0}),t&&t.signal.addEventListener("abort",()=>{this.abandonRender()},{once:!0})}onStage(e,t){if(this.currentStage>=e)t();else if(3===e)this.staticStageListeners.push(t);else if(4===e)this.earlyRuntimeStageListeners.push(t);else if(5===e)this.runtimeStageListeners.push(t);else if(6===e)this.dynamicStageListeners.push(t);else throw Object.defineProperty(new o.InvariantError(`Invalid render stage: ${e}`),"__NEXT_ERROR_CODE",{value:"E881",enumerable:!1,configurable:!0})}shouldTrackSyncInterrupt(){if(!this.shouldTrackSyncIO)return!1;switch(this.currentStage){case 1:case 5:case 6:case 7:default:return!1;case 2:case 3:case 4:return!0}}syncInterruptCurrentStageWithReason(e){if(1!==this.currentStage&&7!==this.currentStage){if(this.abandonController)return void this.abandonController.abort();if(this.abortSignal){this.syncInterruptReason=e,this.currentStage=7;return}switch(this.currentStage){case 2:case 3:case 4:this.syncInterruptReason=e,this.advanceStage(6);return;case 5:return}}}getSyncInterruptReason(){return this.syncInterruptReason}getStaticStageEndTime(){return this.staticStageEndTime}getRuntimeStageEndTime(){return this.runtimeStageEndTime}abandonRender(){let{currentStage:e}=this;switch(e){case 2:this.resolveStaticStage();case 3:this.resolveEarlyRuntimeStage();case 4:this.resolveRuntimeStage();case 5:this.currentStage=7;return}}advanceStage(e){if(e<=this.currentStage)return;let t=this.currentStage;if(this.currentStage=e,t<3&&e>=3&&this.resolveStaticStage(),t<4&&e>=4&&this.resolveEarlyRuntimeStage(),t<5&&e>=5&&(this.staticStageEndTime=performance.now()+performance.timeOrigin,this.resolveRuntimeStage()),t<6&&e>=6){this.runtimeStageEndTime=performance.now()+performance.timeOrigin,this.resolveDynamicStage();return}}resolveStaticStage(){let e=this.staticStageListeners;for(let t=0;t<e.length;t++)e[t]();e.length=0,this.staticStagePromise.resolve()}resolveEarlyRuntimeStage(){let e=this.earlyRuntimeStageListeners;for(let t=0;t<e.length;t++)e[t]();e.length=0,this.earlyRuntimeStagePromise.resolve()}resolveRuntimeStage(){let e=this.runtimeStageListeners;for(let t=0;t<e.length;t++)e[t]();e.length=0,this.runtimeStagePromise.resolve()}resolveDynamicStage(){let e=this.dynamicStageListeners;for(let t=0;t<e.length;t++)e[t]();e.length=0,this.dynamicStagePromise.resolve()}getStagePromise(e){switch(e){case 3:return this.staticStagePromise.promise;case 4:return this.earlyRuntimeStagePromise.promise;case 5:return this.runtimeStagePromise.promise;case 6:return this.dynamicStagePromise.promise;default:throw Object.defineProperty(new o.InvariantError(`Invalid render stage: ${e}
1`),"__NEXT_ERROR_CODE",{value:"E881",enumerable:!1,configurable:!0})}}waitForStage(e){return this.getStagePromise(e)}delayUntilStage(e,t,r){var n,i,a;let o,s=(n=this.getStagePromise(e),i=t,a=r,o=new Promise((e,t)=>{n.then(e.bind(null,a),t)}),void 0!==i&&(o.displayName=i),o);return this.abortSignal&&s.catch(c),s}}function c(){}},5037:(e,t,r)=>{"use strict";r.d(t,{w:()=>ef});var n={};r.r(n),r.d(n,{abtestingClient:()=>R,apiClientVersion:()=>I});var i={};r.r(i),r.d(i,{analyticsClient:()=>j,apiClientVersion:()=>D});var a={};r.r(a),r.d(a,{apiClientVersion:()=>M,insightsClient:()=>$});var o={};r.r(o),r.d(o,{apiClientVersion:()=>U,personalizationClient:()=>B});var s={};r.r(s),r.d(s,{apiClientVersion:()=>z,querySuggestionsClient:()=>q});var l={};r.r(l),r.d(l,{apiClientVersion:()=>G,searchClient:()=>W});var u={};r.r(u),r.d(u,{apiClientVersion:()=>V,ingestionClient:()=>Q,isOnDemandTrigger:()=>Z,isScheduleTrigger:()=>K,isSubscriptionTrigger:()=>X});var c={};r.r(c),r.d(c,{apiClientVersion:()=>J,monitoringClient:()=>ee});var d={};function f(){return{send:function(e){return new Promise(t=>{let r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>r.setRequestHeader(t,e.headers[t]));let n=(e,n)=>setTimeout(()=>{r.abort(),t({status:0,content:n,isTimedOut:!0})},e),i=n(e.connectTimeout,"Connection timeout"),a;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===a&&(clearTimeout(i),a=n(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(i),clearTimeout(a),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(i),clearTimeout(a),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}}}function h(e){let t,r=`algolia-client-js-${e.key}`;function n(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function i(){return JSON.parse(n().getItem(r)||"{}")}function a(e){n().setItem(r,JSON.stringify(e))}return{get:(t,r,n={miss:()=>Promise.resolve()})=>Promise.resolve().then(()=>{let r,n;return r=e.timeToLive?1e3*e.timeToLive:null,a(n=Object.fromEntries(Object.entries(i()).filter(([,e])=>void 0!==e.timestamp))),r&&a(Object.fromEntries(Object.entries(n).filter(([,e])=>{let t=new Date().getTime();return!(e.timestamp+r<t)}))),i()[JSON.stringify(t)]}).then(e=>Promise.all([e?e.value:r(),void 0!==e])).then(([e,t])=>Promise.all([e,t||n.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve().then(()=>{let a=i();return a[JSON.stringify(e)]={timestamp:new Date().getTime(),value:t},n().setItem(r,JSON.stringify(a)),t}),delete:e=>Promise.resolve().then(()=>{let t=i();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}),clear:()=>Promise.resolve().then(()=>{n().removeItem(r)})}}function p(e){let t=[...e.caches],r=t.shift();return void 0===r?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,r.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(e,n,i={miss:()=>Promise.resolve()})=>r.get(e,n,i).catch(()=>p({caches:t}).get(e,n,i)),set:(e,n)=>r.set(e,n).catch(()=>p({caches:t}).set(e,n)),delete:e=>r.delete(e).catch(()=>p({caches:t}).delete(e)),clear:()=>r.clear().catch(()=>p({caches:t}).clear())}}function m(e={serializable:!0}){let t={};return{get(r,n,i={miss:()=>Promise.resolve()}){let a=JSON.stringify(r);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);let o=n();return o.then(e=>i.miss(e)).then(()=>o)},set:(r,n)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function g(e,t,r="WithinHeaders"){let n={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?n:{},queryParameters:()=>"WithinQueryParameters"===r?n:{}}}function y({func:e,validate:t,aggregator:r,error:n,timeout:i=()=>0}){let a=o=>new Promise((s,l)=>{e(o).then(async e=>(r&&await r(e),await t(e))?s(e):n&&await n.validate(e)?l(Error(await n.message(e))):setTimeout(()=>{a(e).then(s).catch(l)},await i())).catch(e=>{l(e)})});return a()}
1function v({algoliaAgents:e,client:t,version:r}){let n,i=(n={value:`Algolia for JavaScript (${r})`,add(e){let t=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return -1===n.value.indexOf(t)&&(n.value=`${n.value}${t}`),n}}).add({segment:t,version:r});return e.forEach(e=>i.add(e)),i}function b(){return{debug:(e,t)=>Promise.resolve(),info:(e,t)=>Promise.resolve(),error:(e,t)=>Promise.resolve()}}function E(e,t="up"){let r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>12e4},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=12e4}}}r.r(d),r.d(d,{apiClientVersion:()=>et,recommendClient:()=>er});var _=class extends Error{name="AlgoliaError";constructor(e,t){super(e),t&&(this.name=t)}},S=class extends _{stackTrace;constructor(e,t,r){super(e,r),this.stackTrace=t}},w=class extends S{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",e,"RetryError")}},T=class extends S{status;constructor(e,t,r,n="ApiError"){super(e,r,n),this.status=t}},O=class extends _{response;constructor(e,t){super(e,"DeserializationError"),this.response=t}},x=class extends T{error;constructor(e,t,r,n){super(e,t,n,"DetailedApiError"),this.error=r}};function P(e){for(let t=e.length-1;t>0;t--){let r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}function A(e){let t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}function k({hosts:e,hostsCache:t,baseHeaders:r,logger:n,baseQueryParameters:i,algoliaAgent:a,timeouts:o,requester:s,requestsCache:l,responsesCache:u}){async function c(e){let r=await Promise.all(e.map(e=>t.get(e,()=>Promise.resolve(E(e))))),n=r.filter(e=>e.isUp()),i=r.filter(e=>e.isTimedOut()),a=[...n,...i];return{hosts:a.length>0?a:e,getTimeout:(e,t)=>(0===i.length&&0===e?1:i.length+3+e)*t}}async function d(l,u,f=!0){var h,p;let m,g,y=[],v=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data))return JSON.stringify(Array.isArray(e.data)?e.data:{...e.data,...t.data})}(l,u),b=(h=l.headers,p=u.headers,m={Accept:"application/json",...r,...h,...p},g={},Object.keys(m).forEach(e=>{let t=m[e];g[e.toLowerCase()]=t}),g),_="GET"===l.method?{...l.data,...u.data}:{},S={...i,...l.queryParameters,..._};if(a.value&&(S["x-algolia-agent"]=a.value),u&&u.queryParameters)for(let e of Object.keys(u.queryParameters))u.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(u.queryParameters[e])?S[e]=u.queryParameters[e].toString():S[e]=u.queryParameters[e];let P=0,k=async(e,r)=>{var i,a;let c,d,h=e.pop();if(void 0===h)throw new w(y.map(e=>A(e)));let p={...o,...u.timeouts},m={data:v,headers:b,method:l.method,url:(a=l.path,c=Object.keys(i=S).filter(e=>void 0!==i[e]).sort().map(e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(i[e])?i[e].join(","):i[e]).replace(/\+/g,"%20")}`).join("&"),d=`${h.protocol}://${h.url}${h.port?`:${h.port}`:""}/${"/"===a.charAt(0)?a.substring(1):a}`,c.length&&(d+=`?${c}`),d),connectTimeout:r(P,p.connect),responseTimeout:r(P,f?p.read:p.write)},g=t=>{let r={request:m,response:t,host:h,triesLeft:e.length};return y.push(r),r},_=await s.send(m);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(_)){let i=g(_);return _.isTimedOut&&P++,n.info("Retryable failure",A(i)),await t.set(h,E(h,_.isTimedOut?"timed out":"down")),k(e,r)}if(function({status:e}){return 2==~~(e/100)}(_)){try{return JSON.parse(_.content)}catch(e){throw new O(e.message,_)}}throw g(_),function({content:e,status:t},r){try{let n=JSON.parse(e);if("error"in n)return new x(n.message,t,n.error,r);return new T(n.message,t,r)}catch{}return new T(e,t,r)}(_,y)},I=e.filter(e=>"readWrite"===e.accept||(f?"read"===e.accept:"write"===e.accept)),C=await c(I);return k([...C.hosts].reverse(),C.getTimeout)}return{hostsCache:t,requester:s,timeouts:o,logger:n,algoliaAgent:a,baseHeaders:r,baseQueryParameters:i,hosts:e,request:function(e,t={}){let n=e.useReadTransporter||"GET"===e.method;if(!n)return d(e,t,n);if(!0!==(t.cacheable||e.cacheable))return d(e,t);let a={request:e,requestOptions:t,transporter:{queryParameters:i,headers:r}};return u.get(a,()=>l.get(a,()=>l.set(a,d(e,t)).then(e=>Promise.all([l.delete(a),e]),e=>Promise.all([l.delete(a),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>u.set(a,e)})},requestsCache:l,responsesCache:u}}var I="5.27.0",C=["de","us"];function R(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!C.includes(r)))throw Error(`\`region\` must be one of the following: ${C.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...a}){let o=g(e,t,r),s=k({hosts:[{url:i?"analytics.{region}.algolia.com".replace("{region}",i):"analytics.algolia.com",accept:"readWrite",protocol:"https"}],...a,algoliaAgent:v({algoliaAgents:n,client:"Abtesting",version:I}),baseHeaders:{"content-type":"text/plain",...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},addABTests(e,t){if(!e)throw Error("Parameter `addABTestsRequest` is required when calling `addABTests`.");if(!e.name)throw Error("Parameter `addABTestsRequest.name` is required when calling `addABTests`.");if(!e.variants)throw Error("Parameter `addABTestsRequest.variants` is required when calling `addABTests`.");if(!e.endAt)throw Error("Parameter `addABTestsRequest.endAt` is required when calling `addABTests`.");return s.request({method:"POST",path:"/2/abtests",queryParameters:{},headers:{},data:e},t)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `deleteABTest`.");let r="/2/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},estimateABTest(e,t){if(!e)throw Error("Parameter `estimateABTestRequest` is required when calling `estimateABTest`.");if(!e.configuration)throw Error("Parameter `estimateABTestRequest.configuration` is required when calling `estimateABTest`.");if(!e.variants)throw Error("Parameter `estimateABTestRequest.variants` is required when calling `estimateABTest`.");return s.request({method:"POST",path:"/2/abtests/estimate",queryParameters:{},headers:{},data:e},t)},getABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `getABTest`.");let r="/2/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},listABTests({offset:e,limit:t,indexPrefix:r,indexSuffix:n}={},i){let a={};return void 0!==e&&(a.offset=e.toString()),void 0!==t&&(a.limit=t.toString()),void 0!==r&&(a.indexPrefix=r.toString()),void 0!==n&&(a.indexSuffix=n.toString()),s.request({method:"GET",path:"/2/abtests",queryParameters:a,headers:{}},i)},scheduleABTest(e,t){if(!e)throw Error("Parameter `scheduleABTestsRequest` is required when calling `scheduleABTest`.");if(!e.name)throw Error("Parameter `scheduleABTestsRequest.name` is required when calling `scheduleABTest`.");if(!e.variants)throw Error("Parameter `scheduleABTestsRequest.variants` is required when calling `scheduleABTest`.");if(!e.scheduledAt)throw Error("Parameter `scheduleABTestsRequest.scheduledAt` is required when calling `scheduleABTest`.");if(!e.endAt)throw Error("Parameter `scheduleABTestsRequest.endAt` is required when calling `scheduleABTest`.");return s.request({method:"POST",path:"/2/abtests/schedule",queryParameters:{},headers:{},data:e},t)},stopABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `stopABTest`.");let r="/2/abtests/{id}/stop".replace("{id}",encodeURIComponent(e));return s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:f(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[h({key:`${I}-${e}`}),m()]}),...n})}var D="5.27.0",N=["de","us"];function j(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!N.includes(r)))throw Error(`\`region\` must be one of the following: ${N.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...a}){let o=g(e,t,r),s=k({hosts:[{url:i?"analytics.{region}.algolia.com".replace("{region}",i):"analytics.algolia.com",accept:"readWrite",protocol:"https"}],...a,algoliaAgent:v({algoliaAgents:n,client:"Analytics",version:D}),baseHeaders:{"content-type":"text/plain",...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},getAddToCartRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getAddToCartRate`.");let a={};return void 0!==e&&(a.index=e.toString()),void 0!==t&&(a.startDate=t.toString()),void 0!==r&&(a.endDate=r.toString()),void 0!==n&&(a.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/addToCartRate",queryParameters:a,headers:{}},i)},getAverageClickPosition({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getAverageClickPosition`.");let a={};return void 0!==e&&(a.index=e.toString()),void 0!==t&&(a.startDate=t.toString()),void 0!==r&&(a.endDate=r.toString()),void 0!==n&&(a.tags=n.toString()),s.request({method:"GET",path:"/2/clicks/averageClickPosition",queryParameters:a,headers:{}},i)},getClickPositions({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getClickPositions`.");let a={};return void 0!==e&&(a.index=e.toString()),void 0!==t&&(a.startDate=t.toString()),void 0!==r&&(a.endDate=r.toString()),void 0!==n&&(a.tags=n.toString()),s.request({method:"GET",path:"/2/clicks/positions",queryParameters:a,headers:{}},i)},getClickThroughRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getClickThroughRate`.");let a={};return void 0!==e&&(a.index=e.toString()),void 0!==t&&(a.startDate=t.toString()),void 0!==r&&(a.endDate=r.toString()),void 0!==n&&(a.tags=n.toString()),s.request({method:"GET",path:"/2/clicks/clickThroughRate",queryParameters:a,headers:{}},i)},getConversionRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getConversionRate`.");let a={};return void 0!==e&&(a.index=e.toString()),void 0!==t&&(a.startDate=t.toString()),void 0!==r&&(a.endDate=r.toString()),void 0!==n&&(a.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/conversionRate",queryParameters:a,headers:{}},i)},getNoClickRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getNoClickRate`.");let a={};return void 0!==e&&(a.index=e.toString()),void 0!==t&&(a.startDate=t.toString()),void 0!==r&&(a.endDate=r.toString()),void 0!==n&&(a.tags=n.toString()),s.request({method:"GET",path:"/2/searches/noClickRate",queryParameters:a,headers:{}},i)},getNoResultsRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getNoResultsRate`.");let a={};return void 0!==e&&(a.index=e.toString()),void 0!==t&&(a.startDate=t.toString()),void 0!==r&&(a.endDate=r.toString()),void 0!==n&&(a.tags=n.toString()),s.request({method:"GET",path:"/2/searches/noResultRate",queryParameters:a,headers:{}},i)},getPurchaseRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getPurchaseRate`.");let a={};return void 0!==e&&(a.index=e.toString()),void 0!==t&&(a.startDate=t.toString()),void 0!==r&&(a.endDate=r.toString()),void 0!==n&&(a.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/purchaseRate",queryParameters:a,headers:{}},i)},getRevenue({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getRevenue`.");let a={};return void 0!==e&&(a.index=e.toString()),void 0!==t&&(a.startDate=t.toString()),void 0!==r&&(a.endDate=r.toString()),void 0!==n&&(a.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/revenue",queryParameters:a,headers:{}},i)},getSearchesCount({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getSearchesCount`.");let a={};return void 0!==e&&(a.index=e.toString()),void 0!==t&&(a.startDate=t.toString()),void 0!==r&&(a.endDate=r.toString()),void 0!==n&&(a.tags=n.toString()),s.request({method:"GET",path:"/2/searches/count",queryParameters:a,headers:{}},i)},getSearchesNoClicks({index:e,startDate:t,endDate:r,limit:n,offset:i,tags:a},o){if(!e)throw Error("Parameter `index` is required when calling `getSearchesNoClicks`.");let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==i&&(l.offset=i.toString()),void 0!==a&&(l.tags=a.toString()),s.request({method:"GET",path:"/2/searches/noClicks",queryParameters:l,headers:{}},o)},getSearchesNoResults({index:e,startDate:t,endDate:r,limit:n,offset:i,tags:a},o){if(!e)throw Error("Parameter `index` is required when calling `getSearchesNoResults`.");let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==i&&(l.offse
1t=i.toString()),void 0!==a&&(l.tags=a.toString()),s.request({method:"GET",path:"/2/searches/noResults",queryParameters:l,headers:{}},o)},getStatus({index:e},t){if(!e)throw Error("Parameter `index` is required when calling `getStatus`.");let r={};return void 0!==e&&(r.index=e.toString()),s.request({method:"GET",path:"/2/status",queryParameters:r,headers:{}},t)},getTopCountries({index:e,startDate:t,endDate:r,limit:n,offset:i,tags:a},o){if(!e)throw Error("Parameter `index` is required when calling `getTopCountries`.");let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==i&&(l.offset=i.toString()),void 0!==a&&(l.tags=a.toString()),s.request({method:"GET",path:"/2/countries",queryParameters:l,headers:{}},o)},getTopFilterAttributes({index:e,search:t,startDate:r,endDate:n,limit:i,offset:a,tags:o},l){if(!e)throw Error("Parameter `index` is required when calling `getTopFilterAttributes`.");let u={};return void 0!==e&&(u.index=e.toString()),void 0!==t&&(u.search=t.toString()),void 0!==r&&(u.startDate=r.toString()),void 0!==n&&(u.endDate=n.toString()),void 0!==i&&(u.limit=i.toString()),void 0!==a&&(u.offset=a.toString()),void 0!==o&&(u.tags=o.toString()),s.request({method:"GET",path:"/2/filters",queryParameters:u,headers:{}},l)},getTopFilterForAttribute({attribute:e,index:t,search:r,startDate:n,endDate:i,limit:a,offset:o,tags:l},u){if(!e)throw Error("Parameter `attribute` is required when calling `getTopFilterForAttribute`.");if(!t)throw Error("Parameter `index` is required when calling `getTopFilterForAttribute`.");let c="/2/filters/{attribute}".replace("{attribute}",encodeURIComponent(e)),d={};return void 0!==t&&(d.index=t.toString()),void 0!==r&&(d.search=r.toString()),void 0!==n&&(d.startDate=n.toString()),void 0!==i&&(d.endDate=i.toString()),void 0!==a&&(d.limit=a.toString()),void 0!==o&&(d.offset=o.toString()),void 0!==l&&(d.tags=l.toString()),s.request({method:"GET",path:c,queryParameters:d,headers:{}},u)},getTopFiltersNoResults({index:e,search:t,startDate:r,endDate:n,limit:i,offset:a,tags:o},l){if(!e)throw Error("Parameter `index` is required when calling `getTopFiltersNoResults`.");let u={};return void 0!==e&&(u.index=e.toString()),void 0!==t&&(u.search=t.toString()),void 0!==r&&(u.startDate=r.toString()),void 0!==n&&(u.endDate=n.toString()),void 0!==i&&(u.limit=i.toString()),void 0!==a&&(u.offset=a.toString()),void 0!==o&&(u.tags=o.toString()),s.request({method:"GET",path:"/2/filters/noResults",queryParameters:u,headers:{}},l)},getTopHits({index:e,search:t,clickAnalytics:r,revenueAnalytics:n,startDate:i,endDate:a,limit:o,offset:l,tags:u},c){if(!e)throw Error("Parameter `index` is required when calling `getTopHits`.");let d={};return void 0!==e&&(d.index=e.toString()),void 0!==t&&(d.search=t.toString()),void 0!==r&&(d.clickAnalytics=r.toString()),void 0!==n&&(d.revenueAnalytics=n.toString()),void 0!==i&&(d.startDate=i.toString()),void 0!==a&&(d.endDate=a.toString()),void 0!==o&&(d.limit=o.toString()),void 0!==l&&(d.offset=l.toString()),void 0!==u&&(d.tags=u.toString()),s.request({method:"GET",path:"/2/hits",queryParameters:d,headers:{}},c)},getTopSearches({index:e,clickAnalytics:t,revenueAnalytics:r,startDate:n,endDate:i,orderBy:a,direction:o,limit:l,offset:u,tags:c},d){if(!e)throw Error("Parameter `index` is required when calling `getTopSearches`.");let f={};return void 0!==e&&(f.index=e.toString()),void 0!==t&&(f.clickAnalytics=t.toString()),void 0!==r&&(f.revenueAnalytics=r.toString()),void 0!==n&&(f.startDate=n.toString()),void 0!==i&&(f.endDate=i.toString()),void 0!==a&&(f.orderBy=a.toString()),void 0!==o&&(f.direction=o.toString()),void 0!==l&&(f.limit=l.toString()),void 0!==u&&(f.offset=u.toString()),void 0!==c&&(f.tags=c.toString()),s.request({method:"GET",path:"/2/searches",queryParameters:f,headers:{}},d)},getUsersCount({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getUsersCount`.");let a={};return void 0!==e&&(a.index=e.toString()),void 0!==t&&(a.startDate=t.toString()),void 0!==r&&(a.endDate=r.toString()),void 0!==n&&(a.tags=n.toString()),s.request({method:"GET",path:"/2/users/count",queryParameters:a,headers:{}},i)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:f(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[h({key:`${D}-${e}`}),m()]}),...n})}var M="5.27.0",L=["de","us"];function $(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!L.includes(r)))throw Error(`\`region\` must be one of the following: ${L.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...a}){let o=g(e,t,r),s=k({hosts:[{url:i?"insights.{region}.algolia.io".replace("{region}",i):"insights.algolia.io",accept:"readWrite",protocol:"https"}],...a,algoliaAgent:v({algoliaAgents:n,client:"Insights",version:M}),baseHeaders:{"content-type":"text/plain",...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteUserToken({userToken:e},t){if(!e)throw Error("Parameter `userToken` is required when calling `deleteUserToken`.");let r="/1/usertokens/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},pushEvents(e,t){if(!e)throw Error("Parameter `insightsEvents` is required when calling `pushEvents`.");if(!e.events)throw Error("Parameter `insightsEvents.events` is required when calling `pushEvents`.");return s.request({method:"POST",path:"/1/events",queryParameters:{},headers:{},data:e},t)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:f(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[h({key:`${M}-${e}`}),m()]}),...n})}var U="5.27.0",F=["eu","us"];function B(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(!r||r&&("string"!=typeof r||!F.includes(r)))throw Error(`\`region\` is required and must be one of the following: ${F.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...a}){let o=g(e,t,r),s=k({hosts:[{url:"personalization.{region}.algolia.com".replace("{region}",i),accept:"readWrite",protocol:"https"}],...a,algoliaAgent:v({algoliaAgents:n,client:"Personalization",version:U}),baseHeaders:{"content-type":"text/plain",...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteUserProfile({userToken:e},t){if(!e)throw Error("Parameter `userToken` is required when calling `deleteUserProfile`.");let r="/1/profiles/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},getPersonalizationStrategy:e=>s.request({method:"GET",path:"/1/strategies/personalization",queryParameters:{},headers:{}},e),getUserTokenProfile({userToken:e},t){if(!e)throw Error("Parameter `userToken` is required when calling `getUserTokenProfile`.");let r="/1/profiles/personalization/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},setPersonalizationStrategy(e,t){if(!e)throw Error("Parameter `personalizationStrategyParams` is required when calling `setPersonalizationStrategy`.");if(!e.eventsScoring)throw Error("Parameter `personalizationStrategyParams.eventsScoring` is required when calling `setPersonalizationStrategy`.");if(!e.facetsScoring)throw Error("Parameter `personalizationStrategyParams.facetsScoring` is required when calling `setPersonalizationStrategy`.");if(!e.personalizationImpact)throw Error("Parameter `personalizationStrategyParams.personalizationImpact` is required when calling `setPersonalizationStrategy`.");return s.request({method:"POST",path:"/1/strategies/personalization",queryParameters:{},headers:{},data:e},t)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:f(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[h({key:`${U}-${e}`}),m()]}),...n})}var z="5.27.0",H=["eu","us"];function q(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(!r||r&&("string"!=typeof r||!H.includes(r)))throw Error(`\`region\` is required and must be one of the following: ${H.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...a}){let o=g(e,t,r),s=k({hosts:[{url:"query-suggestions.{region}.algolia.com".replace("{region}",i),accept:"readWrite",protocol:"https"}],...a,algoliaAgent:v({algoliaAgents:n,client:"QuerySuggestions",version:z}),baseHeaders:{"content-type":"text/plain",...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},createConfig(e,t){if(!e)throw Error("Parameter `configurationWithIndex` is required when calling `createConfig`.");return s.request({method:"POST",path:"/1/configs",queryParameters:{},headers:{},data:e},t)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteConfig({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `deleteConfig`.");let r="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},getAllConfigs:e=>s.request({method:"GET",path:"/1/configs",queryParameters:{},headers:{}},e),getConfig({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getConfig`.");let r="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getConfigStatus({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getConfigStatus`.");let r="/1/configs/{indexName}/status".replace("{indexName}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getLogFile({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getLogFile`.");let r="/1/logs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},updateConfig({indexName:e,configuration:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `updateConfig`.");if(!t)throw Error("Parameter `configuration` is required when calling `updateConfig`.");if(!t.sourceIndices)throw Error("Parameter `configuration.sourceIndices` is required when calling `updateConfig`.");let n="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:f(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[h({key:`${z}-${e}`}),m()]}),...n})}var G="5.27.0";function W(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,...i}){let a=g(e,t,r),o=k({hosts:[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(P([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}])),...i,algoliaAgent:v({algoliaAgents:n,client:"Search",version:G}),baseHeaders:{"content-type":"text/plain",...a.headers(),...i.baseHeaders},baseQueryParameters:{...a.queryParameters(),...i.baseQueryParameters}});return{transporter:o,appId:e,apiKey:t,clearCache:()=>Promise.all([o.requestsCache.clear(),o.responsesCache.clear()]).then(()=>void 0),get _ua(){return o.algoliaAgent.value},addAlgoliaAgent(e,t){o.algoliaAgent.add({segment:e,version:t})},setClientApiKey(
1{apiKey:e}){r&&"WithinHeaders"!==r?o.baseQueryParameters["x-algolia-api-key"]=e:o.baseHeaders["x-algolia-api-key"]=e},waitForTask({indexName:e,taskID:t,maxRetries:r=50,timeout:n=e=>Math.min(200*e,5e3)},i){let a=0;return y({func:()=>this.getTask({indexName:e,taskID:t},i),validate:e=>"published"===e.status,aggregator:()=>a+=1,error:{validate:()=>a>=r,message:()=>`The maximum number of retries exceeded. (${a}/${r})`},timeout:()=>n(a)})},waitForAppTask({taskID:e,maxRetries:t=50,timeout:r=e=>Math.min(200*e,5e3)},n){let i=0;return y({func:()=>this.getAppTask({taskID:e},n),validate:e=>"published"===e.status,aggregator:()=>i+=1,error:{validate:()=>i>=t,message:()=>`The maximum number of retries exceeded. (${i}/${t})`},timeout:()=>r(i)})},waitForApiKey({operation:e,key:t,apiKey:r,maxRetries:n=50,timeout:i=e=>Math.min(200*e,5e3)},a){let o=0,s={aggregator:()=>o+=1,error:{validate:()=>o>=n,message:()=>`The maximum number of retries exceeded. (${o}/${n})`},timeout:()=>i(o)};if("update"===e){if(!r)throw Error("`apiKey` is required when waiting for an `update` operation.");return y({...s,func:()=>this.getApiKey({key:t},a),validate:e=>{for(let t of Object.keys(r)){let n=r[t],i=e[t];if(Array.isArray(n)&&Array.isArray(i)){if(n.length!==i.length||n.some((e,t)=>e!==i[t]))return!1}else if(n!==i)return!1}return!0}})}return y({...s,func:()=>this.getApiKey({key:t},a).catch(e=>{if(404!==e.status)throw e}),validate:t=>"add"===e?void 0!==t:void 0===t})},browseObjects({indexName:e,browseParams:t,...r},n){return y({func:r=>this.browse({indexName:e,browseParams:{cursor:r?r.cursor:void 0,hitsPerPage:1e3,...t}},n),validate:e=>void 0===e.cursor,...r})},browseRules({indexName:e,searchRulesParams:t,...r},n){let i={hitsPerPage:1e3,...t};return y({func:t=>this.searchRules({indexName:e,searchRulesParams:{...i,page:t?t.page+1:i.page||0}},n),validate:e=>e.hits.length<i.hitsPerPage,...r})},browseSynonyms({indexName:e,searchSynonymsParams:t,...r},n){let i={page:0,...t,hitsPerPage:1e3};return y({func:t=>{let r=this.searchSynonyms({indexName:e,searchSynonymsParams:{...i,page:i.page}},n);return i.page+=1,r},validate:e=>e.hits.length<i.hitsPerPage,...r})},async chunkedBatch({indexName:e,objects:t,action:r="addObject",waitForTasks:n,batchSize:i=1e3},a){let o=[],s=[];for(let[n,l]of t.entries())o.push({action:r,body:l}),(o.length===i||n===t.length-1)&&(s.push(await this.batch({indexName:e,batchWriteParams:{requests:o}},a)),o=[]);if(n)for(let t of s)await this.waitForTask({indexName:e,taskID:t.taskID});return s},async saveObjects({indexName:e,objects:t,waitForTasks:r,batchSize:n},i){return await this.chunkedBatch({indexName:e,objects:t,action:"addObject",waitForTasks:r,batchSize:n},i)},async deleteObjects({indexName:e,objectIDs:t,waitForTasks:r,batchSize:n},i){return await this.chunkedBatch({indexName:e,objects:t.map(e=>({objectID:e})),action:"deleteObject",waitForTasks:r,batchSize:n},i)},async partialUpdateObjects({indexName:e,objects:t,createIfNotExists:r,waitForTasks:n,batchSize:i},a){return await this.chunkedBatch({indexName:e,objects:t,action:r?"partialUpdateObject":"partialUpdateObjectNoCreate",batchSize:i,waitForTasks:n},a)},async replaceAllObjects({indexName:e,objects:t,batchSize:r,scopes:n},i){let a=Math.floor(1e6*Math.random())+1e5,o=`${e}_tmp_${a}`;void 0===n&&(n=["settings","rules","synonyms"]);try{let a=await this.operationIndex({indexName:e,operationIndexParams:{operation:"copy",destination:o,scope:n}},i),s=await this.chunkedBatch({indexName:o,objects:t,waitForTasks:!0,batchSize:r},i);await this.waitForTask({indexName:o,taskID:a.taskID}),a=await this.operationIndex({indexName:e,operationIndexParams:{operation:"copy",destination:o,scope:n}},i),await this.waitForTask({indexName:o,taskID:a.taskID});let l=await this.operationIndex({indexName:o,operationIndexParams:{operation:"move",destination:e}},i);return await this.waitForTask({indexName:o,taskID:l.taskID}),{copyOperationResponse:a,batchResponses:s,moveOperationResponse:l}}catch(e){throw await this.deleteIndex({indexName:o}),e}},async indexExists({indexName:e}
1){try{await this.getSettings({indexName:e})}catch(e){if(e instanceof T&&404===e.status)return!1;throw e}return!0},searchForHits(e,t){return this.search(e,t)},searchForFacets(e,t){return this.search(e,t)},addApiKey(e,t){if(!e)throw Error("Parameter `apiKey` is required when calling `addApiKey`.");if(!e.acl)throw Error("Parameter `apiKey.acl` is required when calling `addApiKey`.");return o.request({method:"POST",path:"/1/keys",queryParameters:{},headers:{},data:e},t)},addOrUpdateObject({indexName:e,objectID:t,body:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `addOrUpdateObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `addOrUpdateObject`.");if(!r)throw Error("Parameter `body` is required when calling `addOrUpdateObject`.");let i="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return o.request({method:"PUT",path:i,queryParameters:{},headers:{},data:r},n)},appendSource(e,t){if(!e)throw Error("Parameter `source` is required when calling `appendSource`.");if(!e.source)throw Error("Parameter `source.source` is required when calling `appendSource`.");return o.request({method:"POST",path:"/1/security/sources/append",queryParameters:{},headers:{},data:e},t)},assignUserId({xAlgoliaUserID:e,assignUserIdParams:t},r){if(!e)throw Error("Parameter `xAlgoliaUserID` is required when calling `assignUserId`.");if(!t)throw Error("Parameter `assignUserIdParams` is required when calling `assignUserId`.");if(!t.cluster)throw Error("Parameter `assignUserIdParams.cluster` is required when calling `assignUserId`.");let n={};return void 0!==e&&(n["X-Algolia-User-ID"]=e.toString()),o.request({method:"POST",path:"/1/clusters/mapping",queryParameters:{},headers:n,data:t},r)},batch({indexName:e,batchWriteParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `batch`.");if(!t)throw Error("Parameter `batchWriteParams` is required when calling `batch`.");if(!t.requests)throw Error("Parameter `batchWriteParams.requests` is required when calling `batch`.");let n="/1/indexes/{indexName}/batch".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},batchAssignUserIds({xAlgoliaUserID:e,batchAssignUserIdsParams:t},r){if(!e)throw Error("Parameter `xAlgoliaUserID` is required when calling `batchAssignUserIds`.");if(!t)throw Error("Parameter `batchAssignUserIdsParams` is required when calling `batchAssignUserIds`.");if(!t.cluster)throw Error("Parameter `batchAssignUserIdsParams.cluster` is required when calling `batchAssignUserIds`.");if(!t.users)throw Error("Parameter `batchAssignUserIdsParams.users` is required when calling `batchAssignUserIds`.");let n={};return void 0!==e&&(n["X-Algolia-User-ID"]=e.toString()),o.request({method:"POST",path:"/1/clusters/mapping/batch",queryParameters:{},headers:n,data:t},r)},batchDictionaryEntries({dictionaryName:e,batchDictionaryEntriesParams:t},r){if(!e)throw Error("Parameter `dictionaryName` is required when calling `batchDictionaryEntries`.");if(!t)throw Error("Parameter `batchDictionaryEntriesParams` is required when calling `batchDictionaryEntries`.");if(!t.requests)throw Error("Parameter `batchDictionaryEntriesParams.requests` is required when calling `batchDictionaryEntries`.");let n="/1/dictionaries/{dictionaryName}/batch".replace("{dictionaryName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},browse({indexName:e,browseParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `browse`.");let n="/1/indexes/{indexName}/browse".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0},r)},clearObjects({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `clearObjects`.");let r="/1/indexes/{indexName}/clear".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},clearRules({indexName:e,forwardToReplicas:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `clearRules`.");let n="/1/indexes/{indexName}/rules/clear".replace("{indexName}",encodeURIComponent(e)),i={};return void 0!==t&&(i.forwardToReplicas=t.toString()),o.request({method:"POST",path:n,queryParameters:i,headers:{}},r)},clearSynonyms({indexName:e,forwardToReplicas:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `clearSynonyms`.");let n="/1/indexes/{indexName}/synonyms/clear".replace("{indexName}",encodeURIComponent(e)),i={};return void 0!==t&&(i.forwardToReplicas=t.toString()),o.request({method:"POST",path:n,queryParameters:i,headers:{}},r)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return o.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return o.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return o.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return o.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteApiKey({key:e},t){if(!e)throw Error("Parameter `key` is required when calling `deleteApiKey`.");let r="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return o.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteBy({indexName:e,deleteByParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `deleteBy`.");if(!t)throw Error("Parameter `deleteByParams` is required when calling `deleteBy`.");let n="/1/indexes/{indexName}/deleteByQuery".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},deleteIndex({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `deleteIndex`.");let r="/1/indexes/{indexName}".replace("{indexName}",encodeURIComponent(e));return o.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteObject({indexName:e,objectID:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `deleteObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `deleteObject`.");let n="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return o.request({method:"DELETE",path:n,queryParameters:{},headers:{}},r)},deleteRule({indexName:e,objectID:t,forwardToReplicas:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `deleteRule`.");if(!t)throw Error("Parameter `objectID` is required when calling `deleteRule`.");let i="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),a={};return void 0!==r&&(a.forwardToReplicas=r.toString()),o.request({method:"DELETE",path:i,queryParameters:a,headers:{}},n)},deleteSource({source:e},t){if(!e)throw Error("Parameter `source` is required when calling `deleteSource`.");let r="/1/security/sources/{source}".replace("{source}",encodeURIComponent(e));return o.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteSynonym({indexName:e,objectID:t,forwardToReplicas:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `deleteSynonym`.");if(!t)throw Error("Parameter `objectID` is required when calling `deleteSynonym`.");let i="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),a={};return void 0!==r&&(a.forwardToReplicas=r.toString()),o.request({method:"DELETE",path:i,queryParameters:a,headers:{}},n)},getApiKey({key:e},t){if(!e)throw Error("Parameter `key` is required when calling `getApiKey`.");let r="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getAppTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `getAppTask`.");let r="/1/task/{taskID}".replace("{taskID}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getDictionaryLanguages:e=>o.request({method:"GET",path:"/1/dictionaries/*/languages",queryParameters:{},headers:{}},e),getDictionarySettings:e=>o.request({method:"GET",path:"/1/dictionaries/*/settings",queryParameters:{},headers:{}},e),getLogs({offset:e,length:t,indexName:r,type:n}={},i){let a={};return void 0!==e&&(a.offset=e.toString()),void 0!==t&&(a.length=t.toString()),void 0!==r&&(a.indexName=r.toString()),void 0!==n&&(a.type=n.toString()),o.request({method:"GET",path:"/1/logs",queryParameters:a,headers:{}},i)},getObject({indexName:e,objectID:t,attributesToRetrieve:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `getObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `getObject`.");let i="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),a={};return void 0!==r&&(a.attributesToRetrieve=r.toString()),o.request({method:"GET",path:i,queryParameters:a,headers:{}},n)},getObjects(e,t){if(!e)throw Error("Parameter `getObjectsParams` is required when calling `getObjects`.");if(!e.requests)throw Error("Parameter `getObjectsParams.requests` is required when calling `getObjects`.");return o.request({method:"POST",path:"/1/indexes/*/objects",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0},t)},getRule({indexName:e,objectID:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `getRule`.");if(!t)throw Error("Parameter `objectID` is required when calling `getRule`.");let n="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return o.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getSettings({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getSettings`.");let r="/1/indexes/{indexName}/settings".replace("{indexName}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getSources:e=>o.request({method:"GET",path:"/1/security/sources",queryParameters:{},headers:{}},e),getSynonym({indexName:e,objectID:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `getSynonym`.");if(!t)throw Error("Parameter `objectID` is required when calling `getSynonym`.");let n="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return o.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getTask({indexName:e,taskID:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `getTask`.");if(!t)throw Error("Parameter `taskID` is required when calling `getTask`.");let n="/1/indexes/{indexName}/task/{taskID}".replace("{indexName}",encodeURIComponent(e)).replace("{taskID}",encodeURIComponent(t));return o.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getTopUserIds:e=>o.request({method:"GET",path:"/1/clusters/mapping/top",queryParameters:{},headers:{}},e),getUserId({userID:e},t){if(!e)throw Error("Parameter `userID` is required when calling `getUserId`.");let r="/1/clusters/mapping/{userID}".replace("{userID}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},hasPendingMappings({getClusters:e}={},t){let r={};return void 0!==e&&(r.getClusters=e.toString()),o.request({method:"GET",path:"/1/clusters/mapping/pending",queryParameters:r,headers:{}},t)},listApiKeys:e=>o.request({method:"GET",path:"/1/keys",queryParameters:{},headers:{}}
1,e),listClusters:e=>o.request({method:"GET",path:"/1/clusters",queryParameters:{},headers:{}},e),listIndices({page:e,hitsPerPage:t}={},r){let n={};return void 0!==e&&(n.page=e.toString()),void 0!==t&&(n.hitsPerPage=t.toString()),o.request({method:"GET",path:"/1/indexes",queryParameters:n,headers:{}},r)},listUserIds({page:e,hitsPerPage:t}={},r){let n={};return void 0!==e&&(n.page=e.toString()),void 0!==t&&(n.hitsPerPage=t.toString()),o.request({method:"GET",path:"/1/clusters/mapping",queryParameters:n,headers:{}},r)},multipleBatch(e,t){if(!e)throw Error("Parameter `batchParams` is required when calling `multipleBatch`.");if(!e.requests)throw Error("Parameter `batchParams.requests` is required when calling `multipleBatch`.");return o.request({method:"POST",path:"/1/indexes/*/batch",queryParameters:{},headers:{},data:e},t)},operationIndex({indexName:e,operationIndexParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `operationIndex`.");if(!t)throw Error("Parameter `operationIndexParams` is required when calling `operationIndex`.");if(!t.operation)throw Error("Parameter `operationIndexParams.operation` is required when calling `operationIndex`.");if(!t.destination)throw Error("Parameter `operationIndexParams.destination` is required when calling `operationIndex`.");let n="/1/indexes/{indexName}/operation".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},partialUpdateObject({indexName:e,objectID:t,attributesToUpdate:r,createIfNotExists:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `partialUpdateObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `partialUpdateObject`.");if(!r)throw Error("Parameter `attributesToUpdate` is required when calling `partialUpdateObject`.");let a="/1/indexes/{indexName}/{objectID}/partial".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.createIfNotExists=n.toString()),o.request({method:"POST",path:a,queryParameters:s,headers:{},data:r},i)},removeUserId({userID:e},t){if(!e)throw Error("Parameter `userID` is required when calling `removeUserId`.");let r="/1/clusters/mapping/{userID}".replace("{userID}",encodeURIComponent(e));return o.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},replaceSources({source:e},t){if(!e)throw Error("Parameter `source` is required when calling `replaceSources`.");return o.request({method:"PUT",path:"/1/security/sources",queryParameters:{},headers:{},data:e},t)},restoreApiKey({key:e},t){if(!e)throw Error("Parameter `key` is required when calling `restoreApiKey`.");let r="/1/keys/{key}/restore".replace("{key}",encodeURIComponent(e));return o.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},saveObject({indexName:e,body:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `saveObject`.");if(!t)throw Error("Parameter `body` is required when calling `saveObject`.");let n="/1/indexes/{indexName}".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},saveRule({indexName:e,objectID:t,rule:r,forwardToReplicas:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveRule`.");if(!t)throw Error("Parameter `objectID` is required when calling `saveRule`.");if(!r)throw Error("Parameter `rule` is required when calling `saveRule`.");if(!r.objectID)throw Error("Parameter `rule.objectID` is required when calling `saveRule`.");if(!r.consequence)throw Error("Parameter `rule.consequence` is required when calling `saveRule`.");let a="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.forwardToReplicas=n.toString()),o.request({method:"PUT",path:a,queryParameters:s,headers:{},data:r},i)},saveRules({indexName:e,rules:t,forwardToReplicas:r,clearExistingRules:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveRules`.");if(!t)throw Error("Parameter `rules` is required when calling `saveRules`.");let a="/1/indexes/{indexName}/rules/batch".replace("{indexName}",encodeURIComponent(e)),s={};return void 0!==r&&(s.forwardToReplicas=r.toString()),void 0!==n&&(s.clearExistingRules=n.toString()),o.request({method:"POST",path:a,queryParameters:s,headers:{},data:t},i)},saveSynonym({indexName:e,objectID:t,synonymHit:r,forwardToReplicas:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveSynonym`.");if(!t)throw Error("Parameter `objectID` is required when calling `saveSynonym`.");if(!r)throw Error("Parameter `synonymHit` is required when calling `saveSynonym`.");if(!r.objectID)throw Error("Parameter `synonymHit.objectID` is required when calling `saveSynonym`.");if(!r.type)throw Error("Parameter `synonymHit.type` is required when calling `saveSynonym`.");let a="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.forwardToReplicas=n.toString()),o.request({method:"PUT",path:a,queryParameters:s,headers:{},data:r},i)},saveSynonyms({indexName:e,synonymHit:t,forwardToReplicas:r,replaceExistingSynonyms:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveSynonyms`.");if(!t)throw Error("Parameter `synonymHit` is required when calling `saveSynonyms`.");let a="/1/indexes/{indexName}/synonyms/batch".replace("{indexName}",encodeURIComponent(e)),s={};return void 0!==r&&(s.forwardToReplicas=r.toString()),void 0!==n&&(s.replaceExistingSynonyms=n.toString()),o.request({method:"POST",path:a,queryParameters:s,headers:{},data:t},i)},search(e,t){if(e&&Array.isArray(e)&&(e={requests:e.map(({params:e,...t})=>"facet"===t.type?{...t,...e,type:"facet"}:{...t,...e,facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}),!e)throw Error("Parameter `searchMethodParams` is required when calling `search`.");if(!e.requests)throw Error("Parameter `searchMethodParams.requests` is required when calling `search`.");let r={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return o.request(r,t)},searchDictionaryEntries({dictionaryName:e,searchDictionaryEntriesParams:t},r){if(!e)throw Error("Parameter `dictionaryName` is required when calling `searchDictionaryEntries`.");if(!t)throw Error("Parameter `searchDictionaryEntriesParams` is required when calling `searchDictionaryEntries`.");if(!t.query)throw Error("Parameter `searchDictionaryEntriesParams.query` is required when calling `searchDictionaryEntries`.");let n="/1/dictionaries/{dictionaryName}/search".replace("{dictionaryName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t,useReadTransporter:!0,cacheable:!0},r)},searchForFacetValues({indexName:e,facetName:t,searchForFacetValuesRequest:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `searchForFacetValues`.");if(!t)throw Error("Parameter `facetName` is required when calling `searchForFacetValues`.");let i="/1/indexes/{indexName}/facets/{facetName}/query".replace("{indexName}",encodeURIComponent(e)).replace("{facetName}",encodeURIComponent(t));return o.request({method:"POST",path:i,queryParameters:{},headers:{},data:r||{},useReadTransporter:!0,cacheable:!0},n)},searchRules({indexName:e,searchRulesParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `searchRules`.");let n="/1/indexes/{indexName}/rules/search".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchSingleIndex({indexName:e,searchParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `searchSingleIndex`.");let n="/1/indexes/{indexName}/query".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchSynonyms({indexName:e,searchSynonymsParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `searchSynonyms`.");let n="/1/indexes/{indexName}/synonyms/search".replace("{indexName}",encodeURIComponent(e));return o.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchUserIds(e,t){if(!e)throw Error("Parameter `searchUserIdsParams` is required when calling `searchUserIds`.");if(!e.query)throw Error("Parameter `searchUserIdsParams.query` is required when calling `searchUserIds`.");return o.request({method:"POST",path:"/1/clusters/mapping/search",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0},t)},setDictionarySettings(e,t){if(!e)throw Error("Parameter `dictionarySettingsParams` is required when calling `setDictionarySettings`.");if(!e.disableStandardEntries)throw Error("Parameter `dictionarySettingsParams.disableStandardEntries` is required when calling `setDictionarySettings`.");return o.request({method:"PUT",path:"/1/dictionaries/*/settings",queryParameters:{},headers:{},data:e},t)},setSettings({indexName:e,indexSettings:t,forwardToReplicas:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `setSettings`.");if(!t)throw Error("Parameter `indexSettings` is required when calling `setSettings`.");let i="/1/indexes/{indexName}/settings".replace("{indexName}",encodeURIComponent(e)),a={};return void 0!==r&&(a.forwardToReplicas=r.toString()),o.request({method:"PUT",path:i,queryParameters:a,headers:{},data:t},n)},updateApiKey({key:e,apiKey:t},r){if(!e)throw Error("Parameter `key` is required when calling `updateApiKey`.");if(!t)throw Error("Parameter `apiKey` is required when calling `updateApiKey`.");if(!t.acl)throw Error("Parameter `apiKey.acl` is required when calling `updateApiKey`.");let n="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return o.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)}}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:f(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[h({key:`${G}-${e}`}),m()]}),...r})}var V="1.27.0",Y=["eu","us"];function Z(e){return"onDemand"===e.type}function K(e){return"schedule"===e.type}function X(e){return"subscription"===e.type}function Q(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(!r||r&&("string"!=typeof r||!Y.includes(r)))throw Error(`\`region\` is required and must be one of the following: ${Y.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...a}){let o=g(e,t,r),s=k({hosts:[{url:"data.{region}.algolia.com".replace("{region}",i),accept:"readWrite",protocol:"https"}],...a,algoliaAgent:v({algoliaAgents:n,client:"Ingestion",version:V}),baseHeaders:{"content-type":"text/plain",...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},createAuthentication(e,t){if(!e)throw Error("Parameter `authenticationCreate` is required when calling `createAuthentication`.");if(!e.type)throw Error("Parameter `authenticationCreate.type` is required when calling `createAuthentication`.");if(!e.name)throw Error("Parameter `authenticationCreate.name` is required when calling `createAuthentication`.");if(!e.input)throw Error("Parameter `authenticationCreate.input` is required when calling `createAuthentication`.");return s.request({method:"POST",path:"/1/authentications",queryParameters:{},headers:{},data:e},t)},createDestination(e,t){if(!e)throw Error("Parameter `destinationCreate` is required when calling `createDestination`.");if(!e.type)throw Error("Parameter `destinationCreate.type` is required when calling `createDestination`.");if(!e.name)throw Error("Parameter `destinationCreate.name` is required when calling `createDestination`.");if(!e.input)throw Error("Parameter `destinationCreate.input` is required when calling `createDestination`.");return s.request({method:"POST",path:"/1/destinations",queryParameters:{},headers:{},data:e},t)},createSource(e,t){if(!e)throw Error("Parameter `sourceCreate` is required when calling `createSource`.");if(!e.type)throw Error("Parameter `sourceCreate.type` is required when calling `createSource`.");if(!e.name)throw Error("Parameter `sourceCreate.name` is required when calling `createSource`.");return s.request({method:"POST",path:"/1/sources",queryParameters:{},headers:{},data:e},t)},createTask(e,t){if(!e)throw Error("Parameter `taskCreate` is required when calling `createTask`.");if(!e.sourceID)throw Error("Parameter `taskCreate.sourceID` is required when calling `createTask`.");if(!e.destinationID)throw Error("Parameter `taskCreate.destinationID` is required when calling `createTask`.");if(!e.action)throw Error("Parameter `taskCreate.action` is required when calling `createTask`.");return s.request({method:"POST",path:"/2/tasks",queryParameters:{},headers:{},data:e},t)},createTaskV1(e,t){if(!e)throw Error("Parameter `taskCreate` is required when calling `createTaskV1`.");if(!e.sourceID)throw Error("Parameter `taskCreate.sourceID` is required when calling `createTaskV1`.");if(!e.destinationID)throw Error("Parameter `taskCreate.destinationID` is required when calling `createTaskV1`.");if(!e.trigger)throw Error("Parameter `taskCreate.trigger` is required when calling `createTaskV1`.");if(!e.action)throw Error("Parameter `taskCreate.action` is required when calling `createTaskV1`.");return s.request({method:"POST",path:"/1/tasks",queryParameters:{},headers:{},data:e},t)},createTransformation(e,t){if(!e)throw Error("Parameter `transformationCreate` is required when calling `createTransformation`.");if(!e.name)throw Error("Parameter `transformationCreate.name` is required when calling `createTransformation`.");if(!e.type)throw Error("Parameter `transformationCreate.type` is required when calling `createTransformation`.");if(!e.input)throw Error("Parameter `transformationCreate.input` is required when calling `createTransformation`.");return s.request({method:"POST",path:"/1/transformations",queryParameters:{},headers:{},data:e},t)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteAuthentication({authenticationID:e},t){if(!e)throw Error("Parameter `authenticationID` is required when calling `deleteAuthentication`.");let r="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteDestination({destinationID:e},t){if(!e)throw Error("Parameter `destinationID` is required when calling `deleteDestination`.");let r="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteSource({sourceID:e},t){if(!e)throw Error("Pa
1rameter `sourceID` is required when calling `deleteSource`.");let r="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `deleteTask`.");let r="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `deleteTaskV1`.");let r="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTransformation({transformationID:e},t){if(!e)throw Error("Parameter `transformationID` is required when calling `deleteTransformation`.");let r="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},disableTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `disableTask`.");let r="/2/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},disableTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `disableTaskV1`.");let r="/1/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},enableTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `enableTask`.");let r="/2/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},enableTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `enableTaskV1`.");let r="/1/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},getAuthentication({authenticationID:e},t){if(!e)throw Error("Parameter `authenticationID` is required when calling `getAuthentication`.");let r="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getDestination({destinationID:e},t){if(!e)throw Error("Parameter `destinationID` is required when calling `getDestination`.");let r="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getEvent({runID:e,eventID:t},r){if(!e)throw Error("Parameter `runID` is required when calling `getEvent`.");if(!t)throw Error("Parameter `eventID` is required when calling `getEvent`.");let n="/1/runs/{runID}/events/{eventID}".replace("{runID}",encodeURIComponent(e)).replace("{eventID}",encodeURIComponent(t));return s.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getRun({runID:e},t){if(!e)throw Error("Parameter `runID` is required when calling `getRun`.");let r="/1/runs/{runID}".replace("{runID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getSource({sourceID:e},t){if(!e)throw Error("Parameter `sourceID` is required when calling `getSource`.");let r="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `getTask`.");let r="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `getTaskV1`.");let r="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTransformation({transformationID:e},t){if(!e)throw Error("Parameter `transformationID` is required when calling `getTransformation`.");let r="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},listAuthentications({itemsPerPage:e,page:t,type:r,platform:n,sort:i,order:a}={},o){let l={};return void 0!==e&&(l.itemsPerPage=e.toString()),void 0!==t&&(l.page=t.toString()),void 0!==r&&(l.type=r.toString()),void 0!==n&&(l.platform=n.toString()),void 0!==i&&(l.sort=i.toString()),void 0!==a&&(l.order=a.toString()),s.request({method:"GET",path:"/1/authentications",queryParameters:l,headers:{}},o)},listDestinations({itemsPerPage:e,page:t,type:r,authenticationID:n,transformationID:i,sort:a,order:o}={},l){let u={};return void 0!==e&&(u.itemsPerPage=e.toString()),void 0!==t&&(u.page=t.toString()),void 0!==r&&(u.type=r.toString()),void 0!==n&&(u.authenticationID=n.toString()),void 0!==i&&(u.transformationID=i.toString()),void 0!==a&&(u.sort=a.toString()),void 0!==o&&(u.order=o.toString()),s.request({method:"GET",path:"/1/destinations",queryParameters:u,headers:{}},l)},listEvents({runID:e,itemsPerPage:t,page:r,status:n,type:i,sort:
1a,order:o,startDate:l,endDate:u},c){if(!e)throw Error("Parameter `runID` is required when calling `listEvents`.");let d="/1/runs/{runID}/events".replace("{runID}",encodeURIComponent(e)),f={};return void 0!==t&&(f.itemsPerPage=t.toString()),void 0!==r&&(f.page=r.toString()),void 0!==n&&(f.status=n.toString()),void 0!==i&&(f.type=i.toString()),void 0!==a&&(f.sort=a.toString()),void 0!==o&&(f.order=o.toString()),void 0!==l&&(f.startDate=l.toString()),void 0!==u&&(f.endDate=u.toString()),s.request({method:"GET",path:d,queryParameters:f,headers:{}},c)},listRuns({itemsPerPage:e,page:t,status:r,type:n,taskID:i,sort:a,order:o,startDate:l,endDate:u}={},c){let d={};return void 0!==e&&(d.itemsPerPage=e.toString()),void 0!==t&&(d.page=t.toString()),void 0!==r&&(d.status=r.toString()),void 0!==n&&(d.type=n.toString()),void 0!==i&&(d.taskID=i.toString()),void 0!==a&&(d.sort=a.toString()),void 0!==o&&(d.order=o.toString()),void 0!==l&&(d.startDate=l.toString()),void 0!==u&&(d.endDate=u.toString()),s.request({method:"GET",path:"/1/runs",queryParameters:d,headers:{}},c)},listSources({itemsPerPage:e,page:t,type:r,authenticationID:n,sort:i,order:a}={},o){let l={};return void 0!==e&&(l.itemsPerPage=e.toString()),void 0!==t&&(l.page=t.toString()),void 0!==r&&(l.type=r.toString()),void 0!==n&&(l.authenticationID=n.toString()),void 0!==i&&(l.sort=i.toString()),void 0!==a&&(l.order=a.toString()),s.request({method:"GET",path:"/1/sources",queryParameters:l,headers:{}},o)},listTasks({itemsPerPage:e,page:t,action:r,enabled:n,sourceID:i,sourceType:a,destinationID:o,triggerType:l,withEmailNotifications:u,sort:c,order:d}={},f){let h={};return void 0!==e&&(h.itemsPerPage=e.toString()),void 0!==t&&(h.page=t.toString()),void 0!==r&&(h.action=r.toString()),void 0!==n&&(h.enabled=n.toString()),void 0!==i&&(h.sourceID=i.toString()),void 0!==a&&(h.sourceType=a.toString()),void 0!==o&&(h.destinationID=o.toString()),void 0!==l&&(h.triggerType=l.toString()),void 0!==u&&(h.withEmailNotifications=u.toString()),void 0!==c&&(h.sort=c.toString()),void 0!==d&&(h.order=d.toString()),s.request({method:"GET",path:"/2/tasks",queryParameters:h,headers:{}},f)},listTasksV1({itemsPerPage:e,page:t,action:r,enabled:n,sourceID:i,destinationID:a,triggerType:o,sort:l,order:u}={},c){let d={};return void 0!==e&&(d.itemsPerPage=e.toString()),void 0!==t&&(d.page=t.toString()),void 0!==r&&(d.action=r.toString()),void 0!==n&&(d.enabled=n.toString()),void 0!==i&&(d.sourceID=i.toString()),void 0!==a&&(d.destinationID=a.toString()),void 0!==o&&(d.triggerType=o.toString()),void 0!==l&&(d.sort=l.toString()),void 0!==u&&(d.order=u.toString()),s.request({method:"GET",path:"/1/tasks",queryParameters:d,headers:{}},c)},listTransformations({itemsPerPage:e,page:t,sort:r,order:n}={},i){let a={};return void 0!==e&&(a.itemsPerPage=e.toString()),void 0!==t&&(a.page=t.toString()),void 0!==r&&(a.sort=r.toString()),void 0!==n&&(a.order=n.toString()),s.request({method:"GET",path:"/1/transformations",queryParameters:a,headers:{}},i)},push({indexName:e,pushTaskPayload:t,watch:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `push`.");if(!t)throw Error("Parameter `pushTaskPayload` is required when calling `push`.");if(!t.action)throw Error("Parameter `pushTaskPayload.action` is required when calling `push`.");if(!t.records)throw Error("Parameter `pushTaskPayload.records` is required when calling `push`.");let i="/1/push/{indexName}".replace("{indexName}",encodeURIComponent(e)),a={};return void 0!==r&&(a.watch=r.toString()),n={timeouts:{connect:18e4,read:18e4,write:18e4,...n?.timeouts}},s.request({method:"POST",path:i,queryParameters:a,headers:{},data:t},n)},pushTask({taskID:e,pushTaskPayload:t,watch:r},n){if(!e)throw Error("Parameter `taskID` is required when calling `pushTask`.");if(!t)throw Error("Parameter `pushTaskPayload` is required when calling `pushTask`.");if(!t.action)throw Error("Parameter `pushTaskPayload.action` is required when calling `pushTask`.");if(!t.records)throw Error("Parameter `pushTaskPayload.records` is required when calling `pushTask`.");let i="/2/tasks/{taskID}/push".replace("{taskID}",encodeURIComponent(e)),a={};return void 0!==r&&(a.watch=r.toString()),n={timeouts:{connect:18e4,read:18e4,write:18e4,...n?.timeouts}},s.request({method:"POST",path:i,queryParameters:a,headers:{},data:t},n)},runSource({sourceID:e,runSourcePayload:t},r){if(!e)throw Error("Parameter `sourceID` is required when calling `runSource`.");let n="/1/sources/{sourceID}/run".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{}},r)},runTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `runTask`.");let r="/2/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e));return s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},runTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `runTaskV1`.");let r="/1/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e));return s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},searchAuthentications(e,t){if(!e)throw Error("Parameter `authenticationSearch` is required when calling `searchAuthentications`.");if(!e.authenticationIDs)throw Error("Parameter `authenticationSearch.authenticationIDs` is required when calling `searchAuthentications`.");return s.request({method:"POST",path:"/1/authentications/search",queryParameters:{},headers:{},data:e},t)},searchDestinations(e,t){if(!e)throw Error("Parameter `destinationSearch` is required when calling `searchDestinations`.");if(!e.destinationIDs)throw Error("Parameter `destinationSearch.destinationIDs` is required when calling `searchDestinations`.");return s.request({method:"POST",path:"/1/destinations/search",queryParameters:{},headers:{},data:e},t)},searchSources(e,t){if(!e)throw Error("Parameter `sourceSearch` is required when calling `searchSources`.");if(!e.sourceIDs)throw Error("Parameter `sourceSearch.sourceIDs` is required when calling `searchSources`.");return s.request({method:"POST",path:"/1/sources/search",queryParameters:{},headers:{},data:e},t)},searchTasks(e,t){if(!e)throw Error("Parameter `taskSearch` is required when calling `searchTasks`.");if(!e.taskIDs)throw Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasks`.");return s.request({method:"POST",path:"/2/tasks/search",queryParameters:{},headers:{},data:e},t)},searchTasksV1(e,t){if(!e)throw Error("Parameter `taskSearch` is required when calling `searchTasksV1`.");if(!e.taskIDs)throw Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasksV1`.");return s.request({method:"POST",path:"/1/tasks/search",queryParameters:{},headers:{},data:e},t)},searchTransformations(e,t){if(!e)throw Error("Parameter `transformationSearch` is required when calling `searchTransformations`.");if(!e.transformationIDs)throw Error("Parameter `transformationSearch.transformationIDs` is required when calling `searchTransformations`.");return s.request({method:"POST",path:"/1/transformations/search",queryParameters:{},headers:{},data:e},t)},triggerDockerSourceDiscover({sourceID:e},t){if(!e)throw Error("Parameter `sourceID` is required when calling `triggerDockerSourceDiscover`.");let r="/1/sources/{sourceID}/discover".replace("{sourceID}",encodeURIComponent(e));return t={timeouts:{connect:18e4,read:18e4,write:18e4,...t?.timeouts}},s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},tryTransformation(e,t){if(!e)throw Error("Parameter `transformationTry` is required when calling `tryTransformation`.");if(!e.code)throw Error("Parameter `transformationTry.code` is required when calling `tryTransformation`.");if(!e.sampleRecord)throw Error("Parameter `transformationTry.sampleRecord` is required when calling `tryTransformation`.");return s.request({method:"POST",path:"/1/transformations/try",queryParameters:{},headers:{},data:e},t)},tryTransformationBeforeUpdate({transformationID:e,transformationTry:t},r){if(!e)throw Error("Parameter `transformationID` is required when calling `tryTransformationBeforeUpdate`.");if(!t)throw Error("Parameter `transformationTry` is required when calling `tryTransformationBeforeUpdate`.");if(!t.code)throw Error("Parameter `transformationTry.code` is required when calling `tryTransformationBeforeUpdate`.");if(!t.sampleRecord)throw Error("Parameter `transformationTry.sampleRecord` is required when calling `tryTransformationBeforeUpdate`.");let n="/1/transformations/{transformationID}/try".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},updateAuthentication({authenticationID:e,authenticationUpdate:t},r){if(!e)throw Error("Parameter `authenticationID` is required when calling `updateAuthentication`.");if(!t)throw Error("Parameter `authenticationUpdate` is required when calling `updateAuthentication`.");let n="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateDestination({destinationID:e,destinationUpdate:t},r){if(!e)throw Error("Parameter `destinationID` is required when calling `updateDestination`.");if(!t)throw Error("Parameter `destinationUpdate` is required when calling `updateDestination`.");let n="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateSource({sourceID:e,sourceUpdate:t},r){if(!e)throw Error("Parameter `sourceID` is required when calling `updateSource`.");if(!t)throw Error("Parameter `sourceUpdate` is required when calling `updateSource`.");let n="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTask({taskID:e,taskUpdate:t},r){if(!e)throw Error("Parameter `taskID` is required when calling `updateTask`.");
1if(!t)throw Error("Parameter `taskUpdate` is required when calling `updateTask`.");let n="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTaskV1({taskID:e,taskUpdate:t},r){if(!e)throw Error("Parameter `taskID` is required when calling `updateTaskV1`.");if(!t)throw Error("Parameter `taskUpdate` is required when calling `updateTaskV1`.");let n="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTransformation({transformationID:e,transformationCreate:t},r){if(!e)throw Error("Parameter `transformationID` is required when calling `updateTransformation`.");if(!t)throw Error("Parameter `transformationCreate` is required when calling `updateTransformation`.");if(!t.name)throw Error("Parameter `transformationCreate.name` is required when calling `updateTransformation`.");if(!t.type)throw Error("Parameter `transformationCreate.type` is required when calling `updateTransformation`.");if(!t.input)throw Error("Parameter `transformationCreate.input` is required when calling `updateTransformation`.");let n="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)},validateSource:(e,t)=>(t={timeouts:{connect:18e4,read:18e4,write:18e4,...t?.timeouts}},s.request({method:"POST",path:"/1/sources/validate",queryParameters:{},headers:{},data:e||{}},t)),validateSourceBeforeUpdate({sourceID:e,sourceUpdate:t},r){if(!e)throw Error("Parameter `sourceID` is required when calling `validateSourceBeforeUpdate`.");if(!t)throw Error("Parameter `sourceUpdate` is required when calling `validateSourceBeforeUpdate`.");let n="/1/sources/{sourceID}/validate".replace("{sourceID}",encodeURIComponent(e));return r={timeouts:{connect:18e4,read:18e4,write:18e4,...r?.timeouts}},s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:25e3,read:25e3,write:25e3},logger:b(),requester:f(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[h({key:`${V}-${e}`}),m()]}),...n})}var J="1.27.0";function ee(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,...i}){let a=g(e,t,r),o=k({hosts:[{url:"status.algolia.com",accept:"readWrite",protocol:"https"}],...i,algoliaAgent:v({algoliaAgents:n,client:"Monitoring",version:J}),baseHeaders:{"content-type":"text/plain",...a.headers(),...i.baseHeaders},baseQueryParameters:{...a.queryParameters(),...i.baseQueryParameters}});return{transporter:o,appId:e,apiKey:t,clearCache:()=>Promise.all([o.requestsCache.clear(),o.responsesCache.clear()]).then(()=>void 0),get _ua(){return o.algoliaAgent.value},addAlgoliaAgent(e,t){o.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?o.baseQueryParameters["x-algolia-api-key"]=e:o.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return o.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return o.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return o.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return o.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},getClusterIncidents({clusters:e}
1,t){if(!e)throw Error("Parameter `clusters` is required when calling `getClusterIncidents`.");let r="/1/incidents/{clusters}".replace("{clusters}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getClusterStatus({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getClusterStatus`.");let r="/1/status/{clusters}".replace("{clusters}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getIncidents:e=>o.request({method:"GET",path:"/1/incidents",queryParameters:{},headers:{}},e),getIndexingTime({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getIndexingTime`.");let r="/1/indexing/{clusters}".replace("{clusters}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getLatency({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getLatency`.");let r="/1/latency/{clusters}".replace("{clusters}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getMetrics({metric:e,period:t},r){if(!e)throw Error("Parameter `metric` is required when calling `getMetrics`.");if(!t)throw Error("Parameter `period` is required when calling `getMetrics`.");let n="/1/infrastructure/{metric}/period/{period}".replace("{metric}",encodeURIComponent(e)).replace("{period}",encodeURIComponent(t));return o.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getReachability({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getReachability`.");let r="/1/reachability/{clusters}/probes".replace("{clusters}",encodeURIComponent(e));return o.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getServers:e=>o.request({method:"GET",path:"/1/inventory/servers",queryParameters:{},headers:{}},e),getStatus:e=>o.request({method:"GET",path:"/1/status",queryParameters:{},headers:{}},e)}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:f(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[h({key:`${J}-${e}`}),m()]}),...r})}var et="5.27.0";function er(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,...i}){let a=g(e,t,r),o=k({hosts:[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(P([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}])),...i,algoliaAgent:v({algoliaAgents:n,client:"Recommend",version:et}),baseHeaders:{"content-type":"text/plain",...a.headers(),...i.baseHeaders},baseQueryParameters:{...a.queryParameters(),...i.baseQueryParameters}});return{transporter:o,appId:e,apiKey:t,clearCache:()=>Promise.all([o.requestsCache.clear(),o.responsesCache.clear()]).then(()=>void 0),get _ua(){return o.algoliaAgent.value},addAlgoliaAgent(e,t){o.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?o.baseQueryParameters["x-algolia-api-key"]=e:o.baseHeaders["x-algolia-api-key"]=e},batchRecommendRules({indexName:e,model:t,recommendRule:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `batchRecommendRules`.");if(!t)throw Error("Parameter `model` is required when calling `batchRecommendRules`.");let i="/1/indexes/{indexName}/{model}/recommend/rules/batch".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t));return o.request({method:"POST",path:i,queryParameters:{},headers:{},data:r||{}},n)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return o.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return o.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return o.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return o.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteRecommendRule({indexName:e,model:t,objectID:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `deleteRecommendRule`.");if(!t)throw Error("Parameter `model` is required when calling `deleteRecommendRule`.");if(!r)throw Error("Parameter `objectID` is required when calling `deleteRecommendRule`.");let i="/1/indexes/{indexName}/{model}/recommend/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{objectID}",encodeURIComponent(r));return o.request({method:"DELETE",path:i,queryParameters:{},headers:{}},n)},getRecommendRule({indexName:e,model:t,objectID:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `getRecommendRule`.");if(!t)throw Error("Parameter `model` is required when calling `getRecommendRule`.");if(!r)throw Error("Parameter `objectID` is required when calling `getRecommendRule`.");let i="/1/indexes/{indexName}/{model}/recommend/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{objectID}",encodeURIComponent(r));return o.request({method:"GET",path:i,queryParameters:{},headers:{}},n)},getRecommendStatus({indexName:e,model:t,taskID:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `getRecommendStatus`.");if(!t)throw Error("Parameter `model` is required when calling `getRecommendStatus`.");if(!r)throw Error("Parameter `taskID` is required when calling `getRecommendStatus`.");let i="/1/indexes/{indexName}/{model}/task/{taskID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{taskID}",encodeURIComponent(r));return o.request({method:"GET",path:i,queryParameters:{},headers:{}},n)},getRecommendations(e,t){if(e&&Array.isArray(e)&&(e={requests:e}),!e)throw Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!e.requests)throw Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");let r={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return o.request(r,t)},searchRecommendRules({indexName:e,model:t,searchRecommendRulesParams:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `searchRecommendRules`.");if(!t)throw Error("Parameter `model` is required when calling `searchRecommendRules`.");let i="/1/indexes/{indexName}/{model}/recommend/rules/search".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t));return o.request({method:"POST",path:i,queryParameters:{},headers:{},data:r||{},useReadTransporter:!0,cacheable:!0},n)}}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:f(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[h({key:`${et}-${e}`}),m()]}),...r})}var en=Object.defineProperty,ei=Object.getOwnPropertyDescriptor,ea=Object.getOwnPropertyNames,eo=Object.prototype.hasOwnProperty,es=(e,t)=>{for(var r in t)en(e,r,{get:t[r],enumerable:!0})},el=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of ea(t))eo.call(e,i)||i===r||en(e,i,{get:()=>t[i],enumerable:!(n=ei(t,i))||n.enumerable});return e},eu=(e,t,r)=>(el(e,t,"default"),r&&el(r,t,"default")),ec={};es(ec,{algoliasearch:()=>ef,apiClientVersion:()=>G});var ed={};function ef(e,t,r){let n;if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");let i=W(e,t,r);if(r?.transformation){if(!r.transformation.region)throw Error("`region` must be provided when leveraging the transformation pipeline");n=Q(e,t,r.transformation.region,r)}return{...i,async saveObjectsWithTransformation({indexName:e,objects:t,waitForTasks:i},a){if(!n)throw Error("`transformation.region` must be provided at client instantiation before calling this method.");if(!r?.transformation?.region)throw Error("`region` must be provided when leveraging the transformation pipeline");return n?.push({indexName:e,watch:i,pushTaskPayload:{action:"addObject",records:t}},a)},async partialUpdateObjectsWithTransformation({indexName:e,objects:t,createIfNotExists:i,waitForTasks:a},o){if(!n)throw Error("`transformation.region` must be provided at client instantiation before calling this method.");if(!r?.transformation?.region)throw Error("`region` must be provided when leveraging the transformation pipeline");return n?.push({indexName:e,watch:a,pushTaskPayload:{action:i?"partialUpdateObject":"partialUpdateObjectNoCreate",records:t}},o)},get _ua(){return i.transporter.algoliaAgent.value},initAbtesting:r=>R(r.appId||e,r.apiKey||t,r.region,r.options),initAnalytics:r=>j(r.appId||e,r.apiKey||t,r.region,r.options),initIngestion:r=>Q(r.appId||e,r.apiKey||t,r.region,r.options),initInsights:r=>$(r.appId||e,r.apiKey||t,r.region,r.options),initMonitoring:(r={})=>ee(r.appId||e,r.apiKey||t,r.options),initPersonalization:r=>B(r.appId||e,r.apiKey||t,r.region,r.options),initQuerySuggestions:r=>q(r.appId||e,r.apiKey||t,r.region,r.options),initRecommend:(r={})=>er(r.appId||e,r.apiKey||t,r.options)}}es(ed,{apiClientVersion:()=>G}),eu(ed,n),eu(ed,i),eu(ed,a),eu(ed,o),eu(ed,s),eu(ed,l),eu(ed,u),eu(ed,c),eu(ed,d),eu(ec,ed)},5433:e=>{"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},5572: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);
1(!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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"تÙÚ©Ù",verb:"ÙÙØ±Ù"},file:{unit:"باÛټس",verb:"ÙÙØ±Ù"},array:{unit:"تÙÚ©Ù",verb:"ÙÙØ±Ù"},set:{unit:"تÙÚ©Ù",verb:"ÙÙØ±Ù"}},t={regex:"ÙØ±ÙدÙ",email:"برÛÚÙØ§ÙÛÚ©",url:"Û٠آر اÙ",emoji:"اÛÙ
ÙØ¬Ù",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ÙÛÙ¼Ù Ø§Ù ÙØ®Øª",date:"ÙÛÙ¼Ù",time:"ÙØ®Øª",duration:"Ù
ÙØ¯Ù",ipv4:"د IPv4 پتÙ",ipv6:"د IPv6 پتÙ",cidrv4:"د IPv4 ساØÙ",cidrv6:"د IPv6 ساØÙ",base64:"base64-encoded Ù
تÙ",base64url:"base64url-encoded Ù
تÙ",json_string:"JSON Ù
تÙ",e164:"د E.164 Ø´Ù
ÛØ±Ù",jwt:"JWT",template_literal:"ÙØ±ÙدÙ"},r=>{switch(r.code){case"invalid_type":return`ÙØ§Ø³Ù
ÙØ±ÙدÙ: Ø¨Ø§ÛØ¯ ${r.expected} ÙØ§Û, Ù
ګر ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"عدد";case"object":if(Array.isArray(e))return"ارÛ";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)} ØªØ±ÙØ§Ø³Ù Ø´Ù`;case"invalid_value":if(1===r.values.length)return`ÙØ§Ø³Ù
ÙØ±ÙدÙ: Ø¨Ø§ÛØ¯ ${o.stringifyPrimitive(r.values[0])} ÙØ§Û`;return`ÙØ§Ø³Ù
Ø§ÙØªØ®Ø§Ø¨: Ø¨Ø§ÛØ¯ ÛÙ ÙÙ ${o.joinValues(r.values,"|")} Ú
Ø®Ù ÙØ§Û`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`ÚÛØ± ÙÙÛ: ${r.origin??"Ø§Ø±Ø²ÚØª"} Ø¨Ø§ÛØ¯ ${t}${r.maximum.toString()} ${n.unit??"Ø¹ÙØµØ±ÙÙÙ"} ÙÙØ±Ù`;return`ÚÛØ± ÙÙÛ: ${r.origin??"Ø§Ø±Ø²ÚØª"} Ø¨Ø§ÛØ¯ ${t}${r.maximum.toString()} ÙÙ`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`ÚÛØ± Ú©ÙÚÙÛ: ${r.origin} Ø¨Ø§ÛØ¯ ${t}${r.minimum.toString()} ${n.unit} ÙÙØ±Ù`;return`ÚÛØ± Ú©ÙÚÙÛ: ${r.origin} Ø¨Ø§ÛØ¯ ${t}${r.minimum.toString()} ÙÙ`}case"invalid_format":if("starts_with"===r.format)return`ÙØ§Ø³Ù
Ù
تÙ: Ø¨Ø§ÛØ¯ د "${r.prefix}" سر٠پÛÙ Ø´Ù`;if("ends_with"===r.format)return`ÙØ§Ø³Ù
Ù
تÙ: Ø¨Ø§ÛØ¯ د "${r.suffix}" Ø³Ø±Ù Ù¾Ø§Û ØªÙ ÙØ±Ø³ÙÚÙ`;if("includes"===r.format)return`ÙØ§Ø³Ù
Ù
تÙ: Ø¨Ø§ÛØ¯ "${r.includes}" ÙÙØ±Ù`;if("regex"===r.format)return`ÙØ§Ø³Ù
Ù
تÙ: Ø¨Ø§ÛØ¯ د ${r.pattern} سر٠Ù
Ø·Ø§Ø¨ÙØª ÙÙØ±Ù`;return`${t[r.format]??r.format} ÙØ§Ø³Ù
دÛ`;case"not_multiple_of":return`ÙØ§Ø³Ù
عدد: Ø¨Ø§ÛØ¯ د ${r.divisor} Ù
ضرب ÙÙ`;case"unrecognized_keys":return`ÙØ§Ø³Ù
${r.keys.length>1?"Ú©ÙÛÚÙÙÙ":"Ú©ÙÛÚ"}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`ÙØ§Ø³Ù
Ú©ÙÛÚ Ù¾Ù ${r.origin} Ú©Û`;case"invalid_union":default:return"ÙØ§Ø³Ù
Ù ÙØ±ÙدÙ";case"invalid_element":return`ÙØ§Ø³Ù
Ø¹ÙØµØ± Ù¾Ù ${r.origin} Ú©Û`}})}};let o=a(r(3947))},5671:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=function e(t,r,n){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,r);if(void 0===i){var a=Object.getPrototypeOf(t);if(null===a)return;return e(a,r,n)}if("value"in i)return i.value;var o=i.get;if(void 0!==o)return o.call(n)},o=(n=r(83773))&&n.__esModule?n:{default:n},s=function(e){return(10-e.substr(0,7).split("").map(function(e){return+e}).reduce(function(e,t,r){return r%2?e+t:e+3*t},0)%10)%10};t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");-1!==e.search(/^[0-9]{7}$/)&&(e+=s(e));var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]{8}$/)&&+this.data[7]===s(this.data)}},{key:"leftText",value:function(){return a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var e=this.data.substr(0,4);return a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftEncode",this).call(this,e,"
1LLLL")}},{key:"rightText",value:function(){return a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var e=this.data.substr(4,4);return a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightEncode",this).call(this,e,"RRRR")}}]),t}(o.default)},5772:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ObjectAssertion",{enumerable:!0,get:function(){return s}});var n=r(41285);function i(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 a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return i(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var s=function(){var e;function t(e,r){var i=this,s=this;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");a(this,"obj",void 0),a(this,"path",void 0),a(this,"_errors",void 0),a(this,"catch",void 0),a(this,"exists",void 0),a(this,"object",void 0),a(this,"string",void 0),a(this,"number",void 0),a(this,"array",void 0),a(this,"enum",void 0),a(this,"empty",void 0),a(this,"minLength",void 0),a(this,"noAdditionalProperties",void 0),a(this,"each",void 0),this.obj=e,this.path=r,this._errors=[],this.catch=function(){for(var e,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=s._errors).push.apply(e,o(r))},this.exists=function(e){return e in i.obj||(i.catch((0,n.requiredPropertyError)({property:e,path:i.path.of(e)})),!1)},this.object=function(e){var t,r=e?i.obj[e]:i.obj;if(e&&!i.exists(e))return!1;if((void 0===r?"undefined":r&&"u">typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)=="object"&&!Array.isArray(r)&&null!==r)return!0;var a=e?i.path.of(e):i.path,o=null!=(t=null!=e?e:i.path.last())?t:"value";return i.catch((0,n.typeMismatchError)({typeName:"Object",property:o,path:a,value:r})),!1},this.string=function(e){var t=i.obj[e];return(!e||!!i.exists(e))&&("string"==typeof t||(i.catch((0,n.typeMismatchError)({typeName:"String",property:e,path:i.path.of(e),value:t})),!1))},this.number=function(e,t){var r=i.obj[e];return!!t&&!(e in i.obj)||!!i.exists(e)&&(!("number"!=typeof r||Number.isNaN(r))||(i.catch((0,n.typeMismatchError)({typeName:"Number",property:e,path:i.path.of(e),value:r})),!1))},this.array=function(e){var t=i.obj[e];return(!e||!!i.exists(e))&&(!!Array.isArray(t)||(i.catch((0,n.typeMismatchError)({typeName:"Array",property:e,path:i.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=i.obj[e];return!!("string"==typeof r&&t.includes(r))||(i.catch((0,n.enumError)({expected:t,value:r,path:i.path.of(e)})),!1)},this.empty=function(e){if(!i.array(e))return!1;var t=i.obj[e];return 0===t.length||(i.catch((0,n.maxSizeError)({max:0,value:t,path:i.path.of(e)})),!1)},this.minLength=function(e,t){if(!i.array(e))return!1;var r=i.obj[e];return r.length>=t||(i.catch((0,n.minSizeError)({min:t,value:r,path:i.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(i.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return i.catch((0,n.unknownPropertyError)({property:e,path:i.path.of(e)}))}),0===t.length},this.each=function(e,t){if(i.array(e)){var r=i.obj[e],n=!1;r.forEach(function(r,a){if(!n){var s=t(r,i.path.of(e).of(a));s.length>0&&(n=!0),i.catch.apply(i,o(s))}})}}}return e=[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(r,n){return e._errors.findIndex(function(e){return t(r)===t(e)})===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)}}(t.prototype,e),t}()},5800:(e,t,r)=>{"use strict";var n=r(65320);e.exports=function(e,t){var r=(t||[]).map(function(e){return e.split(":")});return e.reduce(function(e,t){var i=t.split(":"),a=n(r,function(e){return e[0]===i[0]});return i.length>1||!a?(e[0].push(i[0]),e[1].push(i[1])):(e[0].push(a[0]),e[1].push(a[1])),e},[[],[]])}},6112: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);
1(!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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.$ZodCheckOverwrite=t.$ZodCheckMimeType=t.$ZodCheckProperty=t.$ZodCheckEndsWith=t.$ZodCheckStartsWith=t.$ZodCheckIncludes=t.$ZodCheckUpperCase=t.$ZodCheckLowerCase=t.$ZodCheckRegex=t.$ZodCheckStringFormat=t.$ZodCheckLengthEquals=t.$ZodCheckMinLength=t.$ZodCheckMaxLength=t.$ZodCheckSizeEquals=t.$ZodCheckMinSize=t.$ZodCheckMaxSize=t.$ZodCheckBigIntFormat=t.$ZodCheckNumberFormat=t.$ZodCheckMultipleOf=t.$ZodCheckGreaterThan=t.$ZodCheckLessThan=t.$ZodCheck=void 0;let o=a(r(36974)),s=a(r(45410)),l=a(r(3947));t.$ZodCheck=o.$constructor("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])});let u={number:"number",bigint:"bigint",object:"date"};function c(e,t,r){e.issues.length&&t.issues.push(...l.prefixIssues(r,e.issues))}t.$ZodCheckLessThan=o.$constructor("$ZodCheckLessThan",(e,r)=>{t.$ZodCheck.init(e,r);let n=u[typeof r.value];e._zod.onattach.push(e=>{let t=e._zod.bag,n=(r.inclusive?t.maximum:t.exclusiveMaximum)??1/0;r.value<n&&(r.inclusive?t.maximum=r.value:t.exclusiveMaximum=r.value)}),e._zod.check=t=>{(r.inclusive?t.value<=r.value:t.value<r.value)||t.issues.push({origin:n,code:"too_big",maximum:r.value,input:t.value,inclusive:r.inclusive,inst:e,continue:!r.abort})}}),t.$ZodCheckGreaterThan=o.$constructor("$ZodCheckGreaterThan",(e,r)=>{t.$ZodCheck.init(e,r);let n=u[typeof r.value];e._zod.onattach.push(e=>{let t=e._zod.bag,n=(r.inclusive?t.minimum:t.exclusiveMinimum)??-1/0;r.value>n&&(r.inclusive?t.minimum=r.value:t.exclusiveMinimum=r.value)}),e._zod.check=t=>{(r.inclusive?t.value>=r.value:t.value>r.value)||t.issues.push({origin:n,code:"too_small",minimum:r.value,input:t.value,inclusive:r.inclusive,inst:e,continue:!r.abort})}}),t.$ZodCheckMultipleOf=o.$constructor("$ZodCheckMultipleOf",(e,r)=>{t.$ZodCheck.init(e,r),e._zod.onattach.push(e=>{var t;(t=e._zod.bag).multipleOf??(t.multipleOf=r.value)}),e._zod.check=t=>{if(typeof t.value!=typeof r.value)throw Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof t.value?t.value%r.value===BigInt(0):0===l.floatSafeRemainder(t.value,r.value))||t.issues.push({origin:typeof t.value,code:"not_multiple_of",divisor:r.value,input:t.value,inst:e,continue:!r.abort})}}),t.$ZodCheckNumberFormat=o.$constructor("$ZodCheckNumberFormat",(e,r)=>{t.$ZodCheck.init(e,r),r.format=r.format||"float64";let n=r.format?.includes("int"),i=n?"int":"number",[a,o]=l.NUMBER_FORMAT_RANGES[r.format];e._zod.onattach.push(e=>{let t=e._zod.bag;t.format=r.format,t.minimum=a,t.maximum=o,n&&(t.pattern=s.integer)}),e._zod.check=t=>{let s=t.value;if(n){if(!Number.isInteger(s))return void t.issues.push({expected:i,format:r.format,code:"invalid_type",input:s,inst:e});if(!Number.isSafeInteger(s))return void(s>0?t.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,continue:!r.abort}):t.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,continue:!r.abort}))}s<a&&t.issues.push({origin:"number",input:s,code:"too_small",minimum:a,inclusive:!0,inst:e,continue:!r.abort}),s>o&&t.issues.push({origin:"number",input:s,code:"too_big",maximum:o,inst:e})}}),t.$ZodCheckBigIntFormat=o.$constructor("$ZodCheckBigIntFormat",(e,r)=>{t.$ZodCheck.init(e,r);let[n,i]=l.BIGINT_FORMAT_RANGES[r.format];e._zod.onattach.push(e=>{let t=e._zod.bag;t.format=r.format,t.minimum=n,t.maximum=i}),e._zod.check=t=>{let a=t.value;a<n&&t.issues.push({origin:"bigint",input:a,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!r.abort}),a>i&&t.issues.push({origin:"bigint",input:a,code:"too_big",maximum:i,inst:e})}}),t.$ZodCheckMaxSize=o.$constructor("$ZodCheckMaxSize",(e,r)=>{var n;t.$ZodCheck.init(e,r),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!l.nullish(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let t=e._zod.bag.maximum??1/0;r.maximum<t&&(e._zod.bag.maximum=r.maximum)}),e._zod.check=t=>{let n=t.value;n.size<=r.maximum||t.issues.push({origin:l.getSizableOrigin(n),code:"too_big",maximum:r.maximum,input:n,inst:e,continue:!r.abort})}}),t.$ZodCheckMinSize=o.$constructor("$ZodCheckMinSize",(e,r)=>{var n;t.$ZodCheck.init(e,r),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!l.nullish(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let t=e._zod.bag.minimum??-1/0;r.minimum>t&&(e._zod.bag.minimum=r.minimum)}),e._zod.check=t=>{let n=t.value;n.size>=r.minimum||t.issues.push({origin:l.getSizableOrigin(n),code:"too_small",minimum:r.minimum,input:n,inst:e,continue:!r.abort})}}),t.$ZodCheckSizeEquals=o.$constructor("$ZodCheckSizeEquals",(e,r)=>{var n;t.$ZodCheck.init(e,r),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!l.nullish(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let t=e._zod.bag;t.minimum=r.size,t.maximum=r.size,t.size=r.size}),e._zod.check=t=>{let n=t.value,i=n.size;if(i===r.size)return;let a=i>r.size;t.issues.push({origin:l.getSizableOrigin(n),...a?{code:"too_big",maximum:r.size}:{code:"too_small",minimum:r.size},inclusive:!0,exact:!0,input:t.value,inst:e,continue:!r.abort})}}),t.$ZodCheckMaxLength=o.$constructor("$ZodCheckMaxLength",(e,r)=>{var n;t.$ZodCheck.init(e,r),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!l.nullish(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let t=e._zod.bag.maximum??1/0;r.maximum<t&&(e._zod.bag.maximum=r.maximum)}),e._zod.check=t=>{let n=t.value;if(n.length<=r.maximum)return;let i=l.getLengthableOrigin(n);t.issues.push({origin:i,code:"too_big",maximum:r.maximum,inclusive:!0,input:n,inst:e,continue:!r.abort})}}),t.$ZodCheckMinLength=o.$constructor("$ZodCheckMinLength",(e,r)=>{var n;t.$ZodCheck.init(e,r),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!l.nullish(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let t=e._zod.bag.minimum??-1/0;r.minimum>t&&(e._zod.bag.minimum=r.minimum)}),e._zod.check=t=>{let n=t.value;if(n.length>=r.minimum)return;let i=l.getLengthableOrigin(n);t.issues.push({origin:i,code:"too_small",minimum:r.minimum,inclusive:!0,input:n,inst:e,continue:!r.abort})}}),t.$ZodCheckLengthEquals=o.$constructor("$ZodCheckLengthEquals",(e,r)=>{var n;t.$ZodCheck.init(e,r),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!l.nullish(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let t=e._zod.bag;t.minimum=r.length,t.maximum=r.length,t.length=r.length}),e._zod.check=t=>{let n=t.value,i=n.length;if(i===r.length)return;let a=l.getLengthableOrigin(n),o=i>r.length;t.issues.push({origin:a,...o?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length},inclusive:!0,exact:!0,input:t.value,inst:e,continue:!r.abort})}}),t.$ZodCheckStringFormat=o.$constructor("$ZodCheckStringFormat",(e,r)=>{var n,i;t.$ZodCheck.init(e,r),e._zod.onattach.push(e=>{let t=e._zod.bag;t.format=r.format,r.pattern&&(t.patterns??(t.patterns=new Set),t.patterns.add(r.pattern))}),r.pattern?(n=e._zod).check??(n.check=t=>{r.pattern.lastIndex=0,r.pattern.test(t.value)||t.issues.push({origin:"string",code:"invalid_format",format:r.format,input:t.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:e,continue:!r.abort})}):(i=e._zod).check??(i.check=()=>{})}),t.$ZodCheckRegex=o.$constructor("$ZodCheckRegex",(e,r)=>{t.$ZodCheckStringFormat.init(e,r),e._zod.check=t=>{r.pattern.lastIndex=0,r.pattern.test(t.value)||t.issues.push({origin:"string",code:"invalid_format",format:"regex",input:t.value,pattern:r.pattern.toString(),inst:e,continue:!r.abort})}}),t.$ZodCheckLowerCase=o.$constructor("$ZodCheckLowerCase",(e,r)=>{r.pattern??(r.pattern=s.lowercase),t.$ZodCheckStringFormat.init(e,r)}),t.$ZodCheckUpperCase=o.$constructor("$ZodCheckUpperCase",(e,r)=>{r.pattern??(r.pattern=s.uppercase),t.$ZodCheckStringFormat.init(e,r)}),t.$ZodCheckIncludes=o.$constructor("$ZodCheckIncludes",(e,r)=>{t.$ZodCheck.init(e,r);let n=l.escapeRegex(r.includes),i=new RegExp("number"==typeof r.position?`^.{${r.position}}${n}`:n);r.pattern=i,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(i)}),e._zod.check=t=>{t.value.includes(r.includes,r.position)||t.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:r.includes,input
1:t.value,inst:e,continue:!r.abort})}}),t.$ZodCheckStartsWith=o.$constructor("$ZodCheckStartsWith",(e,r)=>{t.$ZodCheck.init(e,r);let n=RegExp(`^${l.escapeRegex(r.prefix)}.*`);r.pattern??(r.pattern=n),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=t=>{t.value.startsWith(r.prefix)||t.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:r.prefix,input:t.value,inst:e,continue:!r.abort})}}),t.$ZodCheckEndsWith=o.$constructor("$ZodCheckEndsWith",(e,r)=>{t.$ZodCheck.init(e,r);let n=RegExp(`.*${l.escapeRegex(r.suffix)}$`);r.pattern??(r.pattern=n),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=t=>{t.value.endsWith(r.suffix)||t.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:r.suffix,input:t.value,inst:e,continue:!r.abort})}}),t.$ZodCheckProperty=o.$constructor("$ZodCheckProperty",(e,r)=>{t.$ZodCheck.init(e,r),e._zod.check=e=>{let t=r.schema._zod.run({value:e.value[r.property],issues:[]},{});if(t instanceof Promise)return t.then(t=>c(t,e,r.property));c(t,e,r.property)}}),t.$ZodCheckMimeType=o.$constructor("$ZodCheckMimeType",(e,r)=>{t.$ZodCheck.init(e,r);let n=new Set(r.mime);e._zod.onattach.push(e=>{e._zod.bag.mime=r.mime}),e._zod.check=t=>{n.has(t.value.type)||t.issues.push({code:"invalid_value",values:r.mime,input:t.value.type,inst:e})}}),t.$ZodCheckOverwrite=o.$constructor("$ZodCheckOverwrite",(e,r)=>{t.$ZodCheck.init(e,r),e._zod.check=e=>{e.value=r.tx(e.value)}})},6129:(e,t,r)=>{"use strict";r.d(t,{k:()=>i});var n=r(29306);let i={ordinalNumber:(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:(0,n.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,n.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,n.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,n.o)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,n.o)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},6141:(e,t)=>{"use strict";function r(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 n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Path",{enumerable:!0,get:function(){return i}});var i=function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!(this instanceof e))throw TypeError("Cannot call a class as a function");n(this,"path",void 0),n(this,"of",void 0),n(this,"isRoot",void 0),n(this,"last",void 0),n(this,"toArray",void 0),this.path=i,this.of=function(n){var i;return new e(((function(e){if(Array.isArray(e))return r(e)})(i=t.path)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e){if(e){if("string"==typeof e)return r(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,void 0)}}(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([n]))},this.isRoot=function(){return 0===t.path.length},this.last=function(){return t.path[t.path.length-1]},this.toArray=function(){return t.path}}},6713:(e,t,r)=>{"use strict";r.d(t,{o:()=>i});let n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},i=(e,t,r,i)=>n[e]},7005:(e,t,r)=>{"use strict";function n(){}r.d(t,{l:()=>n})},7166: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);
1(!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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}},t={regex:"vnos",email:"e-poÅ¡tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in Äas",date:"ISO datum",time:"ISO Äas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 Å¡tevilka",jwt:"JWT",template_literal:"vnos"},r=>{switch(r.code){case"invalid_type":return`Neveljaven vnos: priÄakovano ${r.expected}, prejeto ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"Å¡tevilo";case"object":if(Array.isArray(e))return"tabela";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Neveljaven vnos: priÄakovano ${o.stringifyPrimitive(r.values[0])}`;return`Neveljavna možnost: priÄakovano eno izmed ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Preveliko: priÄakovano, da bo ${r.origin??"vrednost"} imelo ${t}${r.maximum.toString()} ${n.unit??"elementov"}`;return`Preveliko: priÄakovano, da bo ${r.origin??"vrednost"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Premajhno: priÄakovano, da bo ${r.origin} imelo ${t}${r.minimum.toString()} ${n.unit}`;return`Premajhno: priÄakovano, da bo ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Neveljaven niz: mora se zaÄeti z "${r.prefix}"`;if("ends_with"===r.format)return`Neveljaven niz: mora se konÄati z "${r.suffix}"`;if("includes"===r.format)return`Neveljaven niz: mora vsebovati "${r.includes}"`;if("regex"===r.format)return`Neveljaven niz: mora ustrezati vzorcu ${r.pattern}`;return`Neveljaven ${t[r.format]??r.format}`;case"not_multiple_of":return`Neveljavno Å¡tevilo: mora biti veÄkratnik ${r.divisor}`;case"unrecognized_keys":return`Neprepoznan${r.keys.length>1?"i kljuÄi":" kljuÄ"}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Neveljaven kljuÄ v ${r.origin}`;case"invalid_union":default:return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${r.origin}`}})}};let o=a(r(3947))},7413:(e,t,r)=>{"use strict";r.d(t,{X:()=>a});var n=r(74180),i=r(89133);function a(e){let[t,r]=n.useState(void 0);return(0,i.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},7480:(e,t,r)=>{let n=r(56665);e.exports=(n.__esModule?n:{default:n}).default},7671: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=/[ -,\.\/:-@\[\]\^`\{-~]/,a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,o=function e(t,o){"single"!=(o=r(o,e.options)).quotes&&"double"!=o.quotes&&(o.quotes="single");for(var s="double"==o.quotes?'"':"'",l=o.isIdentifier,u=t.charAt(0),c="",d=0,f=t.length;d<f;
1){var h=t.charAt(d++),p=h.charCodeAt(),m=void 0;if(p<32||p>126){if(p>=55296&&p<=56319&&d<f){var g=t.charCodeAt(d++);(64512&g)==56320?p=((1023&p)<<10)+(1023&g)+65536:d--}m="\\"+p.toString(16).toUpperCase()+" "}else m=o.escapeEverything?n.test(h)?"\\"+h:"\\"+p.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(h)?"\\"+p.toString(16).toUpperCase()+" ":"\\"==h||!l&&('"'==h&&s==h||"'"==h&&s==h)||l&&i.test(h)?"\\"+h:h;c+=m}return(l&&(/^-[-\d]/.test(c)?c="\\-"+c.slice(1):/\d/.test(u)&&(c="\\3"+u+" "+c.slice(1))),c=c.replace(a,function(e,t,r){return t&&t.length%2?e:(t||"")+r}),!l&&o.wrap)?s+c+s:c};o.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},o.version="3.0.0",e.exports=o},7744:(e,t,r)=>{"use strict";let n,i,a;r.d(t,{RC:()=>G,qr:()=>W});var o=r(74180),s=r(78998),l=r(54797);function u(){let e,t;return n||(e=(0,s.a)(),n={smoothScroll:(t=(0,s.g)()).documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}),n}function c(e={}){return i||(i=function({userAgent:e}={}){let t=u(),r=(0,s.a)(),n=r.navigator.platform,i=e||r.navigator.userAgent,a={ios:!1,android:!1},o=r.screen.width,l=r.screen.height,c=i.match(/(Android);?[\s\/]+([\d.]+)?/),d=i.match(/(iPad)(?!\1).*OS\s([\d_]+)/),f=i.match(/(iPod)(.*OS\s([\d_]+))?/),h=!d&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="MacIntel"===n;return!d&&p&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${l}`)>=0&&((d=i.match(/(Version)\/([\d.]+)/))||(d=[0,1,"13_0_0"]),p=!1),c&&"Win32"!==n&&(a.os="android",a.android=!0),(d||h||f)&&(a.os="ios",a.ios=!0),a}(e)),i}function d(){return a||(a=function(){let e=(0,s.a)(),t=c(),r=!1;function n(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(n()){let t=String(e.navigator.userAgent);if(t.includes("Version/")){let[e,n]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));r=e<16||16===e&&n<2}}let i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),a=n(),o=a||i&&t.ios;return{isSafari:r||a,needPerspectiveFix:r,need3dFix:o,isWebView:i}}()),a}let f=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)},h=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)},p=(e,t)=>{if(!e||e.destroyed||!e.params)return;let r=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(r){let t=r.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(r.shadowRoot?t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&!t.lazyPreloaderManaged&&t.remove()})),t&&!t.lazyPreloaderManaged&&t.remove()}},m=(e,t)=>{if(!e.slides[t])return;let r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},g=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);let n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let r=[i-t];r.push(...Array.from({length:t}).map((e,t)=>i+n+t)),e.slides.forEach((t,n)=>{r.includes(t.column)&&m(e,n)});return}let a=i+n-1;if(e.params.rewind||e.params.loop)for(let n=i-t;n<=a+t;n+=1){let t=(n%r+r)%r;(t<i||t>a)&&m(e,t)}else for(let n=Math.max(i-t,0);n<=Math.min(a+t,r-1);n+=1)n!==i&&(n>a||n<i)&&m(e,n)};function y({swiper:e,runCallbacks:t,direction:r,step:n}){let{activeIndex:i,previousIndex:a}=e,o=r;o||(o=i>a?"next":i<a?"prev":"reset"),e.emit(`transition${n}`),t&&"reset"===o?e.emit(`slideResetTransition${n}`):t&&i!==a&&(e.emit(`slideChangeTransition${n}`),"next"===o?e.emit(`slideNextTransition${n}`):e.emit(`slidePrevTransition${n}`))}function v(e,t,r){let n=(0,s.a)(),{params:i}=e,a=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return!a||!(r<=o)&&!(r>=n.innerWidth-o)||"prevent"===a&&(t.preventDefault(),!0)}function b(e){if(this.destroyed)return;let t=(0,s.g)(),r=e;r.originalEvent&&(r=r.originalEvent);let n=this.touchEventsData;if("pointerdown"===r.type){if(null!==n.pointerId&&n.pointerId!==r.pointerId)return;n.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(n.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)return void v(this,r,r.targetTouches[0].pageX);let{params:i,touches:a,enabled:o}=this;if(!o||!i.simulateTouch&&"mouse"===r.pointerType||this.animating&&i.preventInteractionOnTransition)return;!this.animating&&i.cssMode&&i.loop&&this.loopFix();let u=r.target;if("wrapper"===i.touchEventsTarget&&!(0,l.w)(u,this.wrapperEl)||"which"in r&&3===r.which||"button"in r&&r.button>0||n.isTouched&&n.isMoved)return;let c=!!i.noSwipingClass&&""!==i.noSwipingClass,d=r.composedPath?r.composedPath():r.path;
1c&&r.target&&r.target.shadowRoot&&d&&(u=d[0]);let f=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,h=!!(r.target&&r.target.shadowRoot);if(i.noSwiping&&(h?function(e,t=this){return function t(r){if(!r||r===(0,s.g)()||r===(0,s.a)())return null;r.assignedSlot&&(r=r.assignedSlot);let n=r.closest(e);return n||r.getRootNode?n||t(r.getRootNode().host):null}(t)}(f,u):u.closest(f))){this.allowClick=!0;return}if(i.swipeHandler&&!u.closest(i.swipeHandler))return;a.currentX=r.pageX,a.currentY=r.pageY;let p=a.currentX,m=a.currentY;if(!v(this,r,p))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=m,n.touchStartTime=(0,l.h)(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,i.threshold>0&&(n.allowThresholdMove=!1);let g=!0;u.matches(n.focusableElements)&&(g=!1,"SELECT"===u.nodeName&&(n.isTouched=!1)),t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==u&&("mouse"===r.pointerType||"mouse"!==r.pointerType&&!u.matches(n.focusableElements))&&t.activeElement.blur();let y=g&&this.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||y)&&!u.isContentEditable&&r.preventDefault(),i.freeMode&&i.freeMode.enabled&&this.freeMode&&this.animating&&!i.cssMode&&this.freeMode.onTouchStart(),this.emit("touchStart",r)}function E(e){let t,r,n=(0,s.g)();if(this.destroyed)return;let i=this.touchEventsData,{params:a,touches:o,rtlTranslate:u,enabled:c}=this;if(!c||!a.simulateTouch&&"mouse"===e.pointerType)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type&&(null!==i.touchId||d.pointerId!==i.pointerId))return;if("touchmove"===d.type){if(!(t=[...d.changedTouches].find(e=>e.identifier===i.touchId))||t.identifier!==i.touchId)return}else t=d;if(!i.isTouched){i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",d);return}let f=t.pageX,h=t.pageY;if(d.preventedByNestedSwiper){o.startX=f,o.startY=h;return}if(!this.allowTouchMove){d.target.matches(i.focusableElements)||(this.allowClick=!1),i.isTouched&&(Object.assign(o,{startX:f,startY:h,currentX:f,currentY:h}),i.touchStartTime=(0,l.h)());return}if(a.touchReleaseOnEdges&&!a.loop){if(this.isVertical()){if(h<o.startY&&this.translate<=this.maxTranslate()||h>o.startY&&this.translate>=this.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(u&&(f>o.startX&&-this.translate<=this.maxTranslate()||f<o.startX&&-this.translate>=this.minTranslate()))return;else if(!u&&(f<o.startX&&this.translate<=this.maxTranslate()||f>o.startX&&this.translate>=this.minTranslate()))return}if(n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==d.target&&"mouse"!==d.pointerType&&n.activeElement.blur(),n.activeElement&&d.target===n.activeElement&&d.target.matches(i.focusableElements)){i.isMoved=!0,this.allowClick=!1;return}i.allowTouchCallbacks&&this.emit("touchMove",d),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=f,o.currentY=h;let p=o.currentX-o.startX,m=o.currentY-o.startY;if(this.params.threshold&&Math.sqrt(p**2+m**2)<this.params.threshold)return;if(void 0===i.isScrolling){let e;this.isHorizontal()&&o.currentY===o.startY||this.isVertical()&&o.currentX===o.startX?i.isScrolling=!1:p*p+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(p))/Math.PI,i.isScrolling=this.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(i.isScrolling&&this.emit("touchMoveOpposite",d),void 0===i.startMoving&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(i.startMoving=!0),i.isScrolling||"touchmove"===d.type&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;this.allowClick=!1,!a.cssMode&&d.cancelable&&d.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&d.stopPropagation();let g=this.isHorizontal()?p:m,y=this.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;a.oneWayMovement&&(g=Math.abs(g)*(u?1:-1),y=Math.abs(y)*(u?1:-1)),o.diff=g,g*=a.touchRatio,u&&(g=-g,y=-y);let v=this.touchesDirection;this.swipeDirection=g>0?"prev":"next",this.touchesDirection=y>0?"prev":"next";let b=this.params.loop&&!a.cssMode,E="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!i.isMoved){if(b&&E&&this.loopFix({direction:this.swipeDirection}),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});
1this.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,a.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",d)}if(new Date().getTime(),!1!==a._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&v!==this.touchesDirection&&b&&E&&Math.abs(g)>=1){Object.assign(o,{startX:f,startY:h,currentX:f,currentY:h,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}this.emit("sliderMove",d),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let _=!0,S=a.resistanceRatio;if(a.touchReleaseOnEdges&&(S=0),g>0?(b&&E&&!r&&i.allowThresholdMove&&i.currentTranslate>(a.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]-("auto"!==a.slidesPerView&&this.slides.length-a.slidesPerView>=2?this.slidesSizesGrid[this.activeIndex+1]+this.params.spaceBetween:0)-this.params.spaceBetween:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>this.minTranslate()&&(_=!1,a.resistance&&(i.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+i.startTranslate+g)**S))):g<0&&(b&&E&&!r&&i.allowThresholdMove&&i.currentTranslate<(a.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween+("auto"!==a.slidesPerView&&this.slides.length-a.slidesPerView>=2?this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween:0):this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===a.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),i.currentTranslate<this.maxTranslate()&&(_=!1,a.resistance&&(i.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-i.startTranslate-g)**S))),_&&(d.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),this.allowSlidePrev||this.allowSlideNext||(i.currentTranslate=i.startTranslate),a.threshold>0)if(Math.abs(g)>a.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,i.currentTranslate=i.startTranslate,o.diff=this.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{i.currentTranslate=i.startTranslate;return}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&this.freeMode||a.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}function _(e){let t,r,n=this;if(n.destroyed)return;let i=n.touchEventsData,a=e;if(a.originalEvent&&(a=a.originalEvent),"touchend"===a.type||"touchcancel"===a.type){if(!(t=[...a.changedTouches].find(e=>e.identifier===i.touchId))||t.identifier!==i.touchId)return}else{if(null!==i.touchId||a.pointerId!==i.pointerId)return;t=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&!(["pointercancel","contextmenu"].includes(a.type)&&(n.browser.isSafari||n.browser.isWebView)))return;i.pointerId=null,i.touchId=null;let{params:o,touches:s,rtlTranslate:u,slidesGrid:c,enabled:d}=n;if(!d||!o.simulateTouch&&"mouse"===a.pointerType)return;if(i.allowTouchCallbacks&&n.emit("touchEnd",a),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&o.grabCursor&&n.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}o.grabCursor&&i.isMoved&&i.isTouched&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!1);let f=(0,l.h)(),h=f-i.touchStartTime;if(n.allowClick){let e=a.path||a.composedPath&&a.composedPath();n.updateClickedSlide(e&&e[0]||a.target,e),n.emit("tap click",a),h<300&&f-i.lastClickTime<300&&n.emit("doubleTap doubleClick",a)}if(i.lastClickTime=(0,l.h)(),(0,l.n)(()=>{n.destroyed||(n.allowClick=!0)}),!i.isTouched||!i.isMoved||!n.swipeDirection||0===s.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,r=o.followFinger?u?n.translate:-n.translate:-i.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled)return void n.freeMode.onTouchEnd({currentPos:r});let p=r>=-n.maxTranslate()&&!n.params.loop,m=0,g=n.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<o.slidesPerGroupSkip?1:o.slidesPerGroup){let t=e<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==c[e+t]?(p||r>=c[e]&&r<c[e+t])&&(m=e,g=c[e+t]-c[e]):(p||r>=c[e])&&(m=e,g=c[c.length-1]-c[c.length-2])}let y=null,v=null;o.rewind&&(n.isBeginning?v=o.virtual&&o.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1:n.isEnd&&(y=0));let b=(r-c[m])/g,E=m<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(h>o.longSwipesMs){if(!o.longSwipes)return void n.slideTo(n.activeIndex);"next"===n.swipeDirection&&(b>
1=o.longSwipesRatio?n.slideTo(o.rewind&&n.isEnd?y:m+E):n.slideTo(m)),"prev"===n.swipeDirection&&(b>1-o.longSwipesRatio?n.slideTo(m+E):null!==v&&b<0&&Math.abs(b)>o.longSwipesRatio?n.slideTo(v):n.slideTo(m))}else{if(!o.shortSwipes)return void n.slideTo(n.activeIndex);n.navigation&&(a.target===n.navigation.nextEl||a.target===n.navigation.prevEl)?a.target===n.navigation.nextEl?n.slideTo(m+E):n.slideTo(m):("next"===n.swipeDirection&&n.slideTo(null!==y?y:m+E),"prev"===n.swipeDirection&&n.slideTo(null!==v?v:m))}}function S(){let e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:n,allowSlidePrev:i,snapGrid:a}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let s=o&&t.loop;if("auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s)e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);else{let t=o?e.virtual.slides:e.slides;e.slideTo(t.length-1,0,!1,!0)}e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function w(e){this.destroyed||this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function T(){if(this.destroyed)return;let{wrapperEl:e,rtlTranslate:t,enabled:r}=this;if(!r)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let n=this.maxTranslate()-this.minTranslate();(0===n?0:(this.translate-this.minTranslate())/n)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function O(e){this.destroyed||(p(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update())}function x(){this.destroyed||!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let P=(e,t)=>{let r=(0,s.g)(),{params:n,el:i,wrapperEl:a,device:o}=e,l=!!n.nested,u="on"===t?"addEventListener":"removeEventListener";i&&"string"!=typeof i&&(r[u]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),i[u]("touchstart",e.onTouchStart,{passive:!1}),i[u]("pointerdown",e.onTouchStart,{passive:!1}),r[u]("touchmove",e.onTouchMove,{passive:!1,capture:l}),r[u]("pointermove",e.onTouchMove,{passive:!1,capture:l}),r[u]("touchend",e.onTouchEnd,{passive:!0}),r[u]("pointerup",e.onTouchEnd,{passive:!0}),r[u]("pointercancel",e.onTouchEnd,{passive:!0}),r[u]("touchcancel",e.onTouchEnd,{passive:!0}),r[u]("pointerout",e.onTouchEnd,{passive:!0}),r[u]("pointerleave",e.onTouchEnd,{passive:!0}),r[u]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[u]("click",e.onClick,!0),n.cssMode&&a[u]("scroll",e.onScroll),n.updateOnWindowResize?e[t](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",S,!0):e[t]("observerUpdate",S,!0),i[u]("load",e.onLoad,{capture:!0}))},A=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var k={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesB
1ounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let I={eventsEmitter:{on(e,t,r){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;let i=r?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][i](t)}),n},once(e,t,r){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;function i(...r){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(n,r)}return i.__emitterProxy=t,n.on(e,i,r)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let r=this;return r.eventsListeners&&!r.destroyed&&r.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach((n,i)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(i,1)})}),r},emit(...e){let t,r,n,i=this;return i.eventsListeners&&!i.destroyed&&i.eventsListeners&&("string"==typeof e[0]||Array.isArray(e[0])?(t=e[0],r=e.slice(1,e.length),n=i):(t=e[0].events,r=e[0].data,n=e[0].context||i),r.unshift(n),(Array.isArray(t)?t:t.split(" ")).forEach(e=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(t=>{t.apply(n,[e,...r])}),i.eventsListeners&&i.eventsListeners[e]&&i.eventsListeners[e].forEach(e=>{e.apply(n,r)})})),i}},update:{updateSize:function(){let e,t,r=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:r.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:r.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt((0,l.q)(r,"padding-left")||0,10)-parseInt((0,l.q)(r,"padding-right")||0,10),t=t-parseInt((0,l.q)(r,"padding-top")||0,10)-parseInt((0,l.q)(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e,t=this;function r(e,r){return parseFloat(e.getPropertyValue(t.getDirectionLabel(r))||0)}let n=t.params,{wrapperEl:i,slidesEl:a,rtlTranslate:o,wrongRTL:s}=t,u=t.virtual&&n.virtual.enabled,c=u?t.virtual.slides.length:t.slides.length,d=(0,l.e)(a,`.${t.params.slideClass}, swiper-slide`),f=u?t.virtual.slides.length:d.length,h=[],p=[],m=[],g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(t));let y=n.slidesOffsetAfter;"function"==typeof y&&(y=n.slidesOffsetAfter.call(t));let v=t.snapGrid.length,b=t.slidesGrid.length,E=t.size-g-y,_=n.spaceBetween,S=-g,w=0,T=0;if(void 0===E)return;"string"==typeof _&&_.indexOf("%")>=0?_=parseFloat(_.replace("%",""))/100*E:"string"==typeof _&&(_=parseFloat(_)),t.virtualSize=-_-g-y,d.forEach(e
1=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&((0,l.b)(i,"--swiper-centered-offset-before",""),(0,l.b)(i,"--swiper-centered-offset-after","")),n.cssMode&&((0,l.b)(i,"--swiper-slides-offset-before",`${g}px`),(0,l.b)(i,"--swiper-slides-offset-after",`${y}px`));let O=n.grid&&n.grid.rows>1&&t.grid;O?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let x="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let i=0;i<f;i+=1){e=0;let a=d[i];if(!a||(O&&t.grid.updateSlide(i,a,d),"none"!==(0,l.q)(a,"display"))){if(u&&"auto"===n.slidesPerView)n.virtual.slidesPerViewAutoSlideSize&&(e=n.virtual.slidesPerViewAutoSlideSize),e&&a&&(n.roundLengths&&(e=Math.floor(e)),a.style[t.getDirectionLabel("width")]=`${e}px`);else if("auto"===n.slidesPerView){x&&(a.style[t.getDirectionLabel("width")]="");let i=getComputedStyle(a),o=a.style.transform,s=a.style.webkitTransform;if(o&&(a.style.transform="none"),s&&(a.style.webkitTransform="none"),n.roundLengths)e=t.isHorizontal()?(0,l.i)(a,"width",!0):(0,l.i)(a,"height",!0);else{let t=r(i,"width"),n=r(i,"padding-left"),o=r(i,"padding-right"),s=r(i,"margin-left"),l=r(i,"margin-right"),u=i.getPropertyValue("box-sizing");if(u&&"border-box"===u)e=t+s+l;else{let{clientWidth:r,offsetWidth:i}=a;e=t+n+o+s+l+(i-r)}}o&&(a.style.transform=o),s&&(a.style.webkitTransform=s),n.roundLengths&&(e=Math.floor(e))}else e=(E-(n.slidesPerView-1)*_)/n.slidesPerView,n.roundLengths&&(e=Math.floor(e)),a&&(a.style[t.getDirectionLabel("width")]=`${e}px`);a&&(a.swiperSlideSize=e),m.push(e),n.centeredSlides?(S=S+e/2+w/2+_,0===w&&0!==i&&(S=S-E/2-_),0===i&&(S=S-E/2-_),.001>Math.abs(S)&&(S=0),n.roundLengths&&(S=Math.floor(S)),T%n.slidesPerGroup==0&&h.push(S),p.push(S)):(n.roundLengths&&(S=Math.floor(S)),(T-Math.min(t.params.slidesPerGroupSkip,T))%t.params.slidesPerGroup==0&&h.push(S),p.push(S),S=S+e+_),t.virtualSize+=e+_,w=e,T+=1}}if(t.virtualSize=Math.max(t.virtualSize,E)+y,o&&s&&("slide"===n.effect||"coverflow"===n.effect)&&(i.style.width=`${t.virtualSize+_}px`),n.setWrapperSize&&(i.style[t.getDirectionLabel("width")]=`${t.virtualSize+_}px`),O&&t.grid.updateWrapperSize(e,h),!n.centeredSlides){let e="auto"!==n.slidesPerView&&n.slidesPerView%1!=0,r=n.snapToSlideEdge&&!n.loop&&("auto"===n.slidesPerView||e),i=h.length;if(r){let e;if("auto"===n.slidesPerView){e=1;let t=0;for(let r=m.length-1;r>=0;r-=1)if((t+=m[r]+(r<m.length-1?_:0))<=E)e=m.length-r;else break}else e=Math.floor(n.slidesPerView);i=Math.max(f-e,0)}let a=[];for(let e=0;e<h.length;e+=1){let o=h[e];n.roundLengths&&(o=Math.floor(o)),r?e<=i&&a.push(o):h[e]<=t.virtualSize-E&&a.push(o)}h=a,Math.floor(t.virtualSize-E)-Math.floor(h[h.length-1])>1&&!r&&h.push(t.virtualSize-E)}if(u&&n.loop){let e=m[0]+_;if(n.slidesPerGroup>1){let r=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),i=e*n.slidesPerGroup;for(let e=0;e<r;e+=1)h.push(h[h.length-1]+i)}for(let r=0;r<t.virtual.slidesBefore+t.virtual.slidesAfter;r+=1)1===n.slidesPerGroup&&h.push(h[h.length-1]+e),p.push(p[p.length-1]+e),t.virtualSize+=e}if(0===h.length&&(h=[0]),0!==_){let e=t.isHorizontal()&&o?"marginLeft":t.getDirectionLabel("marginRight");d.filter((e,t)=>!n.cssMode||!!n.loop||t!==d.length-1).forEach(t=>{t.style[e]=`${_}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;m.forEach(t=>{e+=t+(_||0)});let t=(e-=_)>E?e-E:0;h=h.map(e=>e<=0?-g:e>t?t+y:e)}if(n.centerInsufficientSlides){let e=0;if(m.forEach(t=>{e+=t+(_||0)}),(e-=_)<E){let t=(E-e)/2;h.forEach((e,r)=>{h[r]=e-t}),p.forEach((e,r)=>{p[r]=e+t})}}if(Object.assign(t,{slides:d,snapGrid:h,slidesGrid:p,slidesSizesGrid:m}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,l.b)(i,"--swiper-centered-offset-before",`${-h[0]}px`),(0,l.b)(i,"--swiper-centered-offset-after",`${t.size/2-m[m.length-1]/2}px`);let e=-t.snapGrid[0],r=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+r)}if(f!==c&&t.emit("slidesLengthChange"),h.length!==v&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==b&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!u&&!n.cssMode&&("slide"===n.effect||"fade"===n.effect)){let e=`${n.containerModifierClass}backface-hidden`,r=t.el.classList.contains(e);f<=n.maxBackfaceHiddenSlides?r||t.el.classList.add(e):r&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t,r=this,n=[],i=r.virtual&&r.params.virtual.enabled,a=0;"number"==typeof e?r.setTransition(e):!0===e&&r.setTransition(r.params.speed);let o=e=>i?r.slides[r.getSlideIndexByData(e)]:r.slides[e];if("auto"!==r.params.slidesPerView&&r.params.slidesPerView>
11)if(r.params.centeredSlides)(r.visibleSlides||[]).forEach(e=>{n.push(e)});else for(t=0;t<Math.ceil(r.params.slidesPerView);t+=1){let e=r.activeIndex+t;if(e>r.slides.length&&!i)break;n.push(o(e))}else n.push(o(r.activeIndex));for(t=0;t<n.length;t+=1)if(void 0!==n[t]){let e=n[t].offsetHeight;a=e>a?e:a}(a||0===a)&&(r.wrapperEl.style.height=`${a}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let r=0;r<e.length;r+=1)e[r].swiperSlideOffset=(this.isHorizontal()?e[r].offsetLeft:e[r].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){let t=this.params,{slides:r,rtlTranslate:n,snapGrid:i}=this;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&this.updateSlidesOffset();let a=-e;n&&(a=e),this.visibleSlidesIndexes=[],this.visibleSlides=[];let o=t.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*this.size:"string"==typeof o&&(o=parseFloat(o));for(let e=0;e<r.length;e+=1){let s=r[e],l=s.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(l-=r[0].swiperSlideOffset);let u=(a+(t.centeredSlides?this.minTranslate():0)-l)/(s.swiperSlideSize+o),c=(a-i[0]+(t.centeredSlides?this.minTranslate():0)-l)/(s.swiperSlideSize+o),d=-(a-l),h=d+this.slidesSizesGrid[e],p=d>=0&&d<=this.size-this.slidesSizesGrid[e],m=d>=0&&d<this.size-1||h>1&&h<=this.size||d<=0&&h>=this.size;m&&(this.visibleSlides.push(s),this.visibleSlidesIndexes.push(e)),f(s,m,t.slideVisibleClass),f(s,p,t.slideFullyVisibleClass),s.progress=n?-u:u,s.originalProgress=n?-c:c}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let t=this.params,r=this.maxTranslate()-this.minTranslate(),{progress:n,isBeginning:i,isEnd:a,progressLoop:o}=this,s=i,l=a;if(0===r)n=0,i=!0,a=!0;else{n=(e-this.minTranslate())/r;let t=1>Math.abs(e-this.minTranslate()),o=1>Math.abs(e-this.maxTranslate());i=t||n<=0,a=o||n>=1,t&&(n=0),o&&(n=1)}if(t.loop){let t=this.getSlideIndexByData(0),r=this.getSlideIndexByData(this.slides.length-1),n=this.slidesGrid[t],i=this.slidesGrid[r],a=this.slidesGrid[this.slidesGrid.length-1],s=Math.abs(e);(o=s>=n?(s-n)/a:(s+a-i)/a)>1&&(o-=1)}Object.assign(this,{progress:n,progressLoop:o,isBeginning:i,isEnd:a}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),i&&
1!s&&this.emit("reachBeginning toEdge"),a&&!l&&this.emit("reachEnd toEdge"),(s&&!i||l&&!a)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){let e,t,r,{slides:n,params:i,slidesEl:a,activeIndex:o}=this,s=this.virtual&&i.virtual.enabled,u=this.grid&&i.grid&&i.grid.rows>1,c=e=>(0,l.e)(a,`.${i.slideClass}${e}, swiper-slide${e}`)[0];if(s)if(i.loop){let t=o-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=c(`[data-swiper-slide-index="${t}"]`)}else e=c(`[data-swiper-slide-index="${o}"]`);else u?(e=n.find(e=>e.column===o),r=n.find(e=>e.column===o+1),t=n.find(e=>e.column===o-1)):e=n[o];e&&!u&&(r=(0,l.r)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!r&&(r=n[0]),t=(0,l.t)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop),n.forEach(n=>{h(n,n===e,i.slideActiveClass),h(n,n===r,i.slideNextClass),h(n,n===t,i.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){let t,r,n=this,i=n.rtlTranslate?n.translate:-n.translate,{snapGrid:a,params:o,activeIndex:s,realIndex:l,snapIndex:u}=n,c=e,d=e=>{let t=e-n.virtual.slidesBefore;return t<0&&(t=n.virtual.slides.length+t),t>=n.virtual.slides.length&&(t-=n.virtual.slides.length),t};if(void 0===c&&(c=function(e){let t,{slidesGrid:r,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<r.length;e+=1)void 0!==r[e+1]?i>=r[e]&&i<r[e+1]-(r[e+1]-r[e])/2?t=e:i>=r[e]&&i<r[e+1]&&(t=e+1):i>=r[e]&&(t=e);return n.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(n)),a.indexOf(i)>=0)t=a.indexOf(i);else{let e=Math.min(o.slidesPerGroupSkip,c);t=e+Math.floor((c-e)/o.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),c===s&&!n.params.loop){t!==u&&(n.snapIndex=t,n.emit("snapIndexChange"));return}if(c===s&&n.params.loop&&n.virtual&&n.params.virtual.enabled){n.realIndex=d(c);return}let f=n.grid&&o.grid&&o.grid.rows>1;if(n.virtual&&o.virtual.enabled)r=o.loop?d(c):c;else if(f){let e=n.slides.find(e=>e.column===c),t=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(n.slides.indexOf(e),0)),r=Math.floor(t/o.grid.rows)}else if(n.slides[c]){let e=n.slides[c].getAttribute("data-swiper-slide-index");r=e?parseInt(e,10):c}else r=c;Object.assign(n,{previousSnapIndex:u,snapIndex:t,previousRealIndex:l,realIndex:r,previousIndex:s,activeIndex:c}),n.initialized&&g(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&(l!==r&&n.emit("realIndexChange"),n.emit("slideChange"))},updateClickedSlide:function(e,t){let r,n=this.params,i=e.closest(`.${n.slideClass}, swiper-slide`);!i&&this.isElement&&t&&t.length>
11&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!i&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(i=e)});let a=!1;if(i){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===i){a=!0,r=e;break}}if(i&&a)this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=r;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}n.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e=this.isHorizontal()?"x":"y"){let{params:t,rtlTranslate:r,translate:n,wrapperEl:i}=this;if(t.virtualTranslate)return r?-n:n;if(t.cssMode)return n;let a=(0,l.l)(i,e);return a+=this.cssOverflowAdjustment(),r&&(a=-a),a||0},setTranslate:function(e,t){let{rtlTranslate:r,params:n,wrapperEl:i,progress:a}=this,o=0,s=0;this.isHorizontal()?o=r?-e:e:s=e,n.roundLengths&&(o=Math.floor(o),s=Math.floor(s)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?o:s,n.cssMode?i[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-o:-s:n.virtualTranslate||(this.isHorizontal()?o-=this.cssOverflowAdjustment():s-=this.cssOverflowAdjustment(),i.style.transform=`translate3d(${o}px, ${s}px, 0px)`);let l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==a&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,r=!0,n=!0,i){let a,o=this,{params:s,wrapperEl:u}=o;if(o.animating&&s.preventInteractionOnTransition)return!1;let c=o.minTranslate(),d=o.maxTranslate();if(a=n&&e>c?c:n&&e<d?d:e,o.updateProgress(a),s.cssMode){let e=o.isHorizontal();if(0===t)u[e?"scrollLeft":"scrollTop"]=-a;else{if(!o.support.smoothScroll)return(0,l.u)({swiper:o,targetPosition:-a,side:e?"left":"top"}),!0;u.scrollTo({[e?"left":"top"]:-a,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(a),r&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(a),r&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){!o||o.destroyed||e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,r&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e=!0,t){let{params:r}=this;r.cssMode||(r.autoHeight&&this.updateAutoHeight(),y({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){let{params:r}=this;this.animating=!1,r.cssMode||(this.setTransition(0),y({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e=0,t,r=!0,n,i){let a;"string"==typeof e&&(e=parseInt(e,10));let o=this,s=e;s<0&&(s=0);let{params:u,snapGrid:c,slidesGrid:f,previousIndex:h,activeIndex:p,rtlTranslate:m,wrapperEl:g,enabled:y}=o;if(!y&&!n&&!i||o.destroyed||o.animating&&u.preventInteractionOnTransition)return!1;void 0===t&&(t=o.params.speed);let v=Math.min(o.params.slidesPerGroupSkip,s),b=v+Math.floor((s-v)/o.params.slidesPerGroup);b>=c.length&&(b=c.length-1);let E=-c[b];if(u.normalizeSlideIndex)for(let e=0;e<f.length;e+=1){let t=-Math.floor(100*E),r=Math.floor(100*f[e]),n=Math.floor(100*f[e+1]);void 0!==f[e+1]?t>=r&&t<n-(n-r)/2?s=e:t>=r&&t<n&&(s=e+1):t>=r&&(s=e)}if(o.initialized&&s!==p&&(!o.allowSlideNext&&(m?E>o.translate&&E>o.minTranslate():E<o.translate&&E<o.minTranslate())||!o.allowSlidePrev&&E>o.translate&&E>o.maxTranslate()&&(p||0)!==s))return!1;s!==(h||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(E),a=s>p?"next":s<p?"prev":"reset";let _=o.virtual&&o.params.virtual.enabled;if(!(_&&i)&&(m&&-E===o.translate||!m&&E===o.translate))return o.updateActiveIndex(s),u.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==u.effect&&o.setTranslate(E),"reset"!==a&&(o.transitionStart(r,a),o.transitionEnd(r,a)),!1;if(u.cssMode){let e=o.isHorizontal(),r=m?E:-E;if(0===t)_&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),_&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{g[e?"scrollLeft":"scrollTop"]=r})):g[e?"scrollLeft":"scrollTop"]=r,_&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1});else{if(!o.support.smoothScroll)return(0,l.u)({swiper:o,targetPosition:r,side:e?"left"
1:"top"}),!0;g.scrollTo({[e?"left":"top"]:r,behavior:"smooth"})}return!0}let S=d().isSafari;return _&&!i&&S&&o.isElement&&o.virtual.update(!1,!1,s),o.setTransition(t),o.setTranslate(E),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,n),o.transitionStart(r,a),0===t?o.transitionEnd(r,a):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){!o||o.destroyed||e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(r,a))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t,r=!0,n){"string"==typeof e&&(e=parseInt(e,10));let i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);let a=i.grid&&i.params.grid&&i.params.grid.rows>1,o=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o+=i.virtual.slidesBefore;else{let e;if(a){let t=o*i.params.grid.rows;e=i.slides.find(e=>+e.getAttribute("data-swiper-slide-index")===t).column}else e=i.getSlideIndexByData(o);let t=a?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:r,slidesOffsetBefore:s,slidesOffsetAfter:l}=i.params,u=r||!!s||!!l,c=i.params.slidesPerView;"auto"===c?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2==0&&(c+=1));let d=t-e<c;if(u&&(d=d||e<Math.ceil(c/2)),n&&u&&"auto"!==i.params.slidesPerView&&!a&&(d=!1),d){let r=u?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:r,slideTo:!0,activeSlideIndex:"next"===r?e+1:e-t+1,slideRealIndex:"next"===r?i.realIndex:void 0})}if(a){let e=o*i.params.grid.rows;o=i.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e).column}else o=i.getSlideIndexByData(o)}return requestAnimationFrame(()=>{i.slideTo(o,t,r,n)}),i},slideNext:function(e,t=!0,r){let n=this,{enabled:i,params:a,animating:o}=n;if(!i||n.destroyed)return n;void 0===e&&(e=n.params.speed);let s=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));let l=n.activeIndex<a.slidesPerGroupSkip?1:s,u=n.virtual&&a.virtual.enabled;if(a.loop){if(o&&!u&&a.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&a.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,e,t,r)}),!0}return a.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+l,e,t,r)},slidePrev:function(e,t=!0,r){let n=this,{params:i,snapGrid:a,slidesGrid:o,rtlTranslate:s,enabled:l,animating:u}=n;if(!l||n.destroyed)return n;void 0===e&&(e=n.params.speed);let c=n.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let f=d(s?n.translate:-n.translate),h=a.map(e=>d(e)),p=i.freeMode&&i.freeMode.enabled,m=a[h.indexOf(f)-1];if(void 0===m&&(i.cssMode||p)){let e;a.forEach((t,r)=>{f>=t&&(e=r)}),void 0!==e&&(m=p?a[e]:a[e>0?e-1:e])}let g=0;if(void 0!==m&&((g=o.indexOf(m))<0&&(g=n.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(g=Math.max(g=g-n.slidesPerViewDynamic("previous",!0)+1,0))),i.rewind&&n.isBeginning){let i=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(i,e,t,r)}return i.loop&&0===n.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{n.slideTo(g,e,t,r)}),!0):n.slideTo(g,e,t,r)},slideReset:function(e,t=!0,r){if(!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,r)},slideToClosest:function(e,t=!0,r,n=.5){if(this.destroyed)return;void 0===e&&(e=this.params.speed);let i=this.activeIndex,a=Math.min(this.params.slidesPerGroupSkip,i),o=a+Math.floor((i-a)/this.params.slidesPerGroup),s=this.rtlTranslate?this.translate:-this.translate;if(s>=this.snapGrid[o]){let e=this.snapGrid[o];s-e>(this.snapGrid[o+1]-e)*n&&(i+=this.params.slidesPerGroup)}else{let e=this.snapGrid[o-1];s-e<=(this.snapGrid[o]-e)*n&&(i-=this.params.slidesPerGroup)}return i=Math.min(i=Math.max(i,0),this.slidesGrid.length-1),this.slideTo(i,e,t,r)},slideToClickedSlide:function(){let e,t=this;if(t.destroyed)return;let{params:r,slidesEl:n}=t,i="auto"===r.slidesPerView?t.slidesPerViewDynamic():r.slidesPerView,a=t.getSlideIndexWhenGrid(t.clickedIndex),o=t.isElement?"swiper-slide":`.${r.slideClass}`,s=t.grid&&t.params.grid&&t.params.grid.rows>1;if(r.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),r.centeredSlides?t.slideToLoop(e):a>(s?(t.slides.length-i)/2-(t.params.grid.rows-1):t.slides.length-i)?(t.loopFix(),a=t.getSlideIndex((0,l.e)(n,`${o}[data-swiper-slide-index="${e}"]`)[0]),(0,l.n)(()=>{t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}},loop:{loopCreate:function(e,t){let r,n=this,{params:i,slidesEl:a}=n;
1if(!i.loop||n.virtual&&n.params.virtual.enabled)return;let o=n.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||o)&&((r=(0,l.e)(a,`.${i.slideBlankClass}`)).forEach(e=>{e.remove()}),r.length>0&&(n.recalcSlides(),n.updateSlides()));let s=i.slidesPerGroup*(o?i.grid.rows:1),u=n.slides.length%s!=0,c=o&&n.slides.length%i.grid.rows!=0,d=e=>{for(let t=0;t<e;t+=1){let e=n.isElement?(0,l.c)("swiper-slide",[i.slideBlankClass]):(0,l.c)("div",[i.slideClass,i.slideBlankClass]);n.slidesEl.append(e)}};u?i.loopAddBlankSlides?(d(s-n.slides.length%s),n.recalcSlides(),n.updateSlides()):(0,l.v)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):c&&(i.loopAddBlankSlides?(d(i.grid.rows-n.slides.length%i.grid.rows),n.recalcSlides(),n.updateSlides()):(0,l.v)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),(0,l.e)(a,`.${i.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)});let f=i.centeredSlides||!!i.slidesOffsetBefore||!!i.slidesOffsetAfter;n.loopFix({slideRealIndex:e,direction:f?void 0:"next",initial:t})},loopFix:function({slideRealIndex:e,slideTo:t=!0,direction:r,setTranslate:n,activeSlideIndex:i,initial:a,byController:o,byMousewheel:s}={}){let u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");let{slides:c,allowSlidePrev:d,allowSlideNext:f,slidesEl:h,params:p}=u,{centeredSlides:m,slidesOffsetBefore:g,slidesOffsetAfter:y,initialSlide:v}=p,b=m||!!g||!!y;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&p.virtual.enabled){t&&(b||0!==u.snapIndex?b&&u.snapIndex<p.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=d,u.allowSlideNext=f,u.emit("loopFix");return}let E=p.slidesPerView;"auto"===E?E=u.slidesPerViewDynamic():(E=Math.ceil(parseFloat(p.slidesPerView,10)),b&&E%2==0&&(E+=1));let _=p.slidesPerGroupAuto?E:p.slidesPerGroup,S=b?Math.max(_,Math.ceil(E/2)):_;S%_!=0&&(S+=_-S%_),u.loopedSlides=S+=p.loopAdditionalSlides;let w=u.grid&&p.grid&&p.grid.rows>1;c.length<E+S||"cards"===u.params.effect&&c.length<E+2*S?(0,l.v)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):w&&"row"===p.grid.fill&&(0,l.v)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let T=[],O=[],x=w?Math.ceil(c.length/p.grid.rows):c.length,P=a&&x-v<E&&!b,A=P?v:u.activeIndex;void 0===i?i=u.getSlideIndex(c.find(e=>e.classList.contains(p.slideActiveClass))):A=i;let k="next"===r||!r,I="prev"===r||!r,C=0,R=0,D=(w?c[i].column:i)+(b&&void 0===n?-E/2+.5:0);if(D<S){C=Math.max(S-D,_);for(let e=0;e<S-D;e+=1){let t=e-Math.floor(e/x)*x;if(w){let e=x-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&T.push(t)}else T.push(x-t-1)}}else if(D+E>x-S){R=Math.max(D-(x-2*S),_),P&&(R=Math.max(R,E-x+v+1));for(let e=0;e<R;e+=1){let t=e-Math.floor(e/x)*x;w?c.forEach((e,r)=>{e.column===t&&O.push(r)}):O.push(t)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),"cards"===u.params.effect&&c.length<E+2*S&&(O.includes(i)&&O.splice(O.indexOf(i),1),T.includes(i)&&T.splice(T.indexOf(i),1)),I&&T.forEach(e=>{c[e].swiperLoopMoveDOM=!0,h.prepend(c[e]),c[e].swiperLoopMoveDOM=!1}),k&&O.forEach(e=>{c[e].swiperLoopMoveDOM=!0,h.append(c[e]),c[e].swiperLoopMoveDOM=!1}),u.recalcSlides(),"auto"===p.slidesPerView?u.updateSlides():w&&(T.length>0&&I||O.length>0&&k)&&u.slides.forEach((e,t)=>{u.grid.updateSlide(t,e,u.slides)}),p.watchSlidesProgress&&u.updateSlidesOffset(),t){if(T.length>0&&I){if(void 0===e){let e=u.slidesGrid[A],t=u.slidesGrid[A+C]-e;s?u.setTranslate(u.translate-t):(u.slideTo(A+Math.ceil(C),0,!1,!0),n&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else if(n){let e=w?T.length/p.grid.rows:T.length;u.slideTo(u.activeIndex+e,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(O.length>0&&k)if(void 0===e){let e=u.slidesGrid[A],t=u.slidesGrid[A-R]-e;s?u.setTranslate(u.translate-t):(u.slideTo(A-R,0,!1,!0),n&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else{let e=w?O.length/p.grid.rows:O.length;u.slideTo(u.activeIndex-e,0,!1,!0)}}if(u.allowSlidePrev=d,u.allowSlideNext=f,u.controller&&u.controller.control&&!o){let a={slideRealIndex:e,direction:r,setTranslate:n,activeSlideIndex:i,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(e
1=>{!e.destroyed&&e.params.loop&&e.loopFix({...a,slideTo:e.params.slidesPerView===p.slidesPerView&&t})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...a,slideTo:u.controller.control.params.slidesPerView===p.slidesPerView&&t})}u.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||!t||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let r=[];this.slides.forEach(e=>{r[void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),r.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let{params:e}=this;this.onTouchStart=b.bind(this),this.onTouchMove=E.bind(this),this.onTouchEnd=_.bind(this),this.onDocumentTouchStart=x.bind(this),e.cssMode&&(this.onScroll=T.bind(this)),this.onClick=w.bind(this),this.onLoad=O.bind(this),P(this,"on")},detachEvents:function(){P(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:r,params:n,el:i}=e,a=n.breakpoints;if(!a||a&&0===Object.keys(a).length)return;let o=(0,s.g)(),u="window"!==n.breakpointsBase&&n.breakpointsBase?"container":n.breakpointsBase,c=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?e.el:o.querySelector(n.breakpointsBase),d=e.getBreakpoint(a,u,c);if(!d||e.currentBreakpoint===d)return;let f=(d in a?a[d]:void 0)||e.originalParams,h=A(e,n),p=A(e,f),m=e.params.grabCursor,g=f.grabCursor,y=n.enabled;h&&!p?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!h&&p&&(i.classList.add(`${n.containerModifierClass}grid`),(f.grid.fill&&"column"===f.grid.fill||!f.grid.fill&&"column"===n.grid.fill)&&i.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),m&&!g?e.unsetGrabCursor():!m&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===f[t])return;let r=n[t]&&n[t].enabled,i=f[t]&&f[t].enabled;r&&!i&&e[t].disable(),!r&&i&&e[t].enable()});let v=f.direction&&f.direction!==n.direction,b=n.loop&&(f.slidesPerView!==n.slidesPerView||v),E=n.loop;v&&r&&e.changeDirection(),(0,l.x)(e.params,f);let _=e.params.enabled,S=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),y&&!_?e.disable():!y&&_&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",f),r&&(b?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!E&&S?(e.loopCreate(t),e.updateSlides()):E&&!S&&e.loopDestroy()),e.emit("breakpoint",f)},getBreakpoint:function(e,t="window",r){if(!e||"container"===t&&!r)return;let n=!1,i=(0,s.a)(),a="window"===t?i.innerHeight:r.clientHeight,o=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:a*parseFloat(e.substr(1)),point:e}:{value:e,point:e});o.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<o.length;e+=1){let{point:a,value:s}=o[e];"window"===t?i.matchMedia(`(min-width: ${s}px)`).matches&&(n=a):s<=r.clientWidth&&(n=a)}return n||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:r}=t;if(r){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*r;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit
1(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var e,t;let r,{classNames:n,params:i,rtl:a,el:o,device:s}=this,l=(e=["initialized",i.direction,{"free-mode":this.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:a},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],t=i.containerModifierClass,r=[],e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(n=>{e[n]&&r.push(t+n)}):"string"==typeof e&&r.push(t+e)}),r);n.push(...l),o.classList.add(...n),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},C={};class R{constructor(...e){let t,r;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?r=e[0]:[t,r]=e,r||(r={}),r=(0,l.x)({},r),t&&!r.el&&(r.el=t);const n=(0,s.g)();if(r.el&&"string"==typeof r.el&&n.querySelectorAll(r.el).length>1){const e=[];return n.querySelectorAll(r.el).forEach(t=>{let n=(0,l.x)({},r,{el:t});e.push(new R(n))}),e}const i=this;i.__swiper__=!0,i.support=u(),i.device=c({userAgent:r.userAgent}),i.browser=d(),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],r.modules&&Array.isArray(r.modules)&&r.modules.forEach(e=>{"function"==typeof e&&0>i.modules.indexOf(e)&&i.modules.push(e)});const a={};i.modules.forEach(e=>{var t;e({params:r,swiper:i,extendParams:(t=r,function(e={}){let r=Object.keys(e)[0],n=e[r];"object"!=typeof n||null===n||(!0===t[r]&&(t[r]={enabled:!0}),"navigation"===r&&t[r]&&t[r].enabled&&!t[r].prevEl&&!t[r].nextEl&&(t[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&t[r]&&t[r].enabled&&!t[r].el&&(t[r].auto=!0),r in t&&"enabled"in n&&("object"!=typeof t[r]||"enabled"in t[r]||(t[r].enabled=!0),t[r]||(t[r]={enabled:!1}))),(0,l.x)(a,e)}),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});const o=(0,l.x)({},k,a);return i.params=(0,l.x)({},o,C,r),i.originalParams=(0,l.x)({},i.params),i.passedParams=(0,l.x)({}
1,r),i.params&&i.params.on&&Object.keys(i.params.on).forEach(e=>{i.on(e,i.params.on[e])}),i.params&&i.params.onAny&&i.onAny(i.params.onAny),Object.assign(i,{enabled:i.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===i.params.direction,isVertical:()=>"vertical"===i.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}getDirectionLabel(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}getSlideIndex(e){let{slidesEl:t,params:r}=this,n=(0,l.e)(t,`.${r.slideClass}, swiper-slide`),i=(0,l.j)(n[0]);return(0,l.j)(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=(0,l.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let r=this.minTranslate(),n=(this.maxTranslate()-r)*e+r;this.translateTo(n,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(r=>{let n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){let{params:r,slides:n,slidesGrid:i,slidesSizesGrid:a,size:o,activeIndex:s}=this,l=1;if("number"==typeof r.slidesPerView)return r.slidesPerView;if(r.centeredSlides){let e,t=n[s]?Math.ceil(n[s].swiperSlideSize):0;for(let r=s+1;r<n.length;r+=1)n[r]&&!e&&(t+=Math.ceil(n[r].swiperSlideSize),l+=1,t>o&&(e=!0));for(let r=s-1;r>=0;r-=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=s+1;e<n.length;e+=1)(t?i[e]+a[e]-i[s]<o:i[e]-i[s]<o)&&(l+=1);else for(let e=s-1;e>=0;e-=1)i[s]-i[e]<o&&(l+=1);return l}update(){let e,t=this;if(!t||t.destroyed)return;let{snapGrid:r,params:n}=t;function i(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(n.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&p(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&t.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&t.isEnd&&!n.centeredSlides){let r=t.virtual&&n.virtual.enabled?t.virtual.slides:t.slides;
1e=t.slideTo(r.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||i()}n.watchOverflow&&r!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t=!0){let r=this.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${r}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;let r=e||t.params.el;if("string"==typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,i=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(n()):(0,l.e)(r,n())[0];return!i&&t.params.createElements&&(i=(0,l.c)("div",t.params.wrapperClass),r.append(i),(0,l.e)(r,`.${t.params.slideClass}`).forEach(e=>{i.append(e)})),Object.assign(t,{el:r,wrapperEl:i,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:i,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===(0,l.q)(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===(0,l.q)(r,"direction")),wrongRTL:"-webkit-box"===(0,l.q)(i,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();let r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(e=>{e.complete?p(t,e):e.addEventListener("load",e=>{p(t,e.target)})}),g(t),t.initialized=!0,g(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){let r=this,{params:n,el:i,wrapperEl:a,slides:o}=r;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),a&&a.removeAttribute("style"),o&&o.length&&o.forEach(e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(e=>{r.off(e)}),!1!==e&&(r.el&&"string"!=typeof r.el&&(r.el.swiper=null),(0,l.y)(r)),r.destroyed=!0),null}static extendDefaults(e){(0,l.x)(C,e)}static get extendedDefaults(){return C}static get defaults(){return k}static installModule(e){R.prototype.__modules__||(R.prototype.__modules__=[]);let t=R.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>R.installModule(e)):R.installModule(e),R}}Object.keys(I).forEach(e=>{Object.keys(I[e]).forEach(t=>{R.prototype[t]=I[e][t]})}),R.use([function({swiper:e,on:t,emit:r}){let n=(0,s.a)(),i=null,a=null,o=()=>{e&&!e.destroyed&&e.initialized&&(r("beforeResize"),r("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&r("orientationchange")};t("init",()=>{e.params.resizeObserver&&void 0!==n.ResizeObserver?e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver(t=>{a=n.requestAnimationFrame(()=>{let{width:r,height:n}=e,i=r,a=n;t.forEach(({contentBoxSize:t,contentRect:r,target:n})=>{n&&n!==e.el||(i=r?r.width:(t[0]||t).inlineSize,a=r?r.height:(t[0]||t).blockSize)}),(i!==r||a!==n)&&o()})})).observe(e.el):(n.addEventListener("resize",o),n.addEventListener("orientationchange",l))}),t("destroy",()=>{a&&n.cancelAnimationFrame(a),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",l)})},function({swiper:e,extendParams:t,on:r,emit:n}){let i=[],a=(0,s.a)(),o=(t,r={})=>{let o=new(a.MutationObserver||a.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(1===t.length)return void n("observerUpdate",t[0]);let r=function(){n("observerUpdate",t[0])};a.requestAnimationFrame?a.requestAnimationFrame(r):a.setTimeout(r,0)});o.observe(t,{attributes:void 0===r.attributes||r.attributes,childList:e.isElement||(void 0===r.childList||r).childList,characterData:void 0===r.characterData||r.characterData}),i.push(o)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",()=>{if(e.params.observer){if(e.params.observeParents){let t=(0,l.d)(e.hostEl);for(let e=0;e<t.length;e+=1)o(t[e])}o(e.hostEl,{childList:e.params.observeSlideChildren}),o(e.wrapperEl,{attributes:!1})}}),r("destroy",()=>
1{i.forEach(e=>{e.disconnect()}),i.splice(0,i.length)})}]);let D=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_snapToSlideEdge","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function N(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function j(e,t){let r=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>r.indexOf(e)).forEach(r=>{void 0===e[r]?e[r]=t[r]:N(t[r])&&N(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:j(e[r],t[r]):e[r]=t[r]})}function M(e={}){return e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function L(e={}){return e.pagination&&void 0===e.pagination.el}function $(e={}){return e.scrollbar&&void 0===e.scrollbar.el}function U(e=""){let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),r=[];return t.forEach(e=>{0>r.indexOf(e)&&r.push(e)}),r.join(" ")}function F(){return(F=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 B(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function z(e,t){return"u"<typeof window?(0,o.useEffect)(e,t):(0,o.useLayoutEffect)(e,t)}let H=(0,o.createContext)(null),q=(0,o.createContext)(null),G=(0,o.forwardRef)(({className:e,tag:t="div",wrapperTag:r="div",children:n,onSwiper:i,...a}={},s)=>{let u,c,d=!1,[f,h]=(0,o.useState)("swiper"),[p,m]=(0,o.useState)(null),[g,y]=(0,o.useState)(!1),v=(0,o.useRef)(!1),b=(0,o.useRef)(null),E=(0,o.useRef)(null),_=(0,o.useRef)(null),S=(0,o.useRef)(null),w=(0,o.useRef)(null),T=(0,o.useRef)(null),O=(0,o.useRef)(null),x=(0,o.useRef)(null),{params:P,passedParams:A,rest:I,events:C}=function(e={},t=!0){let r={on:{}},n={},i={};j(r,k),r._emitClasses=!0,r.init=!1;let a={},o=D.map(e=>e.replace(/_/,""));return Object.keys(Object.assign({},e)).forEach(s=>{void 0!==e[s]&&(o.indexOf(s)>=0?N(e[s])?(r[s]={},i[s]={},j(r[s],e[s]),j(i[s],e[s])):(r[s]=e[s],i[s]=e[s]):0===s.search(/on[A-Z]/)&&"function"==typeof e[s]?t?n[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:r.on[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:a[s]=e[s])}
1),["navigation","pagination","scrollbar"].forEach(e=>{!0===r[e]&&(r[e]={}),!1===r[e]&&delete r[e]}),{params:r,passedParams:i,rest:a,events:n}}(a),{slides:H,slots:G}=(u=[],c={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},o.Children.toArray(n).forEach(e=>{if(B(e))u.push(e);else if(e.props&&e.props.slot&&c[e.props.slot])c[e.props.slot].push(e);else if(e.props&&e.props.children){let t=function e(t){let r=[];return o.Children.toArray(t).forEach(t=>{B(t)?r.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>r.push(e))}),r}(e.props.children);t.length>0?t.forEach(e=>u.push(e)):c["container-end"].push(e)}else c["container-end"].push(e)}),{slides:u,slots:c}),W=()=>{y(!g)};Object.assign(P.on,{_containerClasses(e,t){h(t)}});let V=()=>{Object.assign(P.on,C),d=!0;let e={...P};if(delete e.wrapperClass,E.current=new R(e),E.current.virtual&&E.current.params.virtual.enabled){E.current.virtual.slides=H;let e={cache:!1,slides:H,renderExternal:m,renderExternalUpdate:!1};j(E.current.params.virtual,e),j(E.current.originalParams.virtual,e)}};return b.current||V(),E.current&&E.current.on("_beforeBreakpoint",W),(0,o.useEffect)(()=>()=>{E.current&&E.current.off("_beforeBreakpoint",W)}),(0,o.useEffect)(()=>{!v.current&&E.current&&(E.current.emitSlidesClasses(),v.current=!0)}),z(()=>{if(s&&(s.current=b.current),b.current)return E.current.destroyed&&V(),!function({el:e,nextEl:t,prevEl:r,paginationEl:n,scrollbarEl:i,swiper:a},o){M(o)&&t&&r&&(a.params.navigation.nextEl=t,a.originalParams.navigation.nextEl=t,a.params.navigation.prevEl=r,a.originalParams.navigation.prevEl=r),L(o)&&n&&(a.params.pagination.el=n,a.originalParams.pagination.el=n),$(o)&&i&&(a.params.scrollbar.el=i,a.originalParams.scrollbar.el=i),a.init(e)}({el:b.current,nextEl:w.current,prevEl:T.current,paginationEl:O.current,scrollbarEl:x.current,swiper:E.current},P),i&&!E.current.destroyed&&i(E.current),()=>{E.current&&!E.current.destroyed&&E.current.destroy(!0,!1)}},[]),z(()=>{!d&&C&&E.current&&Object.keys(C).forEach(e=>{E.current.on(e,C[e])});let e=function(e,t,r,n,i){let a=[];if(!t)return a;let o=e=>{0>a.indexOf(e)&&a.push(e)};if(r&&n){let e=n.map(i),t=r.map(i);e.join("")!==t.join("")&&o("children"),n.length!==r.length&&o("children")}return D.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(r=>{if(r in e&&r in t)if(N(e[r])&&N(t[r])){let n=Object.keys(e[r]),i=Object.keys(t[r]);n.length!==i.length?o(r):(n.forEach(n=>{e[r][n]!==t[r][n]&&o(r)}),i.forEach(n=>{e[r][n]!==t[r][n]&&o(r)}))}else e[r]!==t[r]&&o(r)}),a}(A,_.current,H,S.current,e=>e.key);return _.current=A,S.current=H,e.length&&E.current&&!E.current.destroyed&&function({swiper:e,slides:t,passedParams:r,changedParams:n,nextEl:i,prevEl:a,scrollbarEl:o,paginationEl:s}){let u,c,d,f,h,p,m,g,y=n.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:v,pagination:b,navigation:E,scrollbar:_,virtual:S,thumbs:w}=e;n.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&!r.thumbs.swiper.destroyed&&v.thumbs&&(!v.thumbs.swiper||v.thumbs.swiper.destroyed)&&(u=!0),n.includes("controller")&&r.controller&&r.controller.control&&v.controller&&!v.controller.control&&(c=!0),n.includes("pagination")&&r.pagination&&(r.pagination.el||s)&&(v.pagination||!1===v.pagination)&&b&&!b.el&&(d=!0),n.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||o)&&(v.scrollbar||!1===v.scrollbar)&&_&&!_.el&&(f=!0),n.includes("navigation")&&r.navigation&&(r.navigation.prevEl||a)&&(r.navigation.nextEl||i)&&(v.navigation||!1===v.navigation)&&E&&!E.prevEl&&!E.nextEl&&(h=!0);let T=t=>{e[t]&&(e[t].destroy(),"navigation"===t?(e.isElement&&(e[t].prevEl.remove(),e[t].nextEl.remove()),v[t].prevEl=void 0,v[t].nextEl=void 0,e[t].prevEl=void 0,e[t].nextEl=void 0):(e.isElement&&e[t].el.remove(),v[t].el=void 0,e[t].el=void 0))};n.includes("loop")&&e.isElement&&(v.loop&&!r.loop?p=!0:!v.loop&&r.loop?m=!0:g=!0),y.forEach(e=>{if(N(v[e])&&N(r[e]))Object.assign(v[e],r[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in r[e]&&!r[e].enabled&&T(e);else{let t=r[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&T(e):v[e]=r[e]}}),y.includes("controller")&&!c&&e.controller&&e.controller.control&&v.controller&&v.controller.control&&(e.controller.control=v.controller.control),n.includes("children")&&t&&S&&v.virtual.enabled?(S.slides=t,S.update(!0)):n.includes("virtual")&&S&&v.virtual.enabled&&(t&&(S.slides=t),S.update(!0)),n.includes("children")&&t&&v.loop&&(g=!0),u&&w.init()&&w.update(!0),c&&(e.controller.control=v.controller.control),d&&(e.isElement&&(!s||"string"==typeof s)&&((s=document.createElement("div")).classList.add("swiper-pagination"),s.part.add("pagination"),e.el.appendChild(s)),s&&(v.pagination.el=s),b.init(),b.render(),b.update(
1)),f&&(e.isElement&&(!o||"string"==typeof o)&&((o=document.createElement("div")).classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(v.scrollbar.el=o),_.init(),_.updateSize(),_.setTranslate()),h&&(e.isElement&&(i&&"string"!=typeof i||((i=document.createElement("div")).classList.add("swiper-button-next"),(0,l.s)(i,e.navigation.arrowSvg),i.part.add("button-next"),e.el.appendChild(i)),a&&"string"!=typeof a||((a=document.createElement("div")).classList.add("swiper-button-prev"),(0,l.s)(a,e.navigation.arrowSvg),a.part.add("button-prev"),e.el.appendChild(a))),i&&(v.navigation.nextEl=i),a&&(v.navigation.prevEl=a),E.init(),E.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=r.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=r.allowSlidePrev),n.includes("direction")&&e.changeDirection(r.direction,!1),(p||g)&&e.loopDestroy(),(m||g)&&e.loopCreate(),e.update()}({swiper:E.current,slides:H,passedParams:A,changedParams:e,nextEl:w.current,prevEl:T.current,scrollbarEl:x.current,paginationEl:O.current}),()=>{C&&E.current&&Object.keys(C).forEach(e=>{E.current.off(e,C[e])})}}),z(()=>{var e;(e=E.current)&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())},[p]),o.createElement(t,F({ref:b,className:U(`${f}${e?` ${e}`:""}`)},I),o.createElement(q.Provider,{value:E.current},G["container-start"],o.createElement(r,{className:function(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}(P.wrapperClass)},G["wrapper-start"],P.virtual?function(e,t,r){if(!r)return null;let n=e=>{let r=e;return e<0?r=t.length+e:r>=t.length&&(r-=t.length),r},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:a,to:s}=r,l=e.params.loop?-t.length:0,u=e.params.loop?2*t.length:t.length,c=[];for(let e=l;e<u;e+=1)e>=a&&e<=s&&c.push(t[n(e)]);return c.map((t,r)=>o.cloneElement(t,{swiper:e,style:i,key:t.props.virtualIndex||t.key||`slide-${r}`}))}(E.current,H,p):H.map((e,t)=>o.cloneElement(e,{swiper:E.current,swiperSlideIndex:t})),G["wrapper-end"]),M(P)&&o.createElement(o.Fragment,null,o.createElement("div",{ref:T,className:"swiper-button-prev"}),o.createElement("div",{ref:w,className:"swiper-button-next"})),$(P)&&o.createElement("div",{ref:x,className:"swiper-scrollbar"}),L(P)&&o.createElement("div",{ref:O,className:"swiper-pagination"}),G["container-end"]))});G.displayName="Swiper";let W=(0,o.forwardRef)(({tag:e="div",children:t,className:r="",swiper:n,zoom:i,lazy:a,virtualIndex:s,swiperSlideIndex:l,...u}={},c)=>{let d=(0,o.useRef)(null),[f,h]=(0,o.useState)("swiper-slide"),[p,m]=(0,o.useState)(!1);function g(e,t,r){t===d.current&&h(r)}z(()=>{if(void 0!==l&&(d.current.swiperSlideIndex=l),c&&(c.current=d.current),d.current&&n){if(n.destroyed){"swiper-slide"!==f&&h("swiper-slide");return}return n.on("_slideClass",g),()=>{n&&n.off("_slideClass",g)}}}),z(()=>{n&&d.current&&!n.destroyed&&h(n.getSlideClasses(d.current))},[n]);let y={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isFullyVisible:f.indexOf("swiper-slide-fully-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},v=()=>"function"==typeof t?t(y):t;return o.createElement(e,F({ref:d,className:U(`${f}${r?` ${r}`:""}`),"data-swiper-slide-index":s,onLoad:()=>{m(!0)}},u),i&&o.createElement(H.Provider,{value:y},o.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof i?i:void 0},v(),a&&!p&&o.createElement("div",{className:"swiper-lazy-preloader",ref:e=>{e&&(e.lazyPreloaderManaged=!0)}}))),!i&&o.createElement(H.Provider,{value:y},v(),a&&!p&&o.createElement("div",{className:"swiper-lazy-preloader",ref:e=>{e&&(e.lazyPreloaderManaged=!0)}})))});W.displayName="SwiperSlide"},7854:(e,t,r)=>{"use strict";r.d(t,{a:()=>i});var n=r(69472);function i(e,t){return(0,n.w)(t||e,e)}},7991:(e,t,r)=>{"use strict";r.d(t,{b:()=>u});var n=r(93994),i=r(6713),a=r(6129),o=r(55171),s=r(38900);let l={date:(0,s.k)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,s.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,s.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={code:"en-GB",formatDistance:n.B,formatLong:l,formatRelative:i.o,localize:a.k,match:o.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}}},8183:e=>{"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEac
1h(function(r){void 0!==t[r]&&(void 0!==e[r]&&delete e[r],e[r]=t[r])}),e},{})}},8865:(e,t,r)=>{"use strict";var n=r(74180),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,o=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),i=n[0].inst,c=n[1];return s(function(){i.value=r,i.getSnapshot=t,u(i)&&c({inst:i})},[e,r,t]),o(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},9052:(e,t,r)=>{"use strict";var n=r(74180),i=r(41043);let a={[i.BLOCKS.DOCUMENT]:(e,t)=>t,[i.BLOCKS.PARAGRAPH]:(e,t)=>n.createElement("p",null,t),[i.BLOCKS.HEADING_1]:(e,t)=>n.createElement("h1",null,t),[i.BLOCKS.HEADING_2]:(e,t)=>n.createElement("h2",null,t),[i.BLOCKS.HEADING_3]:(e,t)=>n.createElement("h3",null,t),[i.BLOCKS.HEADING_4]:(e,t)=>n.createElement("h4",null,t),[i.BLOCKS.HEADING_5]:(e,t)=>n.createElement("h5",null,t),[i.BLOCKS.HEADING_6]:(e,t)=>n.createElement("h6",null,t),[i.BLOCKS.EMBEDDED_ENTRY]:(e,t)=>n.createElement("div",null,t),[i.BLOCKS.EMBEDDED_RESOURCE]:(e,t)=>n.createElement("div",null,t),[i.BLOCKS.UL_LIST]:(e,t)=>n.createElement("ul",null,t),[i.BLOCKS.OL_LIST]:(e,t)=>n.createElement("ol",null,t),[i.BLOCKS.LIST_ITEM]:(e,t)=>n.createElement("li",null,t),[i.BLOCKS.QUOTE]:(e,t)=>n.createElement("blockquote",null,t),[i.BLOCKS.HR]:()=>n.createElement("hr",null),[i.BLOCKS.TABLE]:(e,t)=>n.createElement("table",null,n.createElement("tbody",null,t)),[i.BLOCKS.TABLE_ROW]:(e,t)=>n.createElement("tr",null,t),[i.BLOCKS.TABLE_HEADER_CELL]:(e,t)=>
1n.createElement("th",null,t),[i.BLOCKS.TABLE_CELL]:(e,t)=>n.createElement("td",null,t),[i.INLINES.ASSET_HYPERLINK]:e=>s(i.INLINES.ASSET_HYPERLINK,e),[i.INLINES.ENTRY_HYPERLINK]:e=>s(i.INLINES.ENTRY_HYPERLINK,e),[i.INLINES.RESOURCE_HYPERLINK]:e=>l(i.INLINES.RESOURCE_HYPERLINK,e),[i.INLINES.EMBEDDED_ENTRY]:e=>s(i.INLINES.EMBEDDED_ENTRY,e),[i.INLINES.EMBEDDED_RESOURCE]:(e,t)=>l(i.INLINES.EMBEDDED_RESOURCE,e),[i.INLINES.HYPERLINK]:(e,t)=>n.createElement("a",{href:e.data.uri},t)},o={[i.MARKS.BOLD]:e=>n.createElement("b",null,e),[i.MARKS.ITALIC]:e=>n.createElement("i",null,e),[i.MARKS.UNDERLINE]:e=>n.createElement("u",null,e),[i.MARKS.CODE]:e=>n.createElement("code",null,e),[i.MARKS.SUPERSCRIPT]:e=>n.createElement("sup",null,e),[i.MARKS.SUBSCRIPT]:e=>n.createElement("sub",null,e),[i.MARKS.STRIKETHROUGH]:e=>n.createElement("s",null,e)};function s(e,t){return n.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function l(e,t){return n.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}t.i=function(e,t={}){if(!e)return null;let r=e;return t.stripEmptyTrailingParagraph&&(r=i.helpers.stripEmptyTrailingParagraphFromDocument(e)),function e(t,r){let{renderNode:a,renderMark:o,renderText:s,preserveWhitespace:l}=r;if(i.helpers.isText(t)){let e=s?s(t.value):t.value;if(l&&!s){let t=(e=e.replace(/ {2,}/g,e=>"\xa0".repeat(e.length))).split("\n"),r=[];t.forEach((e,i)=>{r.push(e),i!==t.length-1&&r.push(n.createElement("br",null))}),e=r}return t.marks.reduce((e,t)=>o[t.type]?o[t.type](e):e,e)}{var u;let i=(u=t.content,u.map((t,i)=>{var a;return a=e(t,r),n.isValidElement(a)&&null===a.key?n.cloneElement(a,{key:i}):a}));return t.nodeType&&a[t.nodeType]?a[t.nodeType](t,i):n.createElement(n.Fragment,null,i)}}(r,{renderNode:{...a,...t.renderNode},renderMark:{...o,...t.renderMark},renderText:t.renderText,preserveWhitespace:t.preserveWhitespace})}},9395:(e,t,r)=>{"use strict";var n=r(63738),i=Object.prototype.hasOwnProperty,a=Array.isArray,o=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),s=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var n=[],i=0;i<r.length;++i)void 0!==r[i]&&(n[n.length]=r[i]);t.obj[t.prop]=n}}},l=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:l,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var i=t[n],a=i.obj[i.prop],o=Object.keys(a),l=0;l<o.length;++l){var u=o[l],c=a[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t[t.length]={obj:a,prop:u},r[r.length]=c)}return s(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,i,a){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var l="",u=0;u<s.length;++u){var c=s.charCodeAt(u);if(45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||a===n.RFC1738&&(40===c||41===c)){l+=s.charAt(u);continue}if(c<128){l+=o[c];continue}if(c<2048){l+=o[192|c>>6]+o[128|63&c];continue}if(c<55296||c>=57344){l+=o[224|c>>12]+o[128|c>>6&63]+o[128|63&c];continue}u+=1,l+=o[240|(c=65536+((1023&c)<<10|1023&s.charCodeAt(u)))>>18]+o[128|c>>12&63]+o[128|c>>6&63]+o[128|63&c]}return l},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var r=[],n=0;n<e.length;n+=1)r[r.length]=t(e[n]);return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(a(t))t[t.length]=r;else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!i.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var o=t;return(a(t)&&!a(r)&&(o=l(t,n)),a(t)&&a(r))?(r.forEach(function(r,a){
1if(i.call(t,a)){var o=t[a];o&&"object"==typeof o&&r&&"object"==typeof r?t[a]=e(o,r,n):t[t.length]=r}else t[a]=r}),t):Object.keys(r).reduce(function(t,a){var o=r[a];return i.call(t,a)?t[a]=e(t[a],o,n):t[a]=o,t},o)}}},9890:()=>{},10478: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.$ZodRealError=t.$ZodError=void 0,t.flattenError=function(e,t=e=>e.message){let r={},n=[];for(let i of e.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(t(i))):n.push(t(i));return{formErrors:n,fieldErrors:r}},t.formatError=function(e,t){let r=t||function(e){return e.message},n={_errors:[]},i=e=>{for(let t of e.issues)if("invalid_union"===t.code&&t.errors.length)t.errors.map(e=>i({issues:e}));else if("invalid_key"===t.code)i({issues:t.issues});else if("invalid_element"===t.code)i({issues:t.issues});else if(0===t.path.length)n._errors.push(r(t));else{let e=n,i=0;for(;i<t.path.length;){let n=t.path[i];i===t.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(r(t))):e[n]=e[n]||{_errors:[]},e=e[n],i++}}};return i(e),n},t.treeifyError=function(e,t){let r=t||function(e){return e.message},n={errors:[]},i=(e,t=[])=>{var a,o;for(let s of e.issues)if("invalid_union"===s.code&&s.errors.length)s.errors.map(e=>i({issues:e},s.path));else if("invalid_key"===s.code)i({issues:s.issues},s.path);else if("invalid_element"===s.code)i({issues:s.issues},s.path);else{let e=[...t,...s.path];if(0===e.length){n.errors.push(r(s));continue}let i=n,l=0;for(;l<e.length;){let t=e[l],n=l===e.length-1;"string"==typeof t?(i.properties??(i.properties={}),(a=i.properties)[t]??(a[t]={errors:[]}),i=i.properties[t]):(i.items??(i.items=[]),(o=i.items)[t]??(o[t]={errors:[]}),i=i.items[t]),n&&i.errors.push(r(s)),l++}}};return i(e),n},t.toDotPath=u,t.prettifyError=function(e){let t=[];for(let r of[...e.issues].sort((e,t)=>e.path.length-t.path.length))t.push(`â ${r.message}`),r.path?.length&&t.push(` â at ${u(r.path)}`);return t.join("\n")};let o=r(36974),s=a(r(3947)),l=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),Object.defineProperty(e,"message",{get:()=>JSON.stringify(t,s.jsonStringifyReplacer,2),enumerable:!0}),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})};function u(e){let t=[];for(let r of e)"number"==typeof r?t.push(`[${r}]`):"symbol"==typeof r?t.push(`[${JSON.stringify(String(r))}]`):/[^\w$]/.test(r)?t.push(`[${JSON.stringify(r)}]`):(t.length&&t.push("."),t.push(r));return t.join("")}t.$ZodError=(0,o.$constructor)("$ZodError",l),t.$ZodRealError=(0,o.$constructor)("$ZodError",l,{Parent:Error})},10576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return r}});class r{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},10748: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}
1),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}},t={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},r=>{switch(r.code){case"invalid_type":return`Input tidak valid: diharapkan ${r.expected}, diterima ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Input tidak valid: diharapkan ${o.stringifyPrimitive(r.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Terlalu besar: diharapkan ${r.origin??"value"} memiliki ${t}${r.maximum.toString()} ${n.unit??"elemen"}`;return`Terlalu besar: diharapkan ${r.origin??"value"} menjadi ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Terlalu kecil: diharapkan ${r.origin} memiliki ${t}${r.minimum.toString()} ${n.unit}`;return`Terlalu kecil: diharapkan ${r.origin} menjadi ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`String tidak valid: harus dimulai dengan "${r.prefix}"`;if("ends_with"===r.format)return`String tidak valid: harus berakhir dengan "${r.suffix}"`;if("includes"===r.format)return`String tidak valid: harus menyertakan "${r.includes}"`;if("regex"===r.format)return`String tidak valid: harus sesuai pola ${r.pattern}`;return`${t[r.format]??r.format} tidak valid`;case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${r.keys.length>1?"s":""}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${r.origin}`;case"invalid_union":default:return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${r.origin}`}})}};let o=a(r(3947))},11187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(43435),i=r(20318),a=r(58553),o=r(28225),s=r(67755),l=r(1078),u=r(68698),c=r(47667),d=r(24425);t.default={CODE39:n.CODE39,CODE128:i.CODE128,CODE128A:i.CODE128A,CODE128B:i.CODE128B,CODE128C:i.CODE128C,EAN13:a.EAN13,EAN8:a.EAN8,EAN5:a.EAN5,EAN2:a.EAN2,UPC:a.UPC,UPCE:a.UPCE,ITF14:o.ITF14,ITF:o.ITF,MSI:s.MSI,MSI10:s.MSI10,MSI11:s.MSI11,MSI1010:s.MSI1010,MSI1110:s.MSI1110,pharmacode:l.pharmacode,codabar:u.codabar,CODE93:c.CODE93,CODE93FullASCII:c.CODE93FullASCII,GenericBarcode:d.GenericBarcode}},11247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=(n=r(58024))&&n.__esModule?n:{default:n},a=r(99955);t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");e+=(0,a.mod11)(e),e+=(0,a.mod10)(e);var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),t}(i.default)},11335:(e,t,r)=>{var n=r(82581),i=r(4199);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},11362:(e,t)=>
1{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();t.default=function(){function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.api=t}return r(e,[{key:"handleCatch",value:function(e){if("InvalidInputException"===e.name)if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw e.message;else throw e;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(e){try{var t=e.apply(void 0,arguments);return this.api._options.valid(!0),t}catch(e){return this.handleCatch(e),this.api}}}]),e}()},11492:(e,t,r)=>{"use strict";r.d(t,{_P:()=>a,my:()=>n,w4:()=>i});let n=6048e5,i=864e5,a=Symbol.for("constructDateFrom")},11716:e=>{"use strict";e.exports=function(e,t){if(!Array.isArray(e))return -1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return -1}},12037:(e,t,r)=>{"use strict";r.d(t,{h:()=>tA});var n,i,a={};r.r(a),r.d(a,{Button:()=>eO,CaptionLabel:()=>ex,Chevron:()=>eP,Day:()=>eA,DayButton:()=>ek,Dropdown:()=>eI,DropdownNav:()=>eC,Footer:()=>eR,Month:()=>eD,MonthCaption:()=>eN,MonthGrid:()=>ej,Months:()=>eM,MonthsDropdown:()=>eU,Nav:()=>eF,NextMonthButton:()=>eB,Option:()=>ez,PreviousMonthButton:()=>eH,Root:()=>eq,Select:()=>eG,Week:()=>eW,WeekNumber:()=>eZ,WeekNumberHeader:()=>eK,Weekday:()=>eV,Weekdays:()=>eY,Weeks:()=>eX,YearsDropdown:()=>eQ});var o={};r.r(o),r.d(o,{formatCaption:()=>e0,formatDay:()=>e2,formatMonthCaption:()=>e1,formatMonthDropdown:()=>e4,formatWeekNumber:()=>e3,formatWeekNumberHeader:()=>e5,formatWeekdayName:()=>e6,formatYearCaption:()=>e9,formatYearDropdown:()=>e8});var s={};r.r(s),r.d(s,{labelCaption:()=>tr,labelDay:()=>te,labelDayButton:()=>e7,labelGrid:()=>tt,labelGridcell:()=>tn,labelMonthDropdown:()=>ti,labelNav:()=>ta,labelNext:()=>to,labelPrevious:()=>ts,labelWeekNumber:()=>tu,labelWeekNumberHeader:()=>tc,labelWeekday:()=>tl,labelYearDropdown:()=>td});var l=r(74180),u=r(93994),c=r(38900);let d={date:(0,c.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,c.k)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}
1),dateTime:(0,c.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var f=r(6713),h=r(6129),p=r(55171);let m={code:"en-US",formatDistance:u.B,formatLong:d,formatRelative:f.o,localize:h.k,match:p.Y,options:{weekStartsOn:0,firstWeekContainsDate:1}};var g=r(22221),y=r(7854);function v(e){let t=(0,y.a)(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),e-r}var b=r(46576),E=r(11492);function _(e,t){let r=(0,y.a)(e,t?.in);return r.setHours(0,0,0,0),r}function S(e,t,r){let[n,i]=(0,b.x)(r?.in,e,t),a=_(n),o=_(i);return Math.round((a-v(a)-(o-v(o)))/E.w4)}function w(e,t){let r=(0,y.a)(e,t?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}var T=r(712);function O(e,t){return(0,T.k)(e,{...t,weekStartsOn:1})}var x=r(69472);function P(e,t){let r=(0,y.a)(e,t?.in),n=r.getFullYear(),i=(0,x.w)(r,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);let a=O(i),o=(0,x.w)(r,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let s=O(o);return r.getTime()>=a.getTime()?n+1:r.getTime()>=s.getTime()?n:n-1}function A(e,t){let r,n,i=(0,y.a)(e,t?.in);return Math.round((O(i)-(r=P(i,void 0),(n=(0,x.w)(i,0)).setFullYear(r,0,4),n.setHours(0,0,0,0),O(n)))/E.my)+1}function k(e,t){let r=(0,y.a)(e,t?.in),n=r.getFullYear(),i=(0,g.q)(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=(0,x.w)(t?.in||e,0);o.setFullYear(n+1,0,a),o.setHours(0,0,0,0);let s=(0,T.k)(o,t),l=(0,x.w)(t?.in||e,0);l.setFullYear(n,0,a),l.setHours(0,0,0,0);let u=(0,T.k)(l,t);return+r>=+s?n+1:+r>=+u?n:n-1}function I(e,t){let r,n,i,a,o=(0,y.a)(e,t?.in);return Math.round(((0,T.k)(o,t)-(r=(0,g.q)(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=k(o,t),(a=(0,x.w)(t?.in||o,0)).setFullYear(i,0,n),a.setHours(0,0,0,0),(0,T.k)(a,t)))/E.my)+1}function C(e,t){let r=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+r}let R={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return C("yy"===t?n%100:n,t.length)},M(e,t){let r=e.getMonth();return"M"===t?String(r+1):C(r+1,2)},d:(e,t)=>C(e.getDate(),t.length),a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:(e,t)=>C(e.getHours()%12||12,t.length),H:(e,t)=>C(e.getHours(),t.length),m:(e,t)=>C(e.getMinutes(),t.length),s:(e,t)=>C(e.getSeconds(),t.length),S(e,t){let r=t.length;return C(Math.trunc(e.getMilliseconds()*Math.pow(10,r-3)),t.length)}},D={G:function(e,t,r){let n=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){let t=e.getFullYear();return r.ordinalNumber(t>0?t:1-t,{unit:"year"})}return R.y(e,t)},Y:function(e,t,r,n){let i=k(e,n),a=i>0?i:1-i;return"YY"===t?C(a%100,2):"Yo"===t?r.ordinalNumber(a,{unit:"year"}):C(a,t.length)},R:function(e,t){return C(P(e),t.length)},u:function(e,t){return C(e.getFullYear(),t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return C(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return C(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return R.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return C(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let i=I(e,n);return"wo"===t?r.ordinalNumber(i,{unit:"week"}):C(i,t.length)},I:function(e,t,r){let n=A(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):C(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):R.d(e,t)},D:function(e,t,r){let n,i=S(n=(0,y.a)(e,void 0),w(n))+1;return"Do"===t?r.ordinalNumber(i,{unit:"dayOfYear"}):C(i,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let i=e.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return C(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let i=e.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return C(a,t.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),i=0===n?7:n;switch(t){case"i":return String(i);case"ii":return C(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n,i=e.getHours();switch(n=12===i?"noon":0===i?"midnight":i/12>
1=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n,i=e.getHours();switch(n=i>=17?"evening":i>=12?"afternoon":i>=4?"morning":"night",t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return R.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):R.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):C(n,t.length)},k:function(e,t,r){let n=e.getHours();return(0===n&&(n=24),"ko"===t)?r.ordinalNumber(n,{unit:"hour"}):C(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):R.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):R.s(e,t)},S:function(e,t){return R.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return j(n);case"XXXX":case"XX":return M(n);default:return M(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return j(n);case"xxxx":case"xx":return M(n);default:return M(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+N(n,":");default:return"GMT"+M(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+N(n,":");default:return"GMT"+M(n,":")}},t:function(e,t,r){return C(Math.trunc(e/1e3),t.length)},T:function(e,t,r){return C(+e,t.length)}};function N(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),i=Math.trunc(n/60),a=n%60;return 0===a?r+String(i):r+String(i)+t+C(a,2)}function j(e,t){return e%60==0?(e>0?"-":"+")+C(Math.abs(e)/60,2):M(e,t)}function M(e,t=""){let r=Math.abs(e);return(e>0?"-":"+")+C(Math.trunc(r/60),2)+t+C(r%60,2)}let L=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},$=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},U={p:$,P:(e,t)=>{let r,n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return L(e,t);switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",L(i,t)).replace("{{time}}",$(a,t))}},F=/^D+$/,B=/^Y+$/,z=["D","DD","YY","YYYY"];function H(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}let q=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,G=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,W=/^'([^]*?)'?$/,V=/''/g,Y=/[a-zA-Z]/;function Z(e,t,r){let n=(0,g.q)(),i=r?.locale??n.locale??m,a=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=(0,y.a)(e,r?.in);if(!H(s)&&"number"!=typeof s||isNaN(+(0,y.a)(s)))throw RangeError("Invalid time value");let l=t.match(G).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,U[t])(e,i.formatLong):e}).join("").match(q).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var r;let t;return{isToken:!1,value:(t=(r=e).match(W))?t[1].replace(V,"'"):r}}if(D[t])return{isToken:!0,value:e};if(t.match(Y))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});i.localize.preprocessor&&(l=i.localize.preprocessor(s,l));let u={firstWeekContainsDate:a,weekStartsOn:o,locale:i};return l.map(n=>{if(!n.isToken)return n.value;let a=n.value;return(!r?.useAdditionalWeekYearTokens&&B.test(a)||!r?.useAdditionalDayOfYearTokens&&F.test(a))&&function(e,t,r){var n,i,a;let o,s=(n=e,i=t,a=r,o="Y"===n[0]?"years":"days of the month",`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${i}\`) for formatting ${o} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(s),z.includes(e))throw RangeError(s)}(a,t,String(e)),(0,D[a[0]])(s,a,i.localize,u)}).join("")}let K={...m,labels:{labelDayButton:(e,t,r,n)=>{let i=(n&&"function"==typeof n.format?n.format.bind(n):(e,t)=>Z(e,t,{locale:m,...r}))(e,"PPPP");return t.today&&(i=`Today, ${i}`),t.selected&&(i=`${i}, selected`),i},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,r)=>(r&&"function"==typeof r.format?r.format.bind(r):(e,r)=>Z(e,r,{locale:m,...t}))(e,"LLLL yyyy"),labelGridcell:(e,t,r,n)=>{let i=(n&&"function"==typeof n.format?n.format.bind(n):(e,t)=>Z(e,t,{locale:m,...r}))(e,"PPPP");return t?.today&&(i=`Today, ${i}`),i},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,r)=>(r&&"function"==typeof r.format?r.format.bind(r):(e,r)=>Z(e,r,{locale:m,...t}))(e,"cccc")}};Symbol.for("constructDateFrom");let X={},Q={};function J(e,t){try{let r=(X[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(t).split("GMT")[1];if(r in Q)return Q[r];return et(r,r.split(":"))}catch{if(e in Q)return Q[e];let t=e?.match(ee);if(t)return et(e,t.slice(1));return NaN}}let ee=/([+-]\d\d):?(\d\d)?/;function et(e,t){let r=+(t[0]||0),n=+(t[1]||0),i=(t[2]||0)/60;return Q[e]=60*r+n>0?60*r+n+i:60*r-n-i}class er extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(J(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),ea(this,e)):this.setTime(Date.now())}static tz(e,...t){return t.length?new er(...t,e):new er(Date.now(),e)}withTimeZone(e){return new er(+this,e)}getTimezoneOffset(){let e=-J(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),ei(this),+this}[Symbol.for("constructDateFrom")](e){return new er(+new Date(e),this.timeZone)}}let en=/^(get|set)(?!UTC)/;function ei(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-(60*J(e.timeZone,e))))}function ea(e,t){var r;let n=Array.isArray(t)?Date.UTC((r=t)[0],r.length>1?r[1]:0,r.length>2?r[2]:1,...r.slice(3)):+e.internal,i=J(e.timeZone,e),a=i>
10?Math.floor(i):Math.ceil(i),o=new Date(+e);o.setUTCHours(o.getUTCHours()-1);let s=-new Date(+e).getTimezoneOffset(),l=-new Date(+o).getTimezoneOffset(),u=s;if(s-l&&s!==a&&Date.prototype.getHours.apply(e)!==(Array.isArray(t)?t[3]||0:e.internal.getUTCHours())){let t=new Date(+e),r=s-a;r&&t.setUTCMinutes(t.getUTCMinutes()+r);let n=J(e.timeZone,t);(n>0?Math.floor(n):Math.ceil(n))===a&&(u=l)}let c=u-a;c&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+c);let d=new Date(+e);d.setUTCSeconds(0);let f=s>0?d.getSeconds():(d.getSeconds()-60)%60,h=Math.round(-(60*J(e.timeZone,e)))%60;(h||f)&&Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+h+f);let p=J(e.timeZone,e),m=p>0?Math.floor(p):Math.ceil(p),g=-new Date(+e).getTimezoneOffset()-m-c,y=m-a,v=y>0&&eo(e)-n==60*y*1e3&&eo(e,n-60*m*1e3)!==n;if(m!==a&&g&&!v){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+g);let t=J(e.timeZone,e),r=m-(t>0?Math.floor(t):Math.ceil(t));r&&g<0&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+r)}ei(e);let b=(t?n:n+1e3*h)-e.internal;b&&18e5>Math.abs(b)&&(Date.prototype.setTime.call(e,+e+b),ei(e))}function eo(e,t){let r=new Date(t??+e);return r.setUTCSeconds(r.getUTCSeconds()-Math.round(-(60*J(e.timeZone,r)))),+r}Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!en.test(e))return;let t=e.replace(en,"$1UTC");er.prototype[t]&&(e.startsWith("get")?er.prototype[e]=function(){return this.internal[t]()}:(er.prototype[e]=function(){var e;return Date.prototype[t].apply(this.internal,arguments),e=this,Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),ea(e),+this},er.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),ei(this),+this}))});class es extends er{static tz(e,...t){return t.length?new es(...t,e):new es(Date.now(),e)}toISOString(){let[e,t,r]=this.tzComponents(),n=`${e}${t}:${r}`;return this.internal.toISOString().slice(0,-1)+n}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,t,r,n]=this.internal.toUTCString().split(" ");return`${e?.slice(0,-1)} ${r} ${t} ${n}`}
1toTimeString(){let e=this.internal.toUTCString().split(" ")[4],[t,r,n]=this.tzComponents();return`${e} GMT${t}${r}${n} (${function(e,t,r="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:r}).format(t).split(/\s/g).slice(2).join(" ")}(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset(),t=String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),r=String(Math.abs(e)%60).padStart(2,"0");return[e>0?"-":"+",t,r]}withTimeZone(e){return new es(+this,e)}[Symbol.for("constructDateFrom")](e){return new es(+new Date(e),this.timeZone)}}function el(e,t,r){let n=(0,y.a)(e,r?.in);return isNaN(t)?(0,x.w)(r?.in||e,NaN):(t&&n.setDate(n.getDate()+t),n)}function eu(e,t,r){let n=(0,y.a)(e,r?.in);if(isNaN(t))return(0,x.w)(r?.in||e,NaN);if(!t)return n;let i=n.getDate(),a=(0,x.w)(r?.in||e,n.getTime());return(a.setMonth(n.getMonth()+t+1,0),i>=a.getDate())?a:(n.setFullYear(a.getFullYear(),a.getMonth(),i),n)}function ec(e,t,r){let[n,i]=(0,b.x)(r?.in,e,t);return 12*(n.getFullYear()-i.getFullYear())+(n.getMonth()-i.getMonth())}function ed(e,t){let[r,n]=(0,b.x)(e,t.start,t.end);return{start:r,end:n}}function ef(e,t){let r=(0,g.q)(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,i=(0,y.a)(e,t?.in),a=i.getDay();return i.setDate(i.getDate()+((a<n?-7:0)+6-(a-n))),i.setHours(23,59,59,999),i}function eh(e,t){let r=t.startOfMonth(e),n=r.getDay();return 1===n?r:0===n?t.addDays(r,-6):t.addDays(r,-1*(n-1))}class ep{constructor(e,t){this.Date=Date,this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?es.tz(this.options.timeZone):new this.Date,this.newDate=(e,t,r)=>this.overrides?.newDate?this.overrides.newDate(e,t,r):this.options.timeZone?new es(e,t,r,this.options.timeZone):new Date(e,t,r),this.addDays=(e,t)=>this.overrides?.addDays?this.overrides.addDays(e,t):el(e,t),this.addMonths=(e,t)=>this.overrides?.addMonths?this.overrides.addMonths(e,t):eu(e,t),this.addWeeks=(e,t)=>this.overrides?.addWeeks?this.overrides.addWeeks(e,t):el(e,7*t,void 0),this.addYears=(e,t)=>this.overrides?.addYears?this.overrides.addYears(e,t):eu(e,12*t,void 0),this.differenceInCalendarDays=(e,t)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(e,t):S(e,t),this.differenceInCalendarMonths=(e,t)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(e,t):ec(e,t),this.eachMonthOfInterval=e=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(e):function(e){let{start:t,end:r}=ed(void 0,e),n=+t>+r,i=n?+t:+r,a=n?r:t;a.setHours(0,0,0,0),a.setDate(1);let o=(void 0)??1;if(!o)return[];o<0&&(o=-o,n=!n);let s=[];for(;+a<=i;)s.push((0,x.w)(t,a)),a.setMonth(a.getMonth()+o);return n?s.reverse():s}(e),this.eachYearOfInterval=e=>{let t=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(e):function(e){let{start:t,end:r}=ed(void 0,e),n=+t>+r,i=n?+t:+r,a=n?r:t;a.setHours(0,0,0,0),a.setMonth(0,1);let o=(void 0)??1;if(!o)return[];o<0&&(o=-o,n=!n);let s=[];for(;+a<=i;)s.push((0,x.w)(t,a)),a.setFullYear(a.getFullYear()+o);return n?s.reverse():s}(e),r=new Set(t.map(e=>this.getYear(e)));if(r.size===t.length)return t;let n=[];return r.forEach(e=>{n.push(new Date(e,0,1))}),n},this.endOfBroadcastWeek=e=>{let t,r,n,i,a,o;return this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(e):(t=eh(e,this),n=(r=this.startOfMonth(e)).getDay()>0?r.getDay():7,i=this.addDays(e,-n+1),a=this.addDays(i,34),o=this.getMonth(e)===this.getMonth(a)?5:4,this.addDays(t,7*o-1))},this.endOfISOWeek=e=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(e):ef(e,{...void 0,weekStartsOn:1}),this.endOfMonth=e=>{let t,r;return this.overrides?.endOfMonth?this.overrides.endOfMonth(e):(r=(t=(0,y.a)(e,void 0)).getMonth(),t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t)},this.endOfWeek=(e,t)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(e,t):ef(e,this.options),this.endOfYear=e=>{let t,r;return this.overrides?.endOfYear?this.overrides.endOfYear(e):(r=(t=(0,y.a)(e,void 0)).getFullYear(),t.setFullYear(r+1,0,0),t.setHours(23,59,59,999),t)},this.format=(e,t,r)=>{let n=this.overrides?.format?this.overrides.format(e,t,this.options):Z(e,t,this.options);return this.options.numerals&&"latn"!==this.options.numerals?this.replaceDigits(n):n},this.getISOWeek=e=>this.overrides?.getISOWeek?this.overrides.getISOWeek(e):A(e),this.getMonth=(e,t)=>{var r;return this.overrides?.getMonth?this.overrides.getMonth(e,this.options):(r=this.options,
1(0,y.a)(e,r?.in).getMonth())},this.getYear=(e,t)=>{var r;return this.overrides?.getYear?this.overrides.getYear(e,this.options):(r=this.options,(0,y.a)(e,r?.in).getFullYear())},this.getWeek=(e,t)=>this.overrides?.getWeek?this.overrides.getWeek(e,this.options):I(e,this.options),this.isAfter=(e,t)=>this.overrides?.isAfter?this.overrides.isAfter(e,t):+(0,y.a)(e)>+(0,y.a)(t),this.isBefore=(e,t)=>this.overrides?.isBefore?this.overrides.isBefore(e,t):+(0,y.a)(e)<+(0,y.a)(t),this.isDate=e=>this.overrides?.isDate?this.overrides.isDate(e):H(e),this.isSameDay=(e,t)=>this.overrides?.isSameDay?this.overrides.isSameDay(e,t):function(e,t){let[r,n]=(0,b.x)(void 0,e,t);return+_(r)==+_(n)}(e,t),this.isSameMonth=(e,t)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(e,t):function(e,t){let[r,n]=(0,b.x)(void 0,e,t);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}(e,t),this.isSameYear=(e,t)=>this.overrides?.isSameYear?this.overrides.isSameYear(e,t):function(e,t){let[r,n]=(0,b.x)(void 0,e,t);return r.getFullYear()===n.getFullYear()}(e,t),this.max=e=>{let t,r;return this.overrides?.max?this.overrides.max(e):(r=void 0,e.forEach(e=>{r||"object"!=typeof e||(r=x.w.bind(null,e));let n=(0,y.a)(e,r);(!t||t<n||isNaN(+n))&&(t=n)}),(0,x.w)(r,t||NaN))},this.min=e=>{let t,r;return this.overrides?.min?this.overrides.min(e):(r=void 0,e.forEach(e=>{r||"object"!=typeof e||(r=x.w.bind(null,e));let n=(0,y.a)(e,r);(!t||t>n||isNaN(+n))&&(t=n)}),(0,x.w)(r,t||NaN))},this.setMonth=(e,t)=>{let r,n,i,a,o,s,l,u,c;return this.overrides?.setMonth?this.overrides.setMonth(e,t):(n=(r=(0,y.a)(e,void 0)).getFullYear(),i=r.getDate(),(a=(0,x.w)(e,0)).setFullYear(n,t,15),a.setHours(0,0,0,0),s=(o=(0,y.a)(a,void 0)).getFullYear(),l=o.getMonth(),(u=(0,x.w)(o,0)).setFullYear(s,l+1,0),u.setHours(0,0,0,0),c=u.getDate(),r.setMonth(t,Math.min(i,c)),r)},this.setYear=(e,t)=>{let r;return this.overrides?.setYear?this.overrides.setYear(e,t):isNaN(+(r=(0,y.a)(e,void 0)))?(0,x.w)(e,NaN):(r.setFullYear(t),r)},this.startOfBroadcastWeek=(e,t)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(e,this):eh(e,this),this.startOfDay=e=>this.overrides?.startOfDay?this.overrides.startOfDay(e):_(e),this.startOfISOWeek=e=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(e):O(e),this.startOfMonth=e=>{let t;return this.overrides?.startOfMonth?this.overrides.startOfMonth(e):((t=(0,y.a)(e,void 0)).setDate(1),t.setHours(0,0,0,0),t)},this.startOfWeek=(e,t)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(e,this.options):(0,T.k)(e,this.options),this.startOfYear=e=>this.overrides?.startOfYear?this.overrides.startOfYear(e):w(e),this.options={locale:K,...e},this.overrides=t}getDigitMap(){let{numerals:e="latn"}=this.options,t=new Intl.NumberFormat("en-US",{numberingSystem:e}),r={};for(let e=0;e<10;e++)r[e.toString()]=t.format(e);return r}replaceDigits(e){let t=this.getDigitMap();return e.replace(/\d/g,e=>t[e]||e)}formatNumber(e){return this.replaceDigits(e.toString())}getMonthYearOrder(){let e=this.options.locale?.code;return e&&ep.yearFirstLocales.has(e)?"year-first":"month-first"}formatMonthYear(e){let{locale:t,timeZone:r,numerals:n}=this.options,i=t?.code;if(i&&ep.yearFirstLocales.has(i))try{return new Intl.DateTimeFormat(i,{month:"long",year:"numeric",timeZone:r,numberingSystem:n}).format(e)}catch{}let a="year-first"===this.getMonthYearOrder()?"y LLLL":"LLLL y";return this.format(e,a)}}ep.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);let em=new ep;var eg=r(26253);function ey(e,t,r=!1,n=em){let{from:i,to:a}=e,{differenceInCalendarDays:o,isSameDay:s}=n;return i&&a?(0>o(a,i)&&([i,a]=[a,i]),o(t,i)>=+!!r&&o(a,t)>=+!!r):!r&&a?s(a,t):!r&&!!i&&s(i,t)}function ev(e){return!!(e&&"object"==typeof e&&"before"in e&&"after"in e)}function eb(e){return!!(e&&"object"==typeof e&&"from"in e)}function eE(e){return!!(e&&"object"==typeof e&&"after"in e)}function e_(e){return!!(e&&"object"==typeof e&&"before"in e)}function eS(e){return!!(e&&"object"==typeof e&&"dayOfWeek"in e)}function ew(e,t){return Array.isArray(e)&&e.every(t.isDate)}function eT(e,t,r=em){let n=Array.isArray(t)?t:[t],{isSameDay:i,differenceInCalendarDays:a,isAfter:o}=r;return n.some(t=>{if("boolean"==typeof t)return t;if(r.isDate(t))return i(e,t);if(ew(t,r))return t.some(t=>i(e,t));if(eb(t))return ey(t,e,!1,r);if(eS(t))return Array.isArray(t.dayOfWeek)?t.dayOfWeek.includes(e.getDay()):t.dayOfWeek===e.getDay();if(ev(t)){let r=a(t.before,e),n=a(t.after,e),i=r>0,s=n<0;return o(t.before,t.after)?s&&i:i||s}return eE(t)?a(e,t.after)>
10:e_(t)?a(t.before,e)>0:"function"==typeof t&&t(e)})}function eO(e){return l.createElement("button",{...e})}function ex(e){return l.createElement("span",{...e})}function eP(e){let{size:t=24,orientation:r="left",className:n}=e;return l.createElement("svg",{className:n,width:t,height:t,viewBox:"0 0 24 24"},"up"===r&&l.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),"down"===r&&l.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),"left"===r&&l.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),"right"===r&&l.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function eA(e){let{day:t,modifiers:r,...n}=e;return l.createElement("td",{...n})}function ek(e){let{day:t,modifiers:r,...n}=e,i=l.useRef(null);return l.useEffect(()=>{r.focused&&i.current?.focus()},[r.focused]),l.createElement("button",{ref:i,...n})}function eI(e){let{options:t,className:r,components:n,classNames:i,...a}=e,o=[i[eg.UI.Dropdown],r].join(" "),s=t?.find(({value:e})=>e===a.value);return l.createElement("span",{"data-disabled":a.disabled,className:i[eg.UI.DropdownRoot]},l.createElement(n.Select,{className:o,...a},t?.map(({value:e,label:t,disabled:r})=>l.createElement(n.Option,{key:e,value:e,disabled:r},t))),l.createElement("span",{className:i[eg.UI.CaptionLabel],"aria-hidden":!0},s?.label,l.createElement(n.Chevron,{orientation:"down",size:18,className:i[eg.UI.Chevron]})))}function eC(e){return l.createElement("div",{...e})}function eR(e){return l.createElement("div",{...e})}function eD(e){let{calendarMonth:t,displayIndex:r,...n}=e;return l.createElement("div",{...n},e.children)}function eN(e){let{calendarMonth:t,displayIndex:r,...n}=e;return l.createElement("div",{...n})}function ej(e){return l.createElement("table",{...e})}function eM(e){return l.createElement("div",{...e})}let eL=(0,l.createContext)(void 0);function e$(){let e=(0,l.useContext)(eL);if(void 0===e)throw Error("useDayPicker() must be used within a custom component.");return e}function eU(e){let{components:t}=e$();return l.createElement(t.Dropdown,{...e})}function eF(e){let{onPreviousClick:t,onNextClick:r,previousMonth:n,nextMonth:i,...a}=e,{components:o,classNames:s,labels:{labelPrevious:u,labelNext:c}}=e$(),d=(0,l.useCallback)(e=>{i&&r?.(e)},[i,r]),f=(0,l.useCallback)(e=>{n&&t?.(e)},[n,t]);return l.createElement("nav",{...a},l.createElement(o.PreviousMonthButton,{type:"button",className:s[eg.UI.PreviousMonthButton],tabIndex:n?void 0:-1,"aria-disabled":!n||void 0,"aria-label":u(n),onClick:f},l.createElement(o.Chevron,{disabled:!n||void 0,className:s[eg.UI.Chevron],orientation:"left"})),l.createElement(o.NextMonthButton,{type:"button",className:s[eg.UI.NextMonthButton],tabIndex:i?void 0:-1,"aria-disabled":!i||void 0,"aria-label":c(i),onClick:d},l.createElement(o.Chevron,{disabled:!i||void 0,orientation:"right",className:s[eg.UI.Chevron]})))}function eB(e){let{components:t}=e$();return l.createElement(t.Button,{...e})}function ez(e){return l.createElement("option",{...e})}function eH(e){let{components:t}=e$();return l.createElement(t.Button,{...e})}function eq(e){let{rootRef:t,...r}=e;return l.createElement("div",{...r,ref:t})}function eG(e){return l.createElement("select",{...e})}function eW(e){let{week:t,...r}=e;return l.createElement("tr",{...r})}function eV(e){return l.createElement("th",{...e})}function eY(e){return l.createElement("thead",{"aria-hidden":!0},l.createElement("tr",{...e}))}function eZ(e){let{week:t,...r}=e;return l.createElement("th",{...r})}function eK(e){return l.createElement("th",{...e})}function eX(e){return l.createElement("tbody",{...e})}function eQ(e){let{components:t}=e$();return l.createElement(t.Dropdown,{...e})}var eJ=r(46188);function e0(e,t,r){return(r??new ep(t)).formatMonthYear(e)}let e1=e0;function e2(e,t,r){return(r??new ep(t)).format(e,"d")}function e4(e,t=em){return t.format(e,"LLLL")}function e6(e,t,r){return(r??new ep(t)).format(e,"cccccc")}function e3(e,t=em){return e<10?t.formatNumber(`0${e.toLocaleStr
1ing()}`):t.formatNumber(`${e.toLocaleString()}`)}function e5(){return""}function e8(e,t=em){return t.format(e,"yyyy")}let e9=e8;function e7(e,t,r,n){let i=(n??new ep(r)).format(e,"PPPP");return t.today&&(i=`Today, ${i}`),t.selected&&(i=`${i}, selected`),i}let te=e7;function tt(e,t,r){return(r??new ep(t)).formatMonthYear(e)}let tr=tt;function tn(e,t,r,n){let i=(n??new ep(r)).format(e,"PPPP");return t?.today&&(i=`Today, ${i}`),i}function ti(e){return"Choose the Month"}function ta(){return""}function to(e,t){return"Go to the Next Month"}function ts(e){return"Go to the Previous Month"}function tl(e,t,r){return(r??new ep(t)).format(e,"cccc")}function tu(e,t){return`Week ${e}`}function tc(e){return"Week Number"}function td(e){return"Choose the Year"}let tf=(e,t,r)=>t||(r?"function"==typeof r?r:(...e)=>r:e),th=e=>e instanceof HTMLElement?e:null,tp=e=>[...e.querySelectorAll("[data-animated-month]")??[]],tm=e=>th(e.querySelector("[data-animated-caption]")),tg=e=>th(e.querySelector("[data-animated-weeks]"));function ty(e,t,r,n){let{month:i,defaultMonth:a,today:o=n.today(),numberOfMonths:s=1}=e,l=i||a||o,{differenceInCalendarMonths:u,addMonths:c,startOfMonth:d}=n;return r&&u(r,l)<s-1&&(l=c(r,-1*(s-1))),t&&0>u(l,t)&&(l=t),d(l)}class tv{constructor(e,t,r=em){this.date=e,this.displayMonth=t,this.outside=!!(t&&!r.isSameMonth(e,t)),this.dateLib=r,this.isoDate=r.format(e,"yyyy-MM-dd"),this.displayMonthId=r.format(t,"yyyy-MM"),this.dateMonthId=r.format(e,"yyyy-MM")}isEqualTo(e){return this.dateLib.isSameDay(e.date,this.date)&&this.dateLib.isSameMonth(e.displayMonth,this.displayMonth)}}class tb{constructor(e,t){this.days=t,this.weekNumber=e}}class tE{constructor(e,t){this.date=e,this.weeks=t}}function t_(e,t){let[r,n]=(0,l.useState)(e);return[void 0===t?r:t,n]}function tS(e){return!e[eg.pL.disabled]&&!e[eg.pL.hidden]&&!e[eg.pL.outside]}function tw(e,t,r=em){return ey(e,t.from,!1,r)||ey(e,t.to,!1,r)||ey(t,e.from,!1,r)||ey(t,e.to,!1,r)}function tT(e,t){return e instanceof es&&e.timeZone===t?e:new es(e,t)}function tO(e,t,r){if(!r)return tT(e,t);let n=tT(e,t);return new Date(new es(n.getFullYear(),n.getMonth(),n.getDate(),12,0,0,t).getTime())}function tx(e,t,r){return"boolean"==typeof e||"function"==typeof e?e:e instanceof Date?tO(e,t,r):Array.isArray(e)?e.map(e=>e instanceof Date?tO(e,t,r):e):eb(e)?{...e,from:e.from?tT(e.from,t):e.from,to:e.to?tT(e.to,t):e.to}:ev(e)?{before:tO(e.before,t,r),after:tO(e.after,t,r)}:eE(e)?{after:tO(e.after,t,r)}:e_(e)?{before:tO(e.before,t,r)}:e}function tP(e,t,r){return e?Array.isArray(e)?e.map(e=>tx(e,t,r)):tx(e,t,r):e}function tA(e){var t;let r,n=e,u=n.timeZone;if(u&&((n={...e,timeZone:u}).today&&(n.today=tT(n.today,u)),n.month&&(n.month=tT(n.month,u)),n.defaultMonth&&(n.defaultMonth=tT(n.defaultMonth,u)),n.startMonth&&(n.startMonth=tT(n.startMonth,u)),n.endMonth&&(n.endMonth=tT(n.endMonth,u)),"single"===n.mode&&n.selected?n.selected=tT(n.selected,u):"multiple"===n.mode&&n.selected?n.selected=n.selected?.map(e=>tT(e,u)):"range"===n.mode&&n.selected&&(n.selected={from:n.selected.from?tT(n.selected.from,u):n.selected.from,to:n.selected.to?tT(n.selected.to,u):n.selected.to}),void 0!==n.disabled&&(n.disabled=tP(n.disabled,u)),void 0!==n.hidden&&(n.hidden=tP(n.hidden,u)),n.modifiers)){let e={};Object.keys(n.modifiers).forEach(t=>{e[t]=tP(n.modifiers?.[t],u)}),n.modifiers=e}let{components:c,formatters:d,labels:f,dateLib:h,locale:p,classNames:m}=(0,l.useMemo)(()=>{var e,t,r,i;let l,u={...K,...n.locale},c=n.broadcastCalendar?1:n.weekStartsOn,d=n.noonSafe&&n.timeZone?function(e,t={}){let{weekStartsOn:r,locale:n}=t,i=r??n?.options?.weekStartsOn??0,a=t=>{let r="number"==typeof t||"string"==typeof t?new Date(t):t;return new es(r.getFullYear(),r.getMonth(),r.getDate(),12,0,0,e)},o=e=>{let t=a(e);return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)};return{today:()=>a(es.tz(e)),newDate:(t,r,n)=>new es(t,r,n,12,0,0,e),startOfDay:e=>a(e),startOfWeek:(e,t)=>{let r=a(e),n=t?.weekStartsOn??i,o=(r.getDay()-n+7)%7;return r.setDate(r.getDate()-o),r},startOfISOWeek:e=>{let t=a(e),r=(t.getDay()-1+7)%7;return t.setDate(t.getDate()-r),t},startOfMonth:e=>{let t=a(e);return t.setDate(1),t},startOfYear:e=>{let t=a(e);return t.setMonth(0,1),t},endOfWeek:(e,t)=>{let r=a(e),n=(((t?.weekStartsOn??i)+6)%7-r.getDay()+7)%7;return r.setDate(r.getDate()+n),r},endOfISOWeek:e=>{let t=a(e),r=(7-t.getDay())%7;return t.setDate(t.getDate()+r),t},endOfMonth:e=>{let t=a(e);return t.setMonth(t.getMonth()+1,0),t},endOfYear:e=>{let t=a(e);return t.setMonth(11,31),t},eachMonthOfInterval:t=>{let r=a(t.start),n=a(t.end),i=[],o=new es(r.getFullYear(),r.getMonth(),1,12,0,0,e),s=12*n.getFullYear()+n.getMonth();for(;12*o.getFullYear()+o.getMonth()<=s;
1)i.push(new es(o,e)),o.setMonth(o.getMonth()+1,1);return i},addDays:(e,t)=>{let r=a(e);return r.setDate(r.getDate()+t),r},addWeeks:(e,t)=>{let r=a(e);return r.setDate(r.getDate()+7*t),r},addMonths:(e,t)=>{let r=a(e);return r.setMonth(r.getMonth()+t),r},addYears:(e,t)=>{let r=a(e);return r.setFullYear(r.getFullYear()+t),r},eachYearOfInterval:t=>{let r=a(t.start),n=a(t.end),i=[],o=new es(r.getFullYear(),0,1,12,0,0,e);for(;o.getFullYear()<=n.getFullYear();)i.push(new es(o,e)),o.setFullYear(o.getFullYear()+1,0,1);return i},getWeek:(e,t)=>I(o(e),{weekStartsOn:t?.weekStartsOn??i,firstWeekContainsDate:t?.firstWeekContainsDate??n?.options?.firstWeekContainsDate??1}),getISOWeek:e=>A(o(e)),differenceInCalendarDays:(e,t)=>S(o(e),o(t)),differenceInCalendarMonths:(e,t)=>ec(o(e),o(t))}}(n.timeZone,{weekStartsOn:c,locale:u}):void 0,f=n.dateLib&&d?{...d,...n.dateLib}:n.dateLib??d,h=new ep({locale:u,weekStartsOn:c,firstWeekContainsDate:n.firstWeekContainsDate,useAdditionalWeekYearTokens:n.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:n.useAdditionalDayOfYearTokens,timeZone:n.timeZone,numerals:n.numerals},f);return{dateLib:h,components:(e=n.components,{...a,...e}),formatters:(t=n.formatters,t?.formatMonthCaption&&!t.formatCaption&&(t.formatCaption=t.formatMonthCaption),t?.formatYearCaption&&!t.formatYearDropdown&&(t.formatYearDropdown=t.formatYearCaption),{...o,...t}),labels:(r=n.labels,i=h.options,l=i.locale?.labels??{},{...s,...r??{},labelDayButton:tf(e7,r?.labelDayButton,l.labelDayButton),labelMonthDropdown:tf(ti,r?.labelMonthDropdown,l.labelMonthDropdown),labelNext:tf(to,r?.labelNext,l.labelNext),labelPrevious:tf(ts,r?.labelPrevious,l.labelPrevious),labelWeekNumber:tf(tu,r?.labelWeekNumber,l.labelWeekNumber),labelYearDropdown:tf(td,r?.labelYearDropdown,l.labelYearDropdown),labelGrid:tf(tt,r?.labelGrid,l.labelGrid),labelGridcell:tf(tn,r?.labelGridcell,l.labelGridcell),labelNav:tf(ta,r?.labelNav,l.labelNav),labelWeekNumberHeader:tf(tc,r?.labelWeekNumberHeader,l.labelWeekNumberHeader),labelWeekday:tf(tl,r?.labelWeekday,l.labelWeekday)}),locale:u,classNames:{...(0,eJ.a)(),...n.classNames}}},[n.locale,n.broadcastCalendar,n.weekStartsOn,n.firstWeekContainsDate,n.useAdditionalWeekYearTokens,n.useAdditionalDayOfYearTokens,n.timeZone,n.numerals,n.dateLib,n.noonSafe,n.components,n.formatters,n.labels,n.classNames]);n.today||(n={...n,today:h.today()});let{captionLayout:g,mode:y,navLayout:v,numberOfMonths:b=1,onDayBlur:E,onDayClick:_,onDayFocus:w,onDayKeyDown:T,onDayMouseEnter:O,onDayMouseLeave:x,onNextClick:P,onPrevClick:k,showWeekNumber:C,styles:R}=n,{formatCaption:D,formatDay:N,formatMonthDropdown:j,formatWeekNumber:M,formatWeekNumberHeader:L,formatWeekdayName:$,formatYearDropdown:U}=d,F=function(e,t){let[r,n]=function(e,t){let{startMonth:r,endMonth:n}=e,{startOfYear:i,startOfDay:a,startOfMonth:o,endOfMonth:s,addYears:l,endOfYear:u,newDate:c,today:d}=t,{fromYear:f,toYear:h,fromMonth:p,toMonth:m}=e;!r&&p&&(r=p),!r&&f&&(r=t.newDate(f,0,1)),!n&&m&&(n=m),!n&&h&&(n=c(h,11,31));let g="dropdown"===e.captionLayout||"dropdown-years"===e.captionLayout;return r?r=o(r):f?r=c(f,0,1):!r&&g&&(r=i(l(e.today??d(),-100))),n?n=s(n):h?n=c(h,11,31):!n&&g&&(n=u(e.today??d())),[r?a(r):r,n?a(n):n]}(e,t),{startOfMonth:i,endOfMonth:a}=t,o=ty(e,r,n,t),[s,u]=t_(o,e.month?o:void 0);(0,l.useEffect)(()=>{u(ty(e,r,n,t))},[e.timeZone]);let{months:c,weeks:d,days:f,previousMonth:h,nextMonth:p}=(0,l.useMemo)(()=>{let i,o=function(e,t,r,n){let{numberOfMonths:i=1}=r,a=[];for(let r=0;r<i;r++){let i=n.addMonths(e,r);if(t&&i>t)break;a.push(i)}return a}(s,n,{numberOfMonths:e.numberOfMonths},t),l=function(e,t,r,n){let i=e[0],a=e[e.length-1],{ISOWeek:o,fixedWeeks:s,broadcastCalendar:l}=r??{},{addDays:u,differenceInCalendarDays:c,differenceInCalendarMonths:d,endOfBroadcastWeek:f,endOfISOWeek:h,endOfMonth:p,endOfWeek:m,isAfter:g,startOfBroadcastWeek:y,startOfISOWeek:v,startOfWeek:b}=n,E=l?y(i,n):o?v(i):b(i),_=l?f(a):o?h(p(a)):m(p(a)),S=t&&(l?f(t):o?h(t):m(t)),w=c(S&&g(_,S)?S:_,E),T=d(a,i)+1,O=[];for(let e=0;e<=w;e++){let t=u(E,e);O.push(t)}let x=(l?35:42)*T;if(s&&O.length<x){let e=x-O.length;for(let t=0;t<e;t++){let e=u(O[O.length-1],1);
1O.push(e)}}return O}(o,e.endMonth?a(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),u=function(e,t,r,n){let{addDays:i,endOfBroadcastWeek:a,endOfISOWeek:o,endOfMonth:s,endOfWeek:l,getISOWeek:u,getWeek:c,startOfBroadcastWeek:d,startOfISOWeek:f,startOfWeek:h}=n,p=e.reduce((e,p)=>{let m=r.broadcastCalendar?d(p,n):r.ISOWeek?f(p):h(p),g=r.broadcastCalendar?a(p):r.ISOWeek?o(s(p)):l(s(p)),y=t.filter(e=>e>=m&&e<=g),v=r.broadcastCalendar?35:42;if(r.fixedWeeks&&y.length<v){let e=t.filter(e=>{let t=v-y.length;return e>g&&e<=i(g,t)});y.push(...e)}let b=y.reduce((e,t)=>{let i=r.ISOWeek?u(t):c(t),a=e.find(e=>e.weekNumber===i),o=new tv(t,p,n);return a?a.days.push(o):e.push(new tb(i,[o])),e},[]),E=new tE(p,b);return e.push(E),e},[]);return r.reverseMonths?p.reverse():p}(o,l,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),c=u.reduce((e,t)=>e.concat(t.weeks.slice()),[]),d=(i=[],u.reduce((e,t)=>{let r=t.weeks.reduce((e,t)=>e.concat(t.days.slice()),i.slice());return e.concat(r.slice())},i.slice()));return{months:u,weeks:c,days:d,previousMonth:function(e,t,r,n){if(r.disableNavigation)return;let{pagedNavigation:i,numberOfMonths:a}=r,{startOfMonth:o,addMonths:s,differenceInCalendarMonths:l}=n,u=o(e);if(!t||!(0>=l(u,t)))return s(u,-(i?a??1:1))}(s,r,e,t),nextMonth:function(e,t,r,n){if(r.disableNavigation)return;let{pagedNavigation:i,numberOfMonths:a=1}=r,{startOfMonth:o,addMonths:s,differenceInCalendarMonths:l}=n,u=o(e);if(!t||!(l(t,e)<a))return s(u,i?a:1)}(s,n,e,t)}},[t,s.getTime(),n?.getTime(),r?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:m,onMonthChange:g}=e,y=e=>{if(m)return;let t=i(e);r&&t<i(r)&&(t=i(r)),n&&t>i(n)&&(t=i(n)),u(t),g?.(t)};return{months:c,weeks:d,days:f,navStart:r,navEnd:n,previousMonth:h,nextMonth:p,goToMonth:y,goToDay:e=>{d.some(t=>t.days.some(t=>t.isEqualTo(e)))||y(e.date)}}}(n,h),{days:B,months:z,navStart:H,navEnd:q,previousMonth:G,nextMonth:W,goToMonth:V}=F,Y=function(e,t,r,n,i){let{disabled:a,hidden:o,modifiers:s,showOutsideDays:l,broadcastCalendar:u,today:c=i.today()}=t,{isSameDay:d,isSameMonth:f,startOfMonth:h,isBefore:p,endOfMonth:m,isAfter:g}=i,y=r&&h(r),v=n&&m(n),b={[eg.pL.focused]:[],[eg.pL.outside]:[],[eg.pL.disabled]:[],[eg.pL.hidden]:[],[eg.pL.today]:[]},E={};for(let t of e){let{date:e,displayMonth:r}=t,n=!!(r&&!f(e,r)),h=!!(y&&p(e,y)),m=!!(v&&g(e,v)),_=!!(a&&eT(e,a,i)),S=!!(o&&eT(e,o,i))||h||m||!u&&!l&&n||u&&!1===l&&n,w=d(e,c);n&&b.outside.push(t),_&&b.disabled.push(t),S&&b.hidden.push(t),w&&b.today.push(t),s&&Object.keys(s).forEach(r=>{let n=s?.[r];n&&eT(e,n,i)&&(E[r]?E[r].push(t):E[r]=[t])})}return e=>{let t={[eg.pL.focused]:!1,[eg.pL.disabled]:!1,[eg.pL.hidden]:!1,[eg.pL.outside]:!1,[eg.pL.today]:!1},r={};for(let r in b){let n=b[r];t[r]=n.some(t=>t===e)}for(let t in E)r[t]=E[t].some(t=>t===e);return{...t,...r}}}(B,n,H,q,h),{isSelected:Z,select:X,selected:Q}=function(e,t){let r=function(e,t){let{selected:r,required:n,onSelect:i}=e,[a,o]=t_(r,i?r:void 0),s=i?r:a,{isSameDay:l}=t;return{selected:s,select:(e,t,r)=>{let a=e;return!n&&s&&s&&l(e,s)&&(a=void 0),i||o(a),i?.(a,e,t,r),a},isSelected:e=>!!s&&l(s,e)}}(e,t),n=function(e,t){let{selected:r,required:n,onSelect:i}=e,[a,o]=t_(r,i?r:void 0),s=i?r:a,{isSameDay:l}=t,u=e=>s?.some(t=>l(t,e))??!1,{min:c,max:d}=e;return{selected:s,select:(e,t,r)=>{let a=[...s??[]];if(u(e)){if(s?.length===c||n&&s?.length===1)return;a=s?.filter(t=>!l(t,e))}else a=s?.length===d?[e]:[...a,e];return i||o(a),i?.(a,e,t,r),a},isSelected:u}}(e,t),i=function(e,t){let{disabled:r,excludeDisabled:n,selected:i,required:a,onSelect:o}=e,[s,l]=t_(i,o?i:void 0),u=o?i:s;return{selected:u,select:(i,s,c)=>{let{min:d,max:f}=e,h=i?function(e,t,r=0,n=0,i=!1,a=em){let o,{from:s,to:l}=t||{},{isSameDay:u,isAfter:c,isBefore:d}=a;if(s||l){if(s&&!l)o=u(s,e)?0===r?{from:s,to:e}:i?{from:s,to:void 0}:void 0:d(e,s)?{from:e,to:s}:{from:s,to:e};else if(s&&l)if(u(s,e)&&u(l,e))o=i?{from:s,to:l}:void 0;else if(u(s,e))o={from:s,to:r>0?void 0:e};else if(u(l,e))o={from:e,to:r>0?void 0:e};else if(d(e,s))o={from:e,to:l};else if(c(e,s))o={from:s,to:e};else if(c(e,l))o={from:s,to:e};else throw Error("Invalid range")}else o={from:e,to:r>0?void 0:e};if(o?.from&&o?.to){let t=a.differenceInCalendarDays(o.to,o.from);n>0&&t>n?o={from:e,to:void 0}:r>1&&t<r&&(o={from:e,to:void 0})}return o}(i,u,d,f,a,t):void 0;return n&&r&&h?.from&&h.to&&function(e,t,r=em){let n=Array.isArray(t)?t:[t];if(n.filter(e=>"function"!=typeof e).some(t=>"boolean"==typeof t?t:r.isDate(t)?ey(e,t,!1,r):ew(t,r)?t.some(t=>ey(e,t,!1,r)):eb(t)?!!t.from&&!!t.to&&tw(e,{from:t.from,to:t.to},r):eS(t)?function(e,t,r=em){let n=Array.isArray(t)?t:[t],i=e.from,a=Math.min(r.differenceInCalendarDays(e.to,e.from),6);for(let e=0;e<=a;e++){if(n.includes(i.getDay()))return!0;
1i=r.addDays(i,1)}return!1}(e,t.dayOfWeek,r):ev(t)?r.isAfter(t.before,t.after)?tw(e,{from:r.addDays(t.after,1),to:r.addDays(t.before,-1)},r):eT(e.from,t,r)||eT(e.to,t,r):!!(eE(t)||e_(t))&&(eT(e.from,t,r)||eT(e.to,t,r))))return!0;let i=n.filter(e=>"function"==typeof e);if(i.length){let t=e.from,n=r.differenceInCalendarDays(e.to,e.from);for(let e=0;e<=n;e++){if(i.some(e=>e(t)))return!0;t=r.addDays(t,1)}}return!1}({from:h.from,to:h.to},r,t)&&(h.from=i,h.to=void 0),o||l(h),o?.(h,i,s,c),h},isSelected:e=>u&&ey(u,e,!1,t)}}(e,t);switch(e.mode){case"single":return r;case"multiple":return n;case"range":return i;default:return}}(n,h)??{},{blur:J,focused:ee,isFocusTarget:et,moveFocus:er,setFocused:en}=function(e,t,r,n,a){let{autoFocus:o}=e,[s,u]=(0,l.useState)(),c=function(e,t,r,n){let a,o=-1;for(let s of e){let e=t(s);tS(e)&&(e[eg.pL.focused]&&o<i.FocusedModifier?(a=s,o=i.FocusedModifier):n?.isEqualTo(s)&&o<i.LastFocused?(a=s,o=i.LastFocused):r(s.date)&&o<i.Selected?(a=s,o=i.Selected):e[eg.pL.today]&&o<i.Today&&(a=s,o=i.Today))}return a||(a=e.find(e=>tS(t(e)))),a}(t.days,r,n||(()=>!1),s),[d,f]=(0,l.useState)(o?c:void 0);return{isFocusTarget:e=>!!c?.isEqualTo(e),setFocused:f,focused:d,blur:()=>{u(d),f(void 0)},moveFocus:(r,n)=>{if(!d)return;let i=function e(t,r,n,i,a,o,s,l=0){if(l>365)return;let u=function(e,t,r,n,i,a,o){let{ISOWeek:s,broadcastCalendar:l}=a,{addDays:u,addMonths:c,addWeeks:d,addYears:f,endOfBroadcastWeek:h,endOfISOWeek:p,endOfWeek:m,max:g,min:y,startOfBroadcastWeek:v,startOfISOWeek:b,startOfWeek:E}=o,_=({day:u,week:d,month:c,year:f,startOfWeek:e=>l?v(e,o):s?b(e):E(e),endOfWeek:e=>l?h(e):s?p(e):m(e)})[e](r,"after"===t?1:-1);return"before"===t&&n?_=g([n,_]):"after"===t&&i&&(_=y([i,_])),_}(t,r,n.date,i,a,o,s),c=!!(o.disabled&&eT(u,o.disabled,s)),d=!!(o.hidden&&eT(u,o.hidden,s)),f=new tv(u,u,s);return c||d?e(t,r,f,i,a,o,s,l+1):f}(r,n,d,t.navStart,t.navEnd,e,a);if(i){if(e.disableNavigation&&!t.days.some(e=>e.isEqualTo(i)))return;t.goToDay(i),f(i)}}}}(n,F,Y,Z??(()=>!1),h),{labelDayButton:ei,labelGridcell:ea,labelGrid:eo,labelMonthDropdown:el,labelNav:eu,labelPrevious:ed,labelNext:ef,labelWeekday:eh,labelWeekNumber:eO,labelWeekNumberHeader:ex,labelYearDropdown:eP}=f,eA=(0,l.useMemo)(()=>(function(e,t,r,n){let i=n??e.today(),a=r?e.startOfBroadcastWeek(i,e):t?e.startOfISOWeek(i):e.startOfWeek(i),o=[];for(let t=0;t<7;t++){let r=e.addDays(a,t);o.push(r)}return o})(h,n.ISOWeek,n.broadcastCalendar,n.today),[h,n.ISOWeek,n.broadcastCalendar,n.today]),ek=void 0!==y||void 0!==_,eI=(0,l.useCallback)(()=>{G&&(V(G),k?.(G))},[G,V,k]),eC=(0,l.useCallback)(()=>{W&&(V(W),P?.(W))},[V,W,P]),eR=(0,l.useCallback)((e,t)=>r=>{r.preventDefault(),r.stopPropagation(),en(e),t.disabled||(X?.(e.date,t,r),_?.(e.date,t,r))},[X,_,en]),eD=(0,l.useCallback)((e,t)=>r=>{en(e),w?.(e.date,t,r)},[w,en]),eN=(0,l.useCallback)((e,t)=>r=>{J(),E?.(e.date,t,r)},[J,E]),ej=(0,l.useCallback)((e,t)=>r=>{let i={ArrowLeft:[r.shiftKey?"month":"day","rtl"===n.dir?"after":"before"],ArrowRight:[r.shiftKey?"month":"day","rtl"===n.dir?"before":"after"],ArrowDown:[r.shiftKey?"year":"week","after"],ArrowUp:[r.shiftKey?"year":"week","before"],PageUp:[r.shiftKey?"year":"month","before"],PageDown:[r.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(i[r.key]){r.preventDefault(),r.stopPropagation();let[e,t]=i[r.key];er(e,t)}T?.(e.date,t,r)},[er,T,n.dir]),eM=(0,l.useCallback)((e,t)=>r=>{O?.(e.date,t,r)},[O]),e$=(0,l.useCallback)((e,t)=>r=>{x?.(e.date,t,r)},[x]),eU=(0,l.useCallback)(e=>t=>{let r=Number(t.target.value);V(h.setMonth(h.startOfMonth(e),r))},[h,V]),eF=(0,l.useCallback)(e=>t=>{let r=Number(t.target.value);V(h.setYear(h.startOfMonth(e),r))}
1,[h,V]),{className:eB,style:ez}=(0,l.useMemo)(()=>({className:[m[eg.UI.Root],n.className].filter(Boolean).join(" "),style:{...R?.[eg.UI.Root],...n.style}}),[m,n.className,n.style,R]),eH=(r={"data-mode":(t=n).mode??void 0,"data-required":"required"in t?t.required:void 0,"data-multiple-months":t.numberOfMonths&&t.numberOfMonths>1||void 0,"data-week-numbers":t.showWeekNumber||void 0,"data-broadcast-calendar":t.broadcastCalendar||void 0,"data-nav-layout":t.navLayout||void 0},Object.entries(t).forEach(([e,t])=>{e.startsWith("data-")&&(r[e]=t)}),r),eq=(0,l.useRef)(null);!function(e,t,{classNames:r,months:n,focused:i,dateLib:a}){let o=(0,l.useRef)(null),s=(0,l.useRef)(n),u=(0,l.useRef)(!1);(0,l.useLayoutEffect)(()=>{let l=s.current;if(s.current=n,!t||!e.current||!(e.current instanceof HTMLElement)||0===n.length||0===l.length||n.length!==l.length)return;let c=a.isSameMonth(n[0].date,l[0].date),d=a.isAfter(n[0].date,l[0].date),f=d?r[eg.X5.caption_after_enter]:r[eg.X5.caption_before_enter],h=d?r[eg.X5.weeks_after_enter]:r[eg.X5.weeks_before_enter],p=o.current,m=e.current.cloneNode(!0);if(m instanceof HTMLElement?(tp(m).forEach(e=>{if(!(e instanceof HTMLElement))return;let t=th(e.querySelector("[data-animated-month]"));t&&e.contains(t)&&e.removeChild(t);let r=tm(e);r&&r.classList.remove(f);let n=tg(e);n&&n.classList.remove(h)}),o.current=m):o.current=null,u.current||c||i)return;let g=p instanceof HTMLElement?tp(p):[],y=tp(e.current);if(y?.every(e=>e instanceof HTMLElement)&&g&&g.every(e=>e instanceof HTMLElement)){u.current=!0;let t=[];e.current.style.isolation="isolate";let n=th(e.current.querySelector("[data-animated-nav]"));n&&(n.style.zIndex="1"),y.forEach((i,a)=>{let o=g[a];if(!o)return;i.style.position="relative",i.style.overflow="hidden";let s=tm(i);s&&s.classList.add(f);let l=tg(i);l&&l.classList.add(h);let c=()=>{u.current=!1,e.current&&(e.current.style.isolation=""),n&&(n.style.zIndex=""),s&&s.classList.remove(f),l&&l.classList.remove(h),i.style.position="",i.style.overflow="",i.contains(o)&&i.removeChild(o)};t.push(c),o.style.pointerEvents="none",o.style.position="absolute",o.style.overflow="hidden",o.setAttribute("aria-hidden","true");let p=th(o.querySelector("[data-animated-weekdays]"));p&&(p.style.opacity="0");let m=tm(o);m&&(m.classList.add(d?r[eg.X5.caption_before_exit]:r[eg.X5.caption_after_exit]),m.addEventListener("animationend",c));let y=tg(o);y&&y.classList.add(d?r[eg.X5.weeks_before_exit]:r[eg.X5.weeks_after_exit]),i.insertBefore(o,i.firstChild)})}})}(eq,!!n.animate,{classNames:m,months:z,focused:ee,dateLib:h});let eG={dayPickerProps:n,selected:Q,select:X,isSelected:Z,months:z,nextMonth:W,previousMonth:G,goToMonth:V,getModifiers:Y,components:c,classNames:m,styles:R,labels:f,formatters:d};return l.createElement(eL.Provider,{value:eG},l.createElement(c.Root,{rootRef:n.animate?eq:void 0,className:eB,style:ez,dir:n.dir,id:n.id,lang:n.lang,nonce:n.nonce,title:n.title,role:n.role,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"],...eH},l.createElement(c.Months,{className:m[eg.UI.Months],style:R?.[eg.UI.Months]},!n.hideNavigation&&!v&&l.createElement(c.Nav,{"data-animated-nav":n.animate?"true":void 0,className:m[eg.UI.Nav],style:R?.[eg.UI.Nav],"aria-label":eu(),onPreviousClick:eI,onNextClick:eC,previousMonth:G,nextMonth:W}),z.map((e,t)=>{let r,i;return l.createElement(c.Month,{"data-animated-month":n.animate?"true":void 0,className:m[eg.UI.Month],style:R?.[eg.UI.Month],key:t,displayIndex:t,calendarMonth:e},"around"===v&&!n.hideNavigation&&0===t&&l.createElement(c.PreviousMonthButton,{type:"button",className:m[eg.UI.PreviousMonthButton],tabIndex:G?void 0:-1,"aria-disabled":!G||void 0,"aria-label":ed(G),onClick:eI,"data-animated-button":n.animate?"true":void 0},l.createElement(c.Chevron,{disabled:!G||void 0,className:m[eg.UI.Chevron],orientation:"rtl"===n.dir?"right":"left"})),l.createElement(c.MonthCaption,{"data-animated-caption":n.animate?"true":void 0,className:m[eg.UI.MonthCaption],style:R?.[eg.UI.MonthCaption],calendarMonth:e,displayIndex:t},g?.startsWith("dropdown")?l.createElement(c.DropdownNav,{className:m[eg.UI.Dropdowns],style:R?.[eg.UI.Dropdowns]},(r="dropdown"===g||"dropdown-months"===g?l.createElement(c.MonthsDropdown,{key:"month",className:m[eg.UI.MonthsDropdown],"aria-label":el(),classNames:m,components:c,disabled:!!n.disableNavigation,onChange:eU(e.date),options:function(e,t,r,n,i){let{startOfMonth:a,startOfYear:o,endOfYear:s,eachMonthOfInterval:l,getMonth:u}=i;return l({start:o(e),end:s(e)}).map(e=>{let o=n.formatMonthDropdown(e,i);return{value:u(e),label:o,disabled:t&&e<a(t)||r&&e>a(r)||!1}})}(e.date,H,q,d,h),style:R?.[eg.UI.Dropdown],value:h.getMonth(e.date)}):l.createElement("span",{key:"month"},j(e.date,h)),i="dropdown"===g||"dropdown-years"===g?l.createElement(c.YearsDropdown,{key:"year",className:m[eg.UI.YearsDropdown],"aria-label":eP(h.options),classNames:m,components:c,disabled:!!n.disableNavigation,onChange:eF(e.date),options:function(e,t,r,n,i=!1){if(!e||!t)return;let{startOfYear:a,endOfYear:o,eachYearOfInterval:s,getYear:l}=n,u=s({start:a(e),end:o(t)});return i&&u.reverse(),u.map(e=>{let t=r.formatYearDropdown(e,n);return{value:l(e),label:t,disabled:!1}})}(H,q,d,h,!!n.reverseYears),style:R?.[eg.UI.Dropdown],value:h.getYear(e.date)}):l.createElement("span",{key:"year"},U(e.date,h)),"year-first"===h.getMonthYearOrder()?[i,r]:[r,i]),l.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},D(e.date,h.options,h))):l.createElement(c.CaptionLabel,{className:m[eg.UI.CaptionLabel],role:"status","aria-live":"polite"},D(e.date,h.options,h))),"around"===v&&!n.hideNavigation&&t===b-1&&l.createElement(c.NextMonthButton,{type:"button",className:m[eg.UI.NextMonthButton],tabIndex:W?void 0:-1,"aria-disabled":!W||void 0,"aria-label":ef(W),onClick:eC,"data-animated-button":n.animate?"true":void 0},l.createElement(c.Chevron,{disabled:!W||void 0,className:m[eg.UI.Chevron],orientation:"rtl"===n.dir?"left":"right"})),t===b-1&&"after"===v&&!n.hideNavigation&&l.createElement(c.Nav,{"data-animated-nav":n.animate?"true":void 0,className:m[eg.UI.Nav],style:R?.[eg.UI.Nav],"aria-label":eu(),onPreviousClick:eI,onNextClick:eC,previousMonth:G,nextMonth:W}),l.createElement(c.MonthGrid,{role:"grid","aria-multiselectable":"multiple"===y||"range"===y,"aria-label":eo(e.date,h.options,h)||void 0,className:m[eg.UI.MonthGrid],style:R?.[eg.UI.MonthGrid]},!n.hideWeekdays&&l.createElement(c.Weekdays,{"data-animated-weekdays":n.animate?"true":void 0,className:m[eg.UI.Weekdays],style:R?.[eg.UI.Weekdays]},C&&l.createElement(c.WeekNumberHeader,{"aria-label":ex(h.options),className:m[eg.UI.WeekNumberHeader],style:R?.[eg.UI.WeekNumberHeader],scope:"col"},L()),eA.map(e=>l.createElement(c.Weekday,{"aria-label":eh(e,h.options,h),className:m[eg.UI.Weekday],key:String(e),style:R?.[eg.UI.Weekday],scope:"col"},$(e,h.options,h)))),l.createElement(c.Weeks,{"data-animated-weeks":n.animate?"true":void 0,className:m[eg.UI.Weeks],style:R?.[eg.UI.Weeks]},e.weeks.map(e=>l.createElement(c.Week,{className:m[eg.UI.Week],key:e.weekNumber,style:R?.[eg.UI.Week],week:e},C&&l.createElement(c.WeekNumber,{week:e,style:R?.[eg.UI.WeekNumber],"aria-label":eO(e.weekNumber,{locale:p}),className:m[eg.UI.WeekNumber],scope:"row",role:"rowheader"},M(e.weekNumber,h)),e.days.map(e=>{let{date:t}=e,r=Y(e);if(r[eg.pL.focused]=!r.hidden&&!!ee?.isEqualTo(e),r[eg.wc.selected]=Z?.(t)||r.selected,eb(Q)){let{from:e,to:n}=Q;r[eg.wc.range_start]=!!(e&&n&&h.isSameDay(t,e)),r[eg.wc.range_end]=!!(e&&n&&h.isSameDay(t,n)),r[eg.wc.range_middle]=ey(Q,t,!0,h)}let i=function(e,t={},r={}){let n={...t?.[eg.UI.Day]};return Object.entries(e).filter(([,e])=>!0===e).forEach(([e])=>{n={...n,...r?.[e]}}),n}(r,R,n.modifiersStyles),a=function(e,t,r={}){return Object.entries(e).filter(([,e])=>!0===e).reduce((e,[n])=>(r[n]?e.push(r[n]):t[eg.pL[n]]?e.push(t[eg.pL[n]]):t[eg.wc[n]]&&e.push(t[eg.wc[n]]),e),[t[eg.UI.Day]])}(r,m,n.modifiersClassNames),o=ek||r.hidden?void 0:ea(t,r,h.options,h);return l.createElement(c.Day,{key:`${e.isoDate}_${e.displayMonthId}`,day:e,modifiers:r,className:a.join(" "),style:i,role:"gridcell","aria-selected":r.selected||void 0,"aria-label":o,"data-day":e.isoDate,"data-month":e.outside?e.dateMonthId:void 0,"data-selected":r.selected||void 0,"data-disabled":r.disabled||void 0,"data-hidden":r.hidden||void 0,"data-outside":e.outside||void 0,"data-focused":r.focused||void 0,"data-today":r.today||void 0},!r.hidden&&ek?l.createElement(c.DayButton,{className:m[eg.UI.DayButton],style:R?.[eg.UI.DayButton],type:"button",day:e,modifiers:r,disabled:!r.focused&&r.disabled||void 0,"aria-disabled":r.focused&&r.disabled||void 0,tabIndex:et(e)?0:-1,"aria-label":ei(t,r,h.options,h),onClick:eR(e,r),onBlur:eN(e,r),onFocus:eD(e,r),onKeyDown:ej(e,r),onMouseEnter:eM(e,r),onMouseLeave:e$(e,r)},N(t,h.options,h)):!r.hidden&&N(e.date,h.options,h))}))))))})),n.footer&&l.createElement(c.Footer,{className:m[eg.UI.Footer],style:R?.[eg.UI.Footer],role:"status","aria-live":"polite"},n.footer)))}(n=i||(i={}))[n.Today=0]="Today",n[n.Selected=1]="Selected",n[n.LastFocused=2]="LastFocused",n[n.FocusedModifier=3]="FocusedModifier"},12240:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var n={getCacheSignal:function(){return v},getDraftModeProviderForCacheScope:function(){return g},getHmrRefreshHash:function(){return h},getPrerenderResumeDataCache:function(){return d},getRenderResumeDataCache:function(){return f},getServerComponentsHmrCache:function(){return m},getStagedRenderingController:function(){return y},isHmrRefresh:function(){return p},isInEarlyRenderStage:function(){return l},throwForMissingRequestStore:function(){return u},throwInvariantForMissingStore:function(){return c},workUnitAsyncStorage:function(){return a.workUnitAsyncStorageInstance}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(70354);r(80813);let o=r(4685),s=r(39776);function l(e){let t=e.stagedRendering;return!!t&&(t.currentStage===s.RenderStage.EarlyStatic||t.currentStage===s.RenderStage.EarlyRuntime)}function u(e){throw Object.defineProperty(Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}function c(){throw Object.defineProperty(new o.InvariantError("Expected workUnitAsyncStorage to have a store."),"__NEXT_ERROR_CODE",{value:"E696",enumerable:!1,configurable:!0})}function d(e){switch(e.type){case"prerender":case"prerender-runtime":case"prerender-ppr":case"prerender-client":case"validation-client":return e.prerenderResumeDataCache;case"request":if(e.prerenderResumeDataCache)return e.prerenderResumeDataCache;case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return e}}function f(e){switch(e.type){case"request":case"prerender":case"prerender-runtime":case"prerender-client":case"validation-client":if(e.renderResumeDataCache)return e.renderResumeDataCache;case"prerender-ppr":return e.prerenderResumeDataCache??null;case"cache":case"private-cache":case"unstable-cache":case"prerender-legacy":case"generate-static-params":return null;default:return e}}function h(e){}function p(e){return!1}function m(e){}function g(e,t){if(e.isDraftMode)switch(t.type){case"cache":case"private-cache":case"unstable-cache":case"prerender-runtime":case"request":return t.draftMode}}function y(e){switch(e.type){case"request":case"prerender-runtime":return e.stagedRendering??null;case"prerender":case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return e}}function v(e){switch(e.type){case"prerender":case"prerender-client":case"validation-client":case"prerender-runtime":return e.cacheSignal;case"request":if(e.cacheSignal)return e.cacheSignal;case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return e}}},12457:()=>{},12458: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"à®à®´à¯à®¤à¯à®¤à¯à®à¯à®à®³à¯",verb:"à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯"},file:{unit:"பà¯à®à¯à®à¯à®à®³à¯",verb:"à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯"},array:{unit:"à®à®±à¯à®ªà¯à®ªà¯à®à®³à¯",verb:"à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯"}
1,set:{unit:"à®à®±à¯à®ªà¯à®ªà¯à®à®³à¯",verb:"à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯"}},t={regex:"à®à®³à¯à®³à¯à®à¯",email:"மினà¯à®©à®à¯à®à®²à¯ à®®à¯à®à®µà®°à®¿",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தà¯à®¤à®¿ நà¯à®°à®®à¯",date:"ISO தà¯à®¤à®¿",time:"ISO நà¯à®°à®®à¯",duration:"ISO à®à®¾à®² à®
ளவà¯",ipv4:"IPv4 à®®à¯à®à®µà®°à®¿",ipv6:"IPv6 à®®à¯à®à®µà®°à®¿",cidrv4:"IPv4 வரமà¯à®ªà¯",cidrv6:"IPv6 வரமà¯à®ªà¯",base64:"base64-encoded à®à®°à®®à¯",base64url:"base64url-encoded à®à®°à®®à¯",json_string:"JSON à®à®°à®®à¯",e164:"E.164 à®à®£à¯",jwt:"JWT",template_literal:"input"},r=>{switch(r.code){case"invalid_type":return`தவறான à®à®³à¯à®³à¯à®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${r.expected}, பà¯à®±à®ªà¯à®ªà®à¯à®à®¤à¯ ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"à®à®£à¯ à®
லà¯à®²à®¾à®¤à®¤à¯":"à®à®£à¯";case"object":if(Array.isArray(e))return"à®
ணி";
1if(null===e)return"வà¯à®±à¯à®®à¯";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`தவறான à®à®³à¯à®³à¯à®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${o.stringifyPrimitive(r.values[0])}`;return`தவறான விரà¯à®ªà¯à®ªà®®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${o.joinValues(r.values,"|")} à®à®²à¯ à®à®©à¯à®±à¯`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`மி஠பà¯à®°à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${r.origin??"மதிபà¯à®ªà¯"} ${t}${r.maximum.toString()} ${n.unit??"à®à®±à¯à®ªà¯à®ªà¯à®à®³à¯"} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;return`மி஠பà¯à®°à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${r.origin??"மதிபà¯à®ªà¯"} ${t}${r.maximum.toString()} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`மிà®à®à¯ à®à®¿à®±à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${r.origin} ${t}${r.minimum.toString()} ${n.unit} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;return`மிà®à®à¯ à®à®¿à®±à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${r.origin} ${t}${r.minimum.toString()} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`}case"invalid_format":if("starts_with"===r.format)return`தவறான à®à®°à®®à¯: "${r.prefix}" à®à®²à¯ தà¯à®à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;if("ends_with"===r.format)return`தவறான à®à®°à®®à¯: "${r.suffix}" à®à®²à¯ à®®à¯à®à®¿à®µà®à¯à®¯ வà¯à®£à¯à®à¯à®®à¯`;if("includes"===r.format)return`தவறான à®à®°à®®à¯: "${r.includes}" à® à®à®³à¯à®³à®à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;if("regex"===r.format)return`தவறான à®à®°à®®à¯: ${r.pattern} à®®à¯à®±à¯à®ªà®¾à®à¯à®à¯à®à®©à¯ பà¯à®°à¯à®¨à¯à®¤ வà¯à®£à¯à®à¯à®®à¯`;return`தவறான ${t[r.format]??r.format}`;case"not_multiple_of":return`தவறான à®à®£à¯: ${r.divisor} à®à®©à¯ பலமா஠à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;case"unrecognized_keys":return`à®
à®à¯à®¯à®¾à®³à®®à¯ தà¯à®°à®¿à®¯à®¾à®¤ விà®à¯${r.keys.length>1?"à®à®³à¯":""}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`${r.origin} à®à®²à¯ தவறான விà®à¯`;case"invalid_union":default:return"தவறான à®à®³à¯à®³à¯à®à¯";case"invalid_element":return`${r.origin} à®à®²à¯ தவறான மதிபà¯à®ªà¯`}})}};let o=a(r(3947))},12693:(e,t,r)=>{"use strict";function n(e){return btoa(encodeURIComponent(JSON.stringify(e)))}r.d(t,{h:()=>n})},13587:(e,t,r)=>{"use strict";let n=r(83739),i=r(15774),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);let r=0|p(n,i),a=o(r),l=a.write(n,i);return l!==r&&(a=a.slice(0,l)),a}if(ArrayBuffer.isView(e)){var a=e;if(L(a,Uint8Array)){let e=new Uint8Array(a);return f(e.buffer,e.byteOffset,e.byteLength)}return d(a)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(L(e,ArrayBuffer)||e&&L(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(L(e,SharedArrayBuffer)||e&&L(e.buffer,SharedArrayBuffer)))return f(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let l=e.valueOf&&e.valueOf();if(null!=l&&l!==e)return s.from(l,t,r);let u=function(e){if(s.isBuffer(e)){let t=0|h(e.length),r=o(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?o(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(u)return u;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
vendor: 23,850 bytes, line 1
1if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),o(e<0?0:0|h(e))}function d(e){let t=e.length<0?0:0|h(e.length),r=o(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function f(e,t,r){let n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}function h(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||L(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return j(e).length;default:if(i)return n?-1:N(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,r){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=t;n<r;++n)i+=$[e[n]];return i}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":var a,o,s;return a=this,o=t,s=r,0===o&&s===a.length?n.fromByteArray(a):n.fromByteArray(a.slice(o,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){let n=e.slice(t,r),i="";for(let e=0;e<n.length-1;e+=2)i+=String.fromCharCode(n[e]+256*n[e+1]);return i}(this,t,r);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function g(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){var a;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(a=r*=1)!=a&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return v(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){let a,o=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;o=2,s/=2,l/=2,r/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){let n=-1;for(a=r;a<s;a++)if(u(e,a)===u(t,-1===n?0:a-n)){if(-1===n&&(n=a),a-n+1===l)return n*o}else -1!==n&&(a-=a-n),n=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){let r=!0;for(let n=0;n<l;n++)if(u(e,a+n)!==u(t,n)){r=!1;break}if(r)return a}return -1}function b(e,t,r){r=Math.min(e.length,r);let n=[],i=t;for(;i<r;){let t=e[i],a=null,o=t>239?4:t>223?3:t>191?2:1;if(i+o<=r){let r,n,s,l;switch(o){case 1:t<128&&(a=t);break;case 2:(192&(r=e[i+1]))==128&&(l=(31&t)<<6|63&r)>127&&(a=l);break;case 3:r=e[i+1],n=e[i+2],(192&r)==128&&(192&n)==128&&(l=(15&t)<<12|(63&r)<<6|63&n)>2047&&(l<55296||l>57343)&&(a=l);break;case 4:r=e[i+1],n=e[i+2],s=e[i+3],(192&r)==128&&(192&n)==128&&(192&s)==128&&(l=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&s)>65535&&l<1114112&&(a=l)}}null===a?(a=65533,o=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),i+=o}var a=n;let o=a.length;if(o<=4096)return String.fromCharCode.apply(String,a);let s="",l=0;for(;l<o;)s+=String.fromCharCode.apply(String,a.slice(l,l+=4096));return s}function E(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function _(e,t,r,n,i,a){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function S(e,t,r,n,i){I(t,n,i,e,r,7);let a=Number(t&BigInt(0xffffffff));e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a;let o=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,r}function w(e,t,r,n,i){I(t,n,i,e,r,7);let a=Number(t&BigInt(0xffffffff));e[r+7]=a,a>>=8,e[r+6]=a,a>>=8,e[r+5]=a,a>>=8,e[r+4]=a;let o=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r+3]=o,o>>=8,e[r+2]=o,o>>=8,e[r+1]=o,o>>=8,e[r]=o,r+8}function T(e,t,r,n,i,a){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function O(e,t,r,n,a){return t*=1,r>>>=0,a||T(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function x(e,t,r,n,a){return t*=1,r>>>=0,a||T(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.hp=s,t.IS=50,s.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!s.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(u(e),e<=0)?o(e):void 0!==t?"string"==typeof r?o(e).fill(t,r):o(e).fill(t):o(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(L(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),L(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){let r;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;let n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){let t=e[r];if(L(t,Uint8Array))i+t.length>n.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else if(s.isBuffer(t))t.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)g(this,t,t+1);return this},s.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},s.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},s.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):m.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){let e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},a&&(s.prototype[a]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(L(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;let a=i-n,o=r-t,l=Math.min(a,o),u=this.slice(n,i),c=e.slice(t,r);for(let e=0;e<l;++e)if(u[e]!==c[e]){a=u[e],o=c[e];break}return a<o?-1:+(o<a)},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){var i,a,o,s,l,u,c,d;if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let f=this.length-t;if((void 0===r||r>f)&&(r=f),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let h=!1;for(;;)switch(n){case"hex":return function(e,t,r,n){let i;r=Number(r)||0;let a=e.length-r;n?(n=Number(n))>a&&(n=a):n=a;let o=t.length;for(n>o/2&&(n=o/2),i=0;i<n;++i){var s;let n=parseInt(t.substr(2*i,2),16);if((s=n)!=s)break;e[r+i]=n}return i}(this,e,t,r);case"utf8":case"utf-8":return i=t,a=r,M(N(e,this.length-i),this,i,a);case"ascii":case"latin1":case"binary":return o=t,s=r,M(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,o,s);case"base64":return l=t,u=r,M(j(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=r,M(function(e,t){let r,n,i=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,d);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){let r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);let n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);let n=this[e],i=1,a=0;for(;++a<t&&(i*=256);)n+=this[e+a]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||E(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=U(function(e){C(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&R(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+0x1000000*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+0x1000000*r;return BigInt(n)+(BigInt(i)<<BigInt(32))}),s.prototype.readBigUInt64BE=U(function(e){C(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&R(e,this.length-8);let n=0x1000000*t+65536*this[++e]+256*this[++e]+this[++e],i=0x1000000*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)}),s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);let n=this[e],i=1,a=0;for(;++a<t&&(i*=256);)n+=this[e+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);let n=t,i=1,a=this[e+--n];for(;n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},s.prototype.readInt8=function(e,t){return(e>>>=0,t||E(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||E(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||E(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=U(function(e){C(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&R(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+0x1000000*this[++e])}),s.prototype.readBigInt64BE=U(function(e){C(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&R(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(0x1000000*this[++e]+65536*this[++e]+256*this[++e]+r)}),s.prototype.readFloatLE=function(e,t){return e>>>=0,t||E(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||E(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||E(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||E(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;_(this,e,t,r,n,0)}let i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;_(this,e,t,r,n,0)}let i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigUInt64LE=U(function(e,t=0){return S(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=U(function(e,t=0){return w(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){let n=Math.pow(2,8*r-1);_(this,e,t,r,n-1,-n)}let i=0,a=1,o=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===o&&0!==this[t+i-1]&&(o=1),this[t+i]=(e/a|0)-o&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){let n=Math.pow(2,8*r-1);_(this,e,t,r,n-1,-n)}let i=r-1,a=1,o=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(e/a|0)-o&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||_(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeBigInt64LE=U(function(e,t=0){return S(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=U(function(e,t=0){return w(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(e,t,r){return O(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return O(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return x(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return x(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);let i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},s.prototype.fill=function(e,t,r,n){let i;if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){let t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{let a=s.isBuffer(e)?e:s.from(e,n),o=a.length;if(0===o)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%o]}return this};let P={};function A(e,t,r){P[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function k(e){let t="",r=e.length,n=+("-"===e[0]);for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function I(e,t,r,n,i,a){if(e>r||e<t){let n,i="bigint"==typeof t?"n":"";throw n=a>3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(a+1)*8}${i}`:`>= -(2${i} ** ${(a+1)*8-1}${i}) and < 2 ** ${(a+1)*8-1}${i}`:`>= ${t}${i} and <= ${r}${i}`,new P.ERR_OUT_OF_RANGE("value",n,e)}C(i,"offset"),(void 0===n[i]||void 0===n[i+a])&&R(i,n.length-(a+1))}function C(e,t){if("number"!=typeof e)throw new P.ERR_INVALID_ARG_TYPE(t,"number",e)}function R(e,t,r){if(Math.floor(e)!==e)throw C(e,r),new P.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new P.ERR_BUFFER_OUT_OF_BOUNDS;throw new P.ERR_OUT_OF_RANGE(r||"offset",`>= ${+!!r} and <= ${t}`,e)}A("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),A("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),A("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>0x100000000?i=k(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=k(i)),i+="n"),n+=` It must be ${t}. Received ${i}`},RangeError);let D=/[^+/0-9A-Za-z-_]/g;function N(e,t){let r;t=t||1/0;let n=e.length,i=null,a=[];for(let o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319||o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}function j(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(D,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function M(e,t,r,n){let i;for(i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function L(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let $=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let n=16*r;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function U(e){return"u"<typeof BigInt?F:e}function F(){throw Error("BigInt not supported")}},13730: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}},t={regex:"bemenet",email:"email c\xedm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO idÅb\xe9lyeg",date:"ISO d\xe1tum",time:"ISO idÅ",duration:"ISO idÅintervallum",ipv4:"IPv4 c\xedm",ipv6:"IPv6 c\xedm",cidrv4:"IPv4 tartom\xe1ny",cidrv6:"IPv6 tartom\xe1ny",base64:"base64-k\xf3dolt string",base64url:"base64url-k\xf3dolt string",json_string:"JSON string",e164:"E.164 sz\xe1m",jwt:"JWT",template_literal:"bemenet"},r=>
1{switch(r.code){case"invalid_type":return`\xc9rv\xe9nytelen bemenet: a v\xe1rt \xe9rt\xe9k ${r.expected}, a kapott \xe9rt\xe9k ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"sz\xe1m";case"object":if(Array.isArray(e))return"t\xf6mb";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`\xc9rv\xe9nytelen bemenet: a v\xe1rt \xe9rt\xe9k ${o.stringifyPrimitive(r.values[0])}`;return`\xc9rv\xe9nytelen opci\xf3: valamelyik \xe9rt\xe9k v\xe1rt ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`T\xfal nagy: ${r.origin??"\xe9rt\xe9k"} m\xe9rete t\xfal nagy ${t}${r.maximum.toString()} ${n.unit??"elem"}`;return`T\xfal nagy: a bemeneti \xe9rt\xe9k ${r.origin??"\xe9rt\xe9k"} t\xfal nagy: ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`T\xfal kicsi: a bemeneti \xe9rt\xe9k ${r.origin} m\xe9rete t\xfal kicsi ${t}${r.minimum.toString()} ${n.unit}`;return`T\xfal kicsi: a bemeneti \xe9rt\xe9k ${r.origin} t\xfal kicsi ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`\xc9rv\xe9nytelen string: "${r.prefix}" \xe9rt\xe9kkel kell kezdÅdnie`;if("ends_with"===r.format)return`\xc9rv\xe9nytelen string: "${r.suffix}" \xe9rt\xe9kkel kell v\xe9gzÅdnie`;if("includes"===r.format)return`\xc9rv\xe9nytelen string: "${r.includes}" \xe9rt\xe9ket kell tartalmaznia`;if("regex"===r.format)return`\xc9rv\xe9nytelen string: ${r.pattern} mint\xe1nak kell megfelelnie`;return`\xc9rv\xe9nytelen ${t[r.format]??r.format}`;case"not_multiple_of":return`\xc9rv\xe9nytelen sz\xe1m: ${r.divisor} t\xf6bbsz\xf6r\xf6s\xe9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${r.keys.length>1?"s":""}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`\xc9rv\xe9nytelen kulcs ${r.origin}`;case"invalid_union":default:return"\xc9rv\xe9nytelen bemenet";case"invalid_element":return`\xc9rv\xe9nytelen \xe9rt\xe9k: ${r.origin}`}})}};let o=a(r(3947))},13735:(e,t,r)=>{"use strict";function n(){}r.d(t,{ok:()=>n})},15502:(e,t,r)=>{"use strict";function n(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}r.d(t,{A:()=>i,q:()=>n})},15597:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(74180);function i(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},15774:(e,t)=>{t.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?i-1:0,f=r?-1:1,h=e[t+d];for(d+=f,a=h&(1<<-c)-1,h>>=-c,c+=s;c>0;a=256*a+e[t+d],d+=f,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=n;c>0;o=256*o+e[t+d],d+=f,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,n),a-=u}return(h?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,l,u=8*a-i-1,c=(1<<u)-1,d=c>>1,f=5960464477539062e-23*(23===i),h=n?0:a-1,p=n?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=c?(s=0,o=c):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[r+h]=255&s,h+=p,s/=256,i-=8);for(o=o<<i|s,u+=i;u>0;e[r+h]=255&o,h+=p,o/=256,u-=8);e[r+h-p]|=128*m}},15877:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=(n=r(70308))&&n.__esModule?n:{default:n},o=function(e){var t=e.substr(0,13).split("").map(function(e){return parseInt(e,10)}).reduce(function(e,t,r){return e+t*(3-r%2*2)},0);return 10*Math.ceil(t/10)-t};t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");-1!==e.search(/^[0-9]{13}$/)&&(e+=o(e));var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]{14}$/)&&+this.data[13]===o(this.data)}}]),t}(a.default)},15880:(e,t,r)=>{"use strict";function n(e){return(t,r={})=>{let n=t.match(e.matchPattern);if(!n)return null;let i=n[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];return{value:o=r.valueCallback?r.valueCallback(o):o,rest:t.slice(i.length)}}}r.d(t,{K:()=>n})},15975:(e,t,r)=>{"use strict";var n=r(9395),i=r(63738),a=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,l=String.prototype.split,u=Array.prototype.push,c=function(e,t){u.apply(e,s(t)?t:[t])},d=Date.prototype.toISOString,f=i.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,r,i,a,o,u,d,f,p,m,g,y,v,b){var E,_,S=t;if("function"==typeof d?S=d(r,S):S instanceof Date?S=m(S):"comma"===i&&s(S)&&(S=n.maybeMap(S,function(e){return e instanceof Date?m(e):e})),null===S){if(a)return u&&!v?u(r,h.encoder,b,"key",g):r;S=""}if("string"==typeof(E=S)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||n.isBuffer(S)){if
1(u){var w=v?r:u(r,h.encoder,b,"key",g);if("comma"===i&&v){for(var T=l.call(String(S),","),O="",x=0;x<T.length;++x)O+=(0===x?"":",")+y(u(T[x],h.encoder,b,"value",g));return[y(w)+"="+O]}return[y(w)+"="+y(u(S,h.encoder,b,"value",g))]}return[y(r)+"="+y(String(S))]}var P=[];if(void 0===S)return P;if("comma"===i&&s(S))_=[{value:S.length>0?S.join(",")||null:void 0}];else if(s(d))_=d;else{var A=Object.keys(S);_=f?A.sort(f):A}for(var k=0;k<_.length;++k){var I=_[k],C="object"==typeof I&&void 0!==I.value?I.value:S[I];o&&null===C||c(P,e(C,s(S)?"function"==typeof i?i(r,I):r:r+(p?"."+I:"["+I+"]"),i,a,o,u,d,f,p,m,g,y,v,b))}return P},m=function(e){if(!e)return h;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw TypeError("Unknown format option provided.");r=e.format}var n=i.formatters[r],o=h.filter;return("function"==typeof e.filter||s(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}};e.exports=function(e,t){var r,n,i=e,a=m(t);"function"==typeof a.filter?i=(0,a.filter)("",i):s(a.filter)&&(r=a.filter);var l=[];if("object"!=typeof i||null===i)return"";n=t&&t.arrayFormat in o?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var u=o[n];r||(r=Object.keys(i)),a.sort&&r.sort(a.sort);for(var d=0;d<r.length;++d){var f=r[d];a.skipNulls&&null===i[f]||c(l,p(i[f],f,u,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset))}var h=l.join(a.delimiter),g=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),h.length>0?g+h:""}},17088:(e,t,r)=>{"use strict";r.d(t,{i:()=>o,x:()=>c});var n={"&":"&","<":"<",">":">",'"':""","'":"'"},i=/[&<>"']/g,a=RegExp(i.source);function o(e){return e&&a.test(e)?e.replace(i,function(e){return n[e]}):e}var s={"&":"&","<":"<",">":">",""":'"',"'":"'"},l=/&(amp|quot|lt|gt|#39);/g,u=RegExp(l.source);function c(e){return e&&u.test(e)?e.replace(l,function(e){return s[e]}):e}},17538:e=>{"use strict";e.exports=function(e,t){return e.filter(function(r,n){return t.indexOf(r)>-1&&e.indexOf(r)===n})}},18063: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}},t={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},r=>
1{switch(r.code){case"invalid_type":return`Input tidak sah: dijangka ${r.expected}, diterima ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"nombor";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Input tidak sah: dijangka ${o.stringifyPrimitive(r.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Terlalu besar: dijangka ${r.origin??"nilai"} ${n.verb} ${t}${r.maximum.toString()} ${n.unit??"elemen"}`;return`Terlalu besar: dijangka ${r.origin??"nilai"} adalah ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Terlalu kecil: dijangka ${r.origin} ${n.verb} ${t}${r.minimum.toString()} ${n.unit}`;return`Terlalu kecil: dijangka ${r.origin} adalah ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`String tidak sah: mesti bermula dengan "${r.prefix}"`;if("ends_with"===r.format)return`String tidak sah: mesti berakhir dengan "${r.suffix}"`;if("includes"===r.format)return`String tidak sah: mesti mengandungi "${r.includes}"`;if("regex"===r.format)return`String tidak sah: mesti sepadan dengan corak ${r.pattern}`;return`${t[r.format]??r.format} tidak sah`;case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${r.origin}`;case"invalid_union":default:return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${r.origin}`}})}};let o=a(r(3947))},18647:(e,t,r)=>{"use strict";var n=r(8183),i=r(77748),a=r(54094),o={addRefinement:function(e,t,r){if(o.isRefined(e,t,r))return e;var i=""+r,a=e[t]?e[t].concat(i):[i],s={};return s[t]=a,n(s,e)},removeRefinement:function(e,t,r){if(void 0===r)return o.clearRefinement(e,function(e,r){return t===r});var n=""+r;return o.clearRefinement(e,function(e,r){return t===r&&n===e})},toggleRefinement:function(e,t,r){if(void 0===r)throw Error("toggleRefinement should be used with a value");return o.isRefined(e,t,r)?o.removeRefinement(e,t,r):o.addRefinement(e,t,r)},clearRefinement:function(e,t,r){if(void 0===t)return i(e)?{}:e;if("string"==typeof t)return a(e,[t]);if("function"==typeof t){var n=!1,o=Object.keys(e).reduce(function(i,a){var o=e[a]||[],s=o.filter(function(e){return!t(e,a,r)});return s.length!==o.length&&(n=!0),i[a]=s,i},{});return n?o:e}},isRefined:function(e,t,r){var n=!!e[t]&&e[t].length>0;return void 0!==r&&n?-1!==e[t].indexOf(""+r):n}};e.exports=o},19094:(e,t,r)=>{"use strict";r.d(t,{A:()=>tG});var n,i,a,o,s,l,u,c,d,f,h,p,m,g,y,v,b,E,_,S,w,T,O,x,P,A,k,I,C,R,D=r(13735),N=r(66850),j=r(71681);let M=/[#.]/g;var L=r(32040),$=r(34198),U=r(15502);function F(e,t,r){let n=r?function(e){let t=new Map;for(let r of e)t.set(r.toLowerCase(),r);return t}(r):void 0;return function(r,i,...a){let o;if(null==r)o={type:"root",children:[]},a.unshift(i);else{let s=(o=function(e,t){let r,n,i=e||"",a={},o=0;for(;o<i.length;){M.lastIndex=o;let e=M.exec(i),t=i.slice(o,e?e.index:i.length);t&&(r?"#"===r?a.id=t:Array.isArray(a.className)?a.className.push(t):a.className=[t]:n=t,o+=t.length),e&&(r=e[0],o++)}return{type:"element",tagName:n||t||"div",properties:a,children:[]}}(r,t)).tagName.toLowerCase(),l=n?n.get(s):void 0;if(o.tagName=l||s,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;for(let t of Object.keys(e)){let r=e[t];if(r&&"object"==typeof r){if(!Array.isArray(r))return!0;for(let e of r)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(i))a.unshift(i);else for(let[t,r]of Object.entries(i))!function(e,t,r,n){let i,a=(0,L.I)(e,r);if(null!=n){if("number"==typeof n){if(Number.isNaN(n))return;i=n}else i="boolean"==typeof n?n:"string"==typeof n?a.spaceSeparated?(0,U.q)(n):a.commaSeparated?(0,j.q)(n):a.commaOrSpaceSeparated?(0,U.q)((0,j.q)(n).join(" ")):B(a,a.property,n):Array.isArray(n)?[...n]:"style"===a.property?function(e){let t=[];for(let[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}(n):String(n);if(Array.isArray(i)){let e=[];for(let t of i)e.push(B(a,a.property,t));i=e}"className"===a.property&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}(e,o.properties,t,r)}for(let e of a)!function e(t,r){if(null==r);else if("number"==typeof r||"string"==typeof r)t.push({type:"text",value:String(r)});else if(Array.isArray(r))for(let n of r)e(t,n);else if("object"==typeof r&&"type"in r)"root"===r.type?e(t,r.children):t.push(r);else throw Error("Expected node, nodes, or string, got `"+r+"`")}(o.children,e);return"element"===o.type&&"template"===o.tagName&&(o.content={type:"root",children:o.children},o.children=[]),o}}function B(e,t,r){if("string"==typeof r){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);
1if((e.boolean||e.overloadedBoolean)&&(""===r||(0,$.S)(r)===(0,$.S)(t)))return!0}return r}let z=F(N.qy,"div"),H=F(N.JW,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);function q(e,t){let r=e.indexOf("\r",t),n=e.indexOf("\n",t);return -1===n?r:-1===r||r+1===n?n:r<n?r:n}let G={}.hasOwnProperty,W=Object.prototype;function V(e,t){let r;switch(t.nodeName){case"#comment":return r={type:"comment",value:t.data},Z(e,t,r),r;case"#document":case"#document-fragment":{let n="mode"in t&&("quirks"===t.mode||"limited-quirks"===t.mode);if(r={type:"root",children:Y(e,t.childNodes),data:{quirksMode:n}},e.file&&e.location){let t,n,i=String(e.file),a=(t=String(i),n=[],{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;n.length<e.line;){let e=n[n.length-1],r=q(t,e),i=-1===r?t.length+1:r+1;if(e===i)break;n.push(i)}let r=(e.line>1?n[e.line-2]:0)+e.column-1;if(r<n[e.line-1])return r}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){let r=0;for(;;){let i=n[r];if(void 0===i){let e=q(t,n[r-1]);i=-1===e?t.length+1:e+1,n[r]=i}if(i>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}),o=a.toPoint(0),s=a.toPoint(i.length);(0,D.ok)(o,"expected `start`"),(0,D.ok)(s,"expected `end`"),r.position={start:o,end:s}}return r}case"#documentType":return Z(e,t,r={type:"doctype"}),r;case"#text":return r={type:"text",value:t.value},Z(e,t,r),r;default:return function(e,t){let r=e.schema;e.schema="http://www.w3.org/2000/svg"===t.namespaceURI?N.JW:N.qy;let n=-1,i={};for(;++n<t.attrs.length;){let e=t.attrs[n],r=(e.prefix?e.prefix+":":"")+e.name;G.call(W,r)||(i[r]=e.value)}let a=("svg"===e.schema.space?H:z)(t.tagName,i,Y(e,t.childNodes));if(Z(e,t,a),"template"===a.tagName){let r=t.sourceCodeLocation,n=r&&r.startTag&&K(r.startTag),i=r&&r.endTag&&K(r.endTag),o=V(e,t.content);n&&i&&e.file&&(o.position={start:n.end,end:i.start}),a.content=o}return e.schema=r,a}(e,t)}}function Y(e,t){let r=-1,n=[];for(;++r<t.length;){let i=V(e,t[r]);n.push(i)}return n}function Z(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let n=function(e,t,r){let n=K(r);if("element"===t.type){let i=t.children[t.children.length-1];if(n&&!r.endTag&&i&&i.position&&i.position.end&&(n.end=Object.assign({},i.position.end)),e.verbose){let n,i={};if(r.attrs)for(n in r.attrs)G.call(r.attrs,n)&&(i[(0,L.I)(e.schema,n).property]=K(r.attrs[n]));(0,D.ok)(r.startTag,"a start tag should exist");let a=K(r.startTag),o=r.endTag?K(r.endTag):void 0,s={opening:a};o&&(s.closing=o),s.properties=i,t.data={position:s}}}return n}(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function K(e){let t=X({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=X({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function X(e){return e.line&&e.column?e:void 0}let Q=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);(n=v||(v={}))[n.EOF=-1]="EOF",n[n.NULL=0]="NULL",n[n.TABULATION=9]="TABULATION",n[n.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",n[n.LINE_FEED=10]="LINE_FEED",n[n.FORM_FEED=12]="FORM_FEED",n[n.SPACE=32]="SPACE",n[n.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",n[n.QUOTATION_MARK=34]="QUOTATION_MARK",n[n.AMPERSAND=38]="AMPERSAND",n[n.APOSTROPHE=39]="APOSTROPHE",n[n.HYPHEN_MINUS=45]="HYPHEN_MINUS",n[n.SOLIDUS=47]="SOLIDUS",n[n.DIGIT_0=48]="DIGIT_0",n[n.DIGIT_9=57]="DIGIT_9",n[n.SEMICOLON=59]="SEMICOLON",n[n.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",n[n.EQUALS_SIGN=61]="EQUALS_SIGN",n[n.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",n[n.QUESTION_MARK=63]="QUESTION_MARK",n[n.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",n[n.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",n[n.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",n[n.GRAVE_ACCENT=96]="GRAVE_ACCENT",n[n.LATIN_SMALL_A=97]="LATIN_SMALL_A",n[n.LATIN_SMALL_Z=122]="LATIN_SMALL_Z";let J="[CDATA[",ee="doctype",et="script";function er(e){return e>=55296&&e<=57343}function en(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function ei(e){return e>=64976&&e<=65007||Q.has(e)}(i=b||(b={})).controlCharacterInInputStream="control-character-in-input-stream",i.noncharacterInInputStream="noncharacter-in-input-stream",i.surrogateInInputStream="surrogate-in-input-stream",i.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",i.endTagWithAttributes="end-tag-with-attributes",i.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",i.unexpectedSolidusInTag="unexpected-solidus-in-tag",i.unexpectedNullCharacter="unexpected-null-character",i.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",i.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",i.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",i.missingEndTagName="missing-end-tag-name",i.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",i.unknownNamedCharacterReference="unknown-named-character-reference",i.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",i.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",i.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",i.eofBeforeTagName="eof-before-tag-name",i.eofInTag="eof-in-tag",i.missingAttributeValue="missing-attribute-value",i.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",i.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",i.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",i.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",i.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",i.missingQuoteBeforeDoctype
vendor: 11,443 bytes, line 1
1SystemIdentifier="missing-quote-before-doctype-system-identifier",i.missingDoctypePublicIdentifier="missing-doctype-public-identifier",i.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",i.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",i.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",i.cdataInHtmlContent="cdata-in-html-content",i.incorrectlyOpenedComment="incorrectly-opened-comment",i.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",i.eofInDoctype="eof-in-doctype",i.nestedComment="nested-comment",i.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",i.eofInComment="eof-in-comment",i.incorrectlyClosedComment="incorrectly-closed-comment",i.eofInCdata="eof-in-cdata",i.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",i.nullCharacterReference="null-character-reference",i.surrogateCharacterReference="surrogate-character-reference",i.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",i.controlCharacterReference="control-character-reference",i.noncharacterCharacterReference="noncharacter-character-reference",i.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",i.missingDoctypeName="missing-doctype-name",i.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",i.duplicateAttribute="duplicate-attribute",i.nonConformingDoctype="non-conforming-doctype",i.missingDoctype="missing-doctype",i.misplacedDoctype="misplaced-doctype",i.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",i.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",i.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",i.openElementsLeftAfterEof="open-elements-left-after-eof",i.abandonedHeadElementChild="abandoned-head-element-child",i.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",i.nestedNoscriptInHead="nested-noscript-in-head",i.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class ea{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:r,col:n,offset:i}=this,a=n+t,o=i+t;return{code:e,startLine:r,endLine:r,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,v.EOF;return this._err(b.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,v.EOF;let r=this.html.charCodeAt(t);return r===v.CARRIAGE_RETURN?v.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,v.EOF;let e=this.html.charCodeAt(this.pos);return e===v.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,v.LINE_FEED):e===v.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,er(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===v.LINE_FEED||e===v.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){en(e)?this._err(b.controlCharacterInInputStream):ei(e)&&this._err(b.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function eo(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}(a=E||(E={}))[a.CHARACTER=0]="CHARACTER",a[a.NULL_CHARACTER=1]="NULL_CHARACTER",a[a.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",a[a.START_TAG=3]="START_TAG",a[a.END_TAG=4]="END_TAG",a[a.COMMENT=5]="COMMENT",a[a.DOCTYPE=6]="DOCTYPE",a[a.EOF=7]="EOF",a[a.HIBERNATION=8]="HIBERNATION";let es=new Uint16Array('áµ<\xd5ıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcfligè»\xc6äPè»&ä¦cuteè»\xc1äreve;äÄiyx}rcè»\xc2ä;är;ì\uD835\uDD04raveè»\xc0äpha;äacr;äd;æ©Ägp\x9d\xa1on;äf;ì\uD835\uDD38plyFunction;æ¡ingè»\xc5ä
Äcs\xbe\xc3r;ì\uD835\uDC9Cign;æildeè»\xc3ämlè»\xc4äÐaceforsu\xe5\xfb\xfeÄÄĢħĪÄcr\xea\xf2kslash;æÅ¶\xf6\xf8;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ì\uD835\uDD05pf;ì\uD835\uDD39eve;äc\xf2Ämpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»\xa9䩯cpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»\xc7ärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·\xf2Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ì\uD835\uDC9EpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ì\uD835\uDD07Äaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ì\uD835\uDD3BÆ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegra\xecȹoɴ͹\0\0Í»\xbbÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æe\xe5ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ì\uD835\uDC9Frok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»\xd0äcuteè»\xc9äÆaiyÓÓÓron;ärcè»\xcaä;äot;är;ì\uD835\uDD08raveè»\xc8äement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ì\uD835\uDD3Csilon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»\xcbäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ì\uD835\uDD09lledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ì\uD835\uDD3DAll;æriertrf;æ±c\xf2רJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ì\uD835\uDD0A;æpf;ì\uD835\uDD3EeaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ì\uD835\uDCA2;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
\xf2Ú©rok;ä¦mpÅÛÛownHum\xf0įqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»\xcdäÄiyÜÜrcè»\xceä;äot;ä°r;æraveè»\xccäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lie\xf3ÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ì\uD835\uDD40a;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»\xcfäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ì\uD835\uDD0Dpf;ì\uD835\uDD41Ç£ß\0ßr;ì\uD835\uDCA5rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ì\uD835\uDD0Epf;ì\uD835\uDD42cr;ì\uD835\uDCA6ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ight\xe1ÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ì\uD835\uDD0FÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ight\xe1οight\xe1Ïf;ì\uD835\uDD43erÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©\xf2à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ì\uD835\uDD10nusPlus;æpf;ì\uD835\uDD44c\xf2à©¶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«\xebà«eryThi\xeeà«tedÄGL૸à¬reaterGreate\xf2Ù³essLes\xf3à©Line;är;ì\uD835\uDD11ÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ì\uD835\uDCA9ildeè»\xd1ä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»\xd3äÄiyà·à·rcè»\xd4ä;äblac;ä
r;ì\uD835\uDD12raveè»\xd2äÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ì\uD835\uDD46enCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ì\uD835\uDCAAashè»\xd8äiŬื฼deè»\xd5äes;樷mlè»\xd6äerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;
1æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ì\uD835\uDD13i;ä¦;ä usMinus;ä±Äipຢàºncareplan\xe5Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ì\uD835\uDCAB;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ì\uD835\uDD14pf;æcr;ì\uD835\uDCACØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»\xae䮯cnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r\xbbཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ì\uD835\uDD16ortÈDLRUáªá´á¾á
ownArrow\xbbÐeftArrow\xbbà¢ightArrow\xbbà¿pArrow;ægma;ä£allCircle;æpf;ì\uD835\uDD4Aɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ì\uD835\uDCAEar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Th\xe1à¾;æÆ;esááá£ærsetÄ;Eááæqual;æet\xbbáÖHRSacfhiorsá¾ááááá±á¶ááááORNè»\xdeäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ì\uD835\uDD17Äeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ì\uD835\uDD4BipleDot;æÄctáár;ì\uD835\uDCAFrok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»\xdaärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»\xdbä;ä£blac;ä
°r;ì\uD835\uDD18raveè»\xd9äacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ì\uD835\uDD4CÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥own\xe1ϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ì\uD835\uDCB0ilde;ä
¨mlè»\xdcäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ì\uD835\uDD19pf;ì\uD835\uDD4Dcr;ì\uD835\uDCB1dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ì\uD835\uDD1Apf;ì\uD835\uDD4Ecr;ì\uD835\uDCB2Èfiosáááár;ì\uD835\uDD1B;äpf;ì\uD835\uDD4Fcr;ì\uD835\uDCB3ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»\xddäÄiyáárc;ä
¶;ä«r;ì\uD835\uDD1Cpf;ì\uD835\uDD50cr;ì\uD835\uDCB4ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidt\xe8à«a;är;æ¨pf;æ¤cr;ì\uD835\uDCB5௡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»\xe1ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»\xe2ä¢teè»\xb4Ì;ä°ligè»\xe6ä¦Ä;r\xb2áº;ì\uD835\uDD1Eraveè»\xe0ä ÄepááÄfpáásym;æµ\xe8áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e\xbbásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢\xbb\xb9arr;æ¼Ägpá£á§on;ä
f;ì\uD835\uDD52Î;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eáá\xf1áingè»\xe5䥯ctyá¡á¦á¨r;ì\uD835\uDCB6;äªmpÄ;eáá¯\xf1Êildeè»\xe3ä£mlè»\xe4ä¤Äciááonin\xf4ɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e\xbbárkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰s\xe9áno\xf5ÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ì\uD835\uDD1FgÎcostuvwááá³ááááÆaiuááá\xf0Ý rc;æ¯p\xbbá±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨e\xe5á\xe5áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ì\uD835\uDD53Ä;táá¡£om\xbbátie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»\xa6ä¦Èceioá¥á¥á¥á¥ r;ì\uD835\uDCB7mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t\xbb᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æ\xeeÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;
1ädilè»\xe7ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»\xb8Æptyv;榲tè\xa2;eá¨á¨®ä¢r\xe4Ʋr;ì\uD835\uDD20Æceiᨽá©á©y;äckÄ;má©á©æark\xbbá©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáª\xbbà½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it\xbb᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;q\xc7\xc6Éá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æ\xeeá
eÄmx᫱᫶ent\xbbá«©e\xf3Éǧ᫾\0á¬Ä;dá»á¬ot;æ©n\xf4ÉÆfryá¬á¬á¬;ì\uD835\uDD54o\xe4Éè\xa9;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ì\uD835\uDCB8ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯re\xe3á³u\xe3áµee;æedge;æenè»\xa4ä¤earrowÄlrᯮ᯳eft\xbbá®ight\xbbᮽe\xe4á¯Äciá°á°onin\xf4Ç·nt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·r\xf2Îar;楥Èglrsá±á±á±á±ger;æ eth;æ¸\xf2á³hÄ;vá±á±æ\xbbà¤Å«á±¡á±§arow;æ¤a\xe3ÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»\xb0ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ì\uD835\uDD21arÄlrᲳᲵ\xbbà£\xbbáÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè\xf7;oá³§á³°ntimes;æn\xf8á³·cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ì\uD835\uDD55Ê;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedg\xe5\xfanÆadhá®áµáµ§ownarrow\xf3á²arpoonÄlrᵲᵶef\xf4á²´igh\xf4ᲶŢᵿá¶
karo\xf7à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ì\uD835\uDCB9;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·r\xf2Щa\xf2ྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´o\xf4á²Äcsá¸á¸uteè»\xe9ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»\xeaäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ì\uD835\uDD22Æ;rsá¹á¹á¹æªaveè»\xe8ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et\xbbáºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ì\uD835\uDD56Æalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon\xbbá»;äµÈcsuvỪỳá¼á¼£Äioữḱrc\xbbḮɩỹ\0\0á»»\xedÕantÄglá¼á¼tr\xbbá¹ess\xbbṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯o\xf4ÍÄahá½á½;ä·è»\xf0ä°Ämrá½á½lè»\xebä«o;æ¬Æcipὡὤὧl;ä¡s\xf4Õ®ÄeoὬὴctatio\xeeÕnential\xe5չৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotse\xf1á¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ì\uD835\uDD23lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ì\uD835\uDD57ÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»\xbdä½;æ
è»\xbcä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»\xbeä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ì\uD835\uDCBBà¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlan\xf4Ù¥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ì\uD835\uDD24Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox\xbbâ¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ì\uD835\uDD58Äciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âpro\xf8âr;楸qÄlqØ¿âles\xf3âi\xedÙ«Äenâ£ârtneqq;ìâ©ï¸\xc5âªÔAabcefkosyâââ±âµâºâââ¯â¨â½r\xf2Î Èilmrâââârs\xf0áf\xbbâ¤il\xf4Ú©Ädrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it\xbbâlip;æ¦con;æ¹r;ì\uD835\uDD25sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ì\uD835\uDD59bar;æÆcltâ¯â´â¸r;ì\uD835\uDCBDas\xe8â´rok;ä§Äbpââull;æhen\xbbá±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»\xedäÆ;
1iyݱâ°âµrcè»\xeeä®;ä¸Äcxâ¼â¿y;äµclè»\xa1ä¡ÄfrÎâ;ì\uD835\uDD26raveè»\xecä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââin\xe5Þar\xf4Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§do\xf4âÊ;celpÝââââ¡al;æºÄgrââer\xf3á£\xe3âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ì\uD835\uDD5Aa;ä¹uestè»\xbfä¿Äciââr;ì\uD835\uDCBEnÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»\xefä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ì\uD835\uDD27ath;ä·pf;ì\uD835\uDD5BÇ£â¬\0â±r;ì\uD835\uDCBFrcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ì\uD835\uDD28reen;ä¸cy;ä
cy;äpf;ì\uD835\uDD5Ccr;ì\uD835\uDCC0à®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼r\xf2à§\xf2Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴ra\xeeà¡bda;ä»gÆ;dlà¢ââ;æ¦\xe5à¢;æª
uoè»\xabä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤\xebâp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼\xecࢰ\xe2â©;
1ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡a\xe9â¶arpoonÄduâ¯â´own\xbbÑp\xbb०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoon\xf3à¾quigarro\xf7â°hreetimes;æÆ;qsâà¦âºlan\xf4বÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââppro\xf8âot;æqÄgqââ
\xf4à¦gt\xf2â\xf4à¦i\xedলÆilrâ࣡âsht;楼;ì\uD835\uDD29Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââr\xf2âorne\xf2á´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che\xbbâÈEaesâ»â½ââ;æ¨pÄ;pââæªrox\xbbâÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½r\xebà£gÆlmrâ¿ââeftÄar০âight\xe1à§²apsto;æ¼ight\xe1à§½parrowÄlrâ¥â©ef\xf4âight;æ¬Æaflâ¶â¹â½r;æ¦
;ì\uD835\uDD5Dus;æ¨imes;樴šââst;æ\xe1áÆ;efââá ænge\xbbâarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âr\xf2ࢨorne\xf2á¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ì\uD835\uDCC1mÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹re\xe5â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸\xc5â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»\xafä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se\xbbâ¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»ow\xeeÒef\xf4à¤\xf0áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle\xbbá¦r;ì\uD835\uDD2Ao;æ§Æcdn⢯⢴â£roè»\xb5äµÈ;acdá¤â¢½â£â£s\xf4á§ir;æ«°otè»\xb7ƵusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«\xf2â\xf0àªÄdp⣩⣮els;æ§f;ì\uD835\uDD5EÄct⣸⣽r;ì\uD835\uDCC2pos\xbbáÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la\xbbËute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
ro\xf8à¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»\xa0ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸ui\xf6à£Äeiâ©â©ar;椨\xedà®istÄ;sà® à®r;ì\uD835\uDD2BÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lan\xf4௢i\xed௪Ä;rà®¶âª\xbbà®·ÆAapâªâªâªr\xf2⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹r\xf2⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro\xf7â«ightarro\xf7âªÆ;qs఻⪺⫪lan\xf4à±Ä;sà±â«´\xbbà°¶i\xedà±Ä;rవ⫾iÄ;eà°à°¥i\xe4à¶Äptâ¬â¬f;ì\uD835\uDD5Fè\xac;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlle\xecà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³u\xe5ಥÄ;cà²â¸Ä;eà²â½\xf1à²ÈAaitâ®â®â®â®§r\xf2â¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow\xbbâ®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯u\xe5àµ
;ì\uD835\uDCC3ortÉâ¬
\0\0â¯ar\xe1âmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯\xe5೸\xe5à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°\xf1à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±\xecà¯ldeè»\xf1ä±\xe7à±iangleÄlrâ±â±eftÄ;eà°â±\xf1à°¦ightÄ;eà³â±¥\xf1à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»\xf3ä³Äiyâ´¼âµ
rÄ;cáªâµè»\xf4ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ì\uD835\uDD2Cͯ⵹\0\0âµ¼\0â¶n;äaveè»\xf2ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨r\xf2áªÄirâ¶â¶ r;榾oss;榻n\xe5à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ì\uD835\uDD60Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨r\xf2áªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f\xbbâ·¿è»\xaaäªè»\xbaäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§\xf2â¸ashè»\xf8ä¸l;æiŬⸯ⸴deè»\xf5äµesÄ;aÇ⸺s;樶mlè»\xf6ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
1astÐâ¹§â¹²àº
è\xb6;lâ¹â¹®ä¶le\xecÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ì\uD835\uDD2DÆimo⺨⺰⺴Ä;vâºâº®ä;äma\xf4à©¶ne;æÆ;tv⺿â»â»ächfork\xbb´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æ\xf6â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»\xb1àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ì\uD835\uDD61ndè»\xa3ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷u\xe5à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾ppro\xf8â½urlye\xf1à»\xf1à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨i\xedà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½º\xf0â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴\xefà»»rel;æ°Äciâ¿â¿
r;ì\uD835\uDCC5;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ì\uD835\uDD2Epf;ì\uD835\uDD62rime;æcr;ì\uD835\uDCC6Æaeo⿸ããtÄei⿾ã
rnion\xf3Ú°nt;æ¨stÄ;eããä¿\xf1á¼\xf4à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããr\xf2á³\xf2Ïail;æ¤ar\xf2á±¥ar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
i\xe3á
®mptyv;榳gÈ;delà¿ããã;æ¦;榥\xe5à¿uoè»\xbbä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤\xebâ\xf0â®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶al\xf3à¼Æabrã§ãªã®r\xf2á¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
\xec࿲\xe2ãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
án\xe5á»ar\xf4ྩt;æÆilrã
©á£ã
®sht;楽;ì\uD835\uDD2FÄaoã
·ãrÄduã
½ã
¿\xbbÑ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãa\xe9ãarpoonÄduã»ã¿ow\xeeã
¾p\xbbáeftÄahããrrow\xf3࿪arpoon\xf3Õightarrows;æquigarro\xf7ãhreetimes;æg;äingdotse\xf1á¼²Æahmãããr\xf2࿪a\xf2Õ;æoustÄ;aããæ±che\xbbãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾r\xebáÆaflãããr;æ¦;ì\uD835\uDD63us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨ar\xf2ã£Èachqã»ãá¼ã
quo;æºr;ì\uD835\uDCC7Äbuã»ãoÄ;rÈÈÆhirããã re\xe5ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
qu\xefâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡u\xe5á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨i\xedá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrãã\xebâ¨Ä;oਸ਼਴tè»\xa7ä§i;ä»war;椩mÄinã©\xf0nu\xf3\xf1t;æ¶rÄ;oã¶âì\uD835\uDD30Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãi\xe4á¤ara\xec⹯è»\xadäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲ar\xf2á½Èaeitã¸ãããÄlsã½ãlsetm\xe9ãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ì\uD835\uDD64aÄdrãÐesÄ;uããæ it\xbbãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáã\xf1áÆ;esá¨áãetÄ;eá¨ã\xf1á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±\xbbá
¼ar\xf2á
Ècemtã¹ã¾ãã
r;ì\uD835\uDCC8tm\xee\xf1i\xecãar\xe6á¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsilo\xeeá» h\xe9⺯s\xbbâ¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦ppro\xf8ãºurlye\xf1á¾\xf1á³Æaesãããppro\xf8ãq\xf1ãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»\xb9ä¹è»\xb2ä²è»\xb3ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨\xebâ®Ä;oਫ਩war;椪ligè»\xdfä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;är\xebà¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ì\uD835\uDD31Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®ppro\xf8áim\xbbá¬s\xf0áÄasãºã®\xf0árnè»\xfeä¾Ç¬Ìãâ§esè\xd7;bdãããäÄ;
1aá¤ãr;樱;樰Æepsã¡ã£ã\xe1â©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ì\uD835\uDD65rk;æ«\xe1ã¢rime;æ´Æaipããã¤d\xe5áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown\xbbá¶»eftÄ;eâ ã¾\xf1म;æightÄ;eãªã\xf1áot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ì\uD835\uDCC9;äcy;ärok;ä
§Äioããx\xf4á·headÄlrãã eftarro\xf7à¡ightarrow\xbbà½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶r\xf2Ïar;楣Äcrãã¢uteè»\xfaäº\xf2á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»\xfbä»;äÆabhã ã ã r\xf2álac;ä
±a\xf2áÄirã ã sht;楾;ì\uD835\uDD32raveè»\xf9ä¹Å¡ã §ã ±rÄlr㠬㠮\xbbà¥\xbbálk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær\xbbã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»\xa8ÍÄgp㡢㡦on;ä
³f;ì\uD835\uDD66Ìadhlsuá
㡸㡽á²ã¢ã¢ own\xe1á³arpoonÄlrã¢ã¢ef\xf4ã igh\xf4ã ¯iÆ;hlã¢ã¢ã¢ä
\xbbáºon\xbbã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær\xbb㢽op;æng;ä
¯ri;æ¹cr;ì\uD835\uDCCAÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨\xbbá Äam㣯㣲r\xf2㢨lè»\xfcä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ r\xf2Ï·arÄ;v㤦㤧櫨;æ«©as\xe8Ï¡Änr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦app\xe1âothin\xe7áºÆhirã«â»ã¥op\xf4â¾µÄ;há·ã¥¢\xefãÄiu㥩ã¥gm\xe1ã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦et\xe1ãiangleÄlr㦪㦯eft\xbbथight\xbbáy;ä²ash\xbbá¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨a\xf2á©r;ì\uD835\uDD33tr\xe9㦮suÄbp㧯㧱\xbbà´\xbbàµpf;ì\uD835\uDD67ro\xf0à»»tr\xe9㦴Äcuã¨ã¨r;ì\uD835\uDCCBÄbpã¨ã¨nÄEeã¦ã¨\xbb㥾nÄEeã¦ã¨\xbbã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ì\uD835\uDD34pf;ì\uD835\uDD68Ä;eá¹ã©¦at\xe8á¹cr;ì\uD835\uDCCCà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátr\xe9ár;ì\uD835\uDD35ÄAaãªãªr\xf2Ïr\xf2à§¶;ä¾ÄAa㪡㪤r\xf2θr\xf2à§«a\xf0âis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ì\uD835\uDD69im\xe5á²ÄAaã«ã«r\xf2Ïr\xf2à¨Äcqã«á¸r;ì\uD835\uDCCDÄptáã«r\xe9áÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»\xfdä½;äÄiyã¬ã¬rc;ä
·;änè»\xa5ä¥r;ì\uD835\uDD36cy;äpf;ì\uD835\uDD6Acr;ì\uD835\uDCCEÄcm㬦㬩y;älè»\xffä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡tr\xe6áa;ä¶r;ì\uD835\uDD37cy;ä¶grarr;æpf;ì\uD835\uDD6Bcr;ì\uD835\uDCCFÄjnã®
ã®;æj;æ'.split("").map(e=>e.charCodeAt(0))),el=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function eu(e){return e>=_.ZERO&&e<=_.NINE}(o=_||(_={}))[o.NUM=35]="NUM",o[o.SEMI=59]="SEMI",o[o.EQUALS=61]="EQUALS",o[o.ZERO=48]="ZERO",o[o.NINE=57]="NINE",o[o.LOWER_A=97]="LOWER_A",o[o.LOWER_F=102]="LOWER_F",o[o.LOWER_X=120]="LOWER_X",o[o.LOWER_Z=122]="LOWER_Z",o[o.UPPER_A=65]="UPPER_A",o[o.UPPER_F=70]="UPPER_F",o[o.UPPER_Z=90]="UPPER_Z",(s=S||(S={}))[s.VALUE_LENGTH=49152]="VALUE_LENGTH",s[s.BRANCH_LENGTH=16256]="BRANCH_LENGTH",s[s.JUMP_TABLE=127]="JUMP_TABLE",(l=w||(w={}))[l.EntityStart=0]="EntityStart",l[l.NumericStart=1]="NumericStart",l[l.NumericDecimal=2]="NumericDecimal",l[l.NumericHex=3]="NumericHex",l[l.NamedEntity=4]="NamedEntity",(u=T||(T={}))[u.Legacy=0]="Legacy",u[u.Strict=1]="Strict",u[u.Attribute=2]="Attribute";class ec{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=w.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=T.Strict}startEntity(e){this.decodeMode=e,this.state=w.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case w.EntityStart:if(e.charCodeAt(t)===_.NUM)return this.state=w.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=w.NamedEntity,this.stateNamedEntity(e,t);case w.NumericStart:return this.stateNumericStart(e,t);case w.NumericDecimal:return this.stateNumericDecimal(e,t);case w.NumericHex:return this.stateNumericHex(e,t);case w.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===_.LOWER_X?(this.state=w.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=w.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){let i=r-t;this.result=this.result*Math.pow(n,i)+Number.parseInt(e.substr(t,
1i),n),this.consumed+=i}}stateNumericHex(e,t){let r=t;for(;t<e.length;){var n;let i=e.charCodeAt(t);if(!eu(i)&&(!((n=i)>=_.UPPER_A)||!(n<=_.UPPER_F))&&(!(n>=_.LOWER_A)||!(n<=_.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){let r=t;for(;t<e.length;){let n=e.charCodeAt(t);if(!eu(n))return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2);t+=1}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r,n,i;if(this.consumed<=t)return null==(r=this.errors)||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===_.SEMI)this.consumed+=1;else if(this.decodeMode===T.Strict)return 0;return this.emitCodePoint((n=this.result)>=55296&&n<=57343||n>1114111?65533:null!=(i=el.get(n))?i:n,this.consumed),this.errors&&(e!==_.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:r}=this,n=r[this.treeIndex],i=(n&S.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=function(e,t,r,n){let i=(t&S.BRANCH_LENGTH)>>7,a=t&S.JUMP_TABLE;if(0===i)return 0!==a&&n===a?r:-1;if(a){let t=n-a;return t<0||t>=i?-1:e[r+t]-1}let o=r,s=o+i-1;for(;o<=s;){let t=o+s>>>1,r=e[t];if(r<n)o=t+1;else{if(!(r>n))return e[t+i];s=t-1}}return -1}(r,n,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return 0===this.result||this.decodeMode===T.Attribute&&(0===i||function(e){var t;return e===_.EQUALS||(t=e)>=_.UPPER_A&&t<=_.UPPER_Z||t>=_.LOWER_A&&t<=_.LOWER_Z||eu(t)}(a))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((n=r[this.treeIndex])&S.VALUE_LENGTH)>>14)){if(a===_.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==T.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:r}=this,n=(r[t]&S.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){let{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~S.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case w.NamedEntity:return 0!==this.result&&(this.decodeMode!==T.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case w.NumericDecimal:return this.emitNumericEntity(0,2);case w.NumericHex:return this.emitNumericEntity(0,3);case w.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case w.EntityStart:return 0}}}(c=O||(O={})).HTML="http://www.w3.org/1999/xhtml",c.MATHML="http://www.w3.org/1998/Math/MathML",c.SVG="http://www.w3.org/2000/svg",c.XLINK="http://www.w3.org/1999/xlink",c.XML="http://www.w3.org/XML/1998/namespace",c.XMLNS="http://www.w3.org/2000/xmlns/",(d=x||(x={})).TYPE="type",d.ACTION="action",d.ENCODING="encoding",d.PROMPT="prompt",d.NAME="name",d.COLOR="color",d.FACE="face",d.SIZE="size",(f=P||(P={})).NO_QUIRKS="no-quirks",f.QUIRKS="quirks",f.LIMITED_QUIRKS="limited-quirks",(h=A||(A={})).A="a",h.ADDRESS="address",h.ANNOTATION_XML="annotation-xml",h.APPLET="applet",h.AREA="area",h.ARTICLE="article",h.ASIDE="aside",h.B="b",h.BASE="base",h.BASEFONT="basefont",h.BGSOUND="bgsound",h.BIG="big",h.BLOCKQUOTE="blockquote",h.BODY="body",h.BR="br",h.BUTTON="button",h.CAPTION="caption",h.CENTER="center",h.CODE="code",h.COL="col",h.COLGROUP="colgroup",h.DD="dd",h.DESC="desc",h.DETAILS="details",h.DIALOG="dialog",h.DIR="dir",h.DIV="div",h.DL="dl",h.DT="dt",h.EM="em",h.EMBED="embed",h.FIELDSET="fieldset",h.FIGCAPTION="figcaption",h.FIGURE="figure",h.FONT="font",h.FOOTER="footer",h.FOREIGN_OBJECT="foreignObject",h.FORM="form",h.FRAME="frame",h.FRAMESET="frameset",h.H1="h1",h.H2="h2",h.H3="h3",h.H4="h4",h.H5="h5",h.H6="h6",h.HEAD="head",h.HEADER="header",h.HGROUP="hgroup",h.HR="hr",h.HTML="html",h.I="i",h.IMG="img",h.IMAGE="image",h.INPUT="input",h.IFRAME="iframe",h.KEYGEN="keygen",h.LABEL="label",h.LI="li",h.LINK="link",h.LISTING="listing",h.MAIN="main",h.MALIGNMARK="malignmark",h.MARQUEE="marquee",h.MATH="math",h.MENU="menu",h.META="meta",h.MGLYPH="mglyph",h.MI="mi",h.MO="mo",h.MN="mn",h.MS="ms",h.MTEXT="mtext",h.NAV="nav",h.NOBR="nobr",h.NOFRAMES="noframes",h.NOEMBED="noembed",h.NOSCRIPT="noscript",h.OBJ
1ECT="object",h.OL="ol",h.OPTGROUP="optgroup",h.OPTION="option",h.P="p",h.PARAM="param",h.PLAINTEXT="plaintext",h.PRE="pre",h.RB="rb",h.RP="rp",h.RT="rt",h.RTC="rtc",h.RUBY="ruby",h.S="s",h.SCRIPT="script",h.SEARCH="search",h.SECTION="section",h.SELECT="select",h.SOURCE="source",h.SMALL="small",h.SPAN="span",h.STRIKE="strike",h.STRONG="strong",h.STYLE="style",h.SUB="sub",h.SUMMARY="summary",h.SUP="sup",h.TABLE="table",h.TBODY="tbody",h.TEMPLATE="template",h.TEXTAREA="textarea",h.TFOOT="tfoot",h.TD="td",h.TH="th",h.THEAD="thead",h.TITLE="title",h.TR="tr",h.TRACK="track",h.TT="tt",h.U="u",h.UL="ul",h.SVG="svg",h.VAR="var",h.WBR="wbr",h.XMP="xmp",(p=k||(k={}))[p.UNKNOWN=0]="UNKNOWN",p[p.A=1]="A",p[p.ADDRESS=2]="ADDRESS",p[p.ANNOTATION_XML=3]="ANNOTATION_XML",p[p.APPLET=4]="APPLET",p[p.AREA=5]="AREA",p[p.ARTICLE=6]="ARTICLE",p[p.ASIDE=7]="ASIDE",p[p.B=8]="B",p[p.BASE=9]="BASE",p[p.BASEFONT=10]="BASEFONT",p[p.BGSOUND=11]="BGSOUND",p[p.BIG=12]="BIG",p[p.BLOCKQUOTE=13]="BLOCKQUOTE",p[p.BODY=14]="BODY",p[p.BR=15]="BR",p[p.BUTTON=16]="BUTTON",p[p.CAPTION=17]="CAPTION",p[p.CENTER=18]="CENTER",p[p.CODE=19]="CODE",p[p.COL=20]="COL",p[p.COLGROUP=21]="COLGROUP",p[p.DD=22]="DD",p[p.DESC=23]="DESC",p[p.DETAILS=24]="DETAILS",p[p.DIALOG=25]="DIALOG",p[p.DIR=26]="DIR",p[p.DIV=27]="DIV",p[p.DL=28]="DL",p[p.DT=29]="DT",p[p.EM=30]="EM",p[p.EMBED=31]="EMBED",p[p.FIELDSET=32]="FIELDSET",p[p.FIGCAPTION=33]="FIGCAPTION",p[p.FIGURE=34]="FIGURE",p[p.FONT=35]="FONT",p[p.FOOTER=36]="FOOTER",p[p.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",p[p.FORM=38]="FORM",p[p.FRAME=39]="FRAME",p[p.FRAMESET=40]="FRAMESET",p[p.H1=41]="H1",p[p.H2=42]="H2",p[p.H3=43]="H3",p[p.H4=44]="H4",p[p.H5=45]="H5",p[p.H6=46]="H6",p[p.HEAD=47]="HEAD",p[p.HEADER=48]="HEADER",p[p.HGROUP=49]="HGROUP",p[p.HR=50]="HR",p[p.HTML=51]="HTML",p[p.I=52]="I",p[p.IMG=53]="IMG",p[p.IMAGE=54]="IMAGE",p[p.INPUT=55]="INPUT",p[p.IFRAME=56]="IFRAME",p[p.KEYGEN=57]="KEYGEN",p[p.LABEL=58]="LABEL",p[p.LI=59]="LI",p[p.LINK=60]="LINK",p[p.LISTING=61]="LISTING",p[p.MAIN=62]="MAIN",p[p.MALIGNMARK=63]="MALIGNMARK",p[p.MARQUEE=64]="MARQUEE",p[p.MATH=65]="MATH",p[p.MENU=66]="MENU",p[p.META=67]="META",p[p.MGLYPH=68]="MGLYPH",p[p.MI=69]="MI",p[p.MO=70]="MO",p[p.MN=71]="MN",p[p.MS=72]="MS",p[p.MTEXT=73]="MTEXT",p[p.NAV=74]="NAV",p[p.NOBR=75]="NOBR",p[p.NOFRAMES=76]="NOFRAMES",p[p.NOEMBED=77]="NOEMBED",p[p.NOSCRIPT=78]="NOSCRIPT",p[p.OBJECT=79]="OBJECT",p[p.OL=80]="OL",p[p.OPTGROUP=81]="OPTGROUP",p[p.OPTION=82]="OPTION",p[p.P=83]="P",p[p.PARAM=84]="PARAM",p[p.PLAINTEXT=85]="PLAINTEXT",p[p.PRE=86]="PRE",p[p.RB=87]="RB",p[p.RP=88]="RP",p[p.RT=89]="RT",p[p.RTC=90]="RTC",p[p.RUBY=91]="RUBY",p[p.S=92]="S",p[p.SCRIPT=93]="SCRIPT",p[p.SEARCH=94]="SEARCH",p[p.SECTION=95]="SECTION",p[p.SELECT=96]="SELECT",p[p.SOURCE=97]="SOURCE",p[p.SMALL=98]="SMALL",p[p.SPAN=99]="SPAN",p[p.STRIKE=100]="STRIKE",p[p.STRONG=101]="STRONG",p[p.STYLE=102]="STYLE",p[p.SUB=103]="SUB",p[p.SUMMARY=104]="SUMMARY",p[p.SUP=105]="SUP",p[p.TABLE=106]="TABLE",p[p.TBODY=107]="TBODY",p[p.TEMPLATE=108]="TEMPLATE",p[p.TEXTAREA=109]="TEXTAREA",p[p.TFOOT=110]="TFOOT",p[p.TD=111]="TD",p[p.TH=112]="TH",p[p.THEAD=113]="THEAD",p[p.TITLE=114]="TITLE",p[p.TR=115]="TR",p[p.TRACK=116]="TRACK",p[p.TT=117]="TT",p[p.U=118]="U",p[p.UL=119]="UL",p[p.SVG=120]="SVG",p[p.VAR=121]="VAR",p[p.WBR=122]="WBR",p[p.XMP=123]="XMP";let ed=new Map([[A.A,k.A],[A.ADDRESS,k.ADDRESS],[A.ANNOTATION_XML,k.ANNOTATION_XML],[A.APPLET,k.APPLET],[A.AREA,k.AREA],[A.ARTICLE,k.ARTICLE],[A.ASIDE,k.ASIDE],[A.B,k.B],[A.BASE,k.BASE],[A.BASEFONT,k.BASEFONT],[A.BGSOUND,k.BGSOUND],[A.BIG,k.BIG],[A.BLOCKQUOTE,k.BLOCKQUOTE],[A.BODY,k.BODY],[A.BR,k.BR],[A.BUTTON,k.BUTTON],[A.CAPTION,k.CAPTION],[A.CENTER,k.CENTER],[A.CODE,k.CODE],[A.COL,k.COL],[A.COLGROUP,k.COLGROUP],[A.DD,k.DD],[A.DESC,k.DESC],[A.DETAILS,k.DETAILS],[A.DIALOG,k.DIALOG],[A.DIR,k.DIR],[A.DIV,k.DIV],[A.DL,k.DL],[A.DT,k.DT],[A.EM,k.EM],[A.EMBED,k.EMBED],[A.FIELDSET,k.FIELDSET],[A.FIGCAPTION,k.FIGCAPTION],[A.FIGURE,k.FIGURE],[A.FONT,k.FONT],[A.FOOTER,k.FOOTER],[A.FOREIGN_OBJECT,k.FOREIGN_OBJECT],[A.FORM,k.FORM],[A.FRAME,k.FRAME],[A.FRAMESET,k.FRAMESET],[A.H1,k.H1],[A.H2,k.H2],[A.H3,k.H3],[A.H4,k.H4],[A.H5,k.H5],[A.H6,k.H6],[A.HEAD,k.HEAD],[A.HEADER,k.HEADER],[A.HGROUP,k.HGROUP],[A.HR,k.HR],[A.HTML,k.HTML],[A.I,k.I],[A.IMG,k.IMG],[A.IMAGE,k.IMAGE],[A.INPUT,k.INPUT],[A.IFRAME,k.IFRAME],[A.KEYGEN,k.KEYGEN],[A.LABEL,k.LABEL],[A.LI,k.LI],[A.LINK,k.LINK],[A.LISTING,k.LISTING],[A.MAIN,k.MAIN],[A.MALIGNMARK,k.MALIGNMARK],[A.MARQUEE,k.MARQUEE],[A.MATH,k.MATH],[A.MENU,k.MENU],[A.META,k.META],[A.MGLYPH,k.MGLYPH],[A.MI,k.MI],[A.MO,k.MO],[A.MN,k.MN],[A.MS,k.MS],[A.MTEXT,k.MTEXT],[A.NAV,k.NAV],[A.NOBR,k.NOBR],[A.NOFRAMES,k.NOFRAMES],[A.NOEMBED,k.NOEMBED],[A.NOSCRIPT,k.NOSCRIPT],[A.OBJECT,k.OBJECT],[A.OL,k.OL],[A.OPTGROUP,k.OPTGROUP],[A.OPTION,k.OPTION],[A.P,k.P],[A.PARAM,k.PARAM],[A.PLAINTEXT,k.PLAINTEXT],[A.PRE,k.PRE],[A.RB,k.RB],[A.RP,k.RP],[A.RT,k.RT],[A.RTC,k.RTC],[A.RUBY,k.RUBY],[A.S,k.S],[A.SCRIPT,k.SCRIPT],[A.SEARCH,k.SEARCH],[A.SECTION,k.SECTION],[A.SELECT,k.SELECT],[A.SOURCE,k.SOURCE],[A.SMALL,k.SMALL],[A.SPAN,k.SPAN],[A.STRIKE,k.STRIKE],[A.STRONG,k.STRONG],[A.STYLE,k.STYLE],[A.SUB,k.SUB],[A.SUMMARY,k.SUMMARY],[A.SUP,k.SUP],[A.TABLE,k.TABLE],[A.TBODY,k.TBODY],[A.TEMPLATE,k.TEMPLATE],[A.TEXTAREA,k.TEXTAREA],[A.TFOOT,k.TFOOT],[A.TD,k.TD],[A.TH,k.TH],[A.THEAD,k.THEAD],[A.TITLE,k.TITLE],[A.TR,k.TR],[A.TRACK,k.TRACK],[A.TT,k.TT],[A.U,k.U],[A.UL,k.UL],[A.SVG,k.SVG],[A.VAR,k.VAR],[A.WBR,
1k.WBR],[A.XMP,k.XMP]]);function ef(e){var t;return null!=(t=ed.get(e))?t:k.UNKNOWN}let eh=k,ep={[O.HTML]:new Set([eh.ADDRESS,eh.APPLET,eh.AREA,eh.ARTICLE,eh.ASIDE,eh.BASE,eh.BASEFONT,eh.BGSOUND,eh.BLOCKQUOTE,eh.BODY,eh.BR,eh.BUTTON,eh.CAPTION,eh.CENTER,eh.COL,eh.COLGROUP,eh.DD,eh.DETAILS,eh.DIR,eh.DIV,eh.DL,eh.DT,eh.EMBED,eh.FIELDSET,eh.FIGCAPTION,eh.FIGURE,eh.FOOTER,eh.FORM,eh.FRAME,eh.FRAMESET,eh.H1,eh.H2,eh.H3,eh.H4,eh.H5,eh.H6,eh.HEAD,eh.HEADER,eh.HGROUP,eh.HR,eh.HTML,eh.IFRAME,eh.IMG,eh.INPUT,eh.LI,eh.LINK,eh.LISTING,eh.MAIN,eh.MARQUEE,eh.MENU,eh.META,eh.NAV,eh.NOEMBED,eh.NOFRAMES,eh.NOSCRIPT,eh.OBJECT,eh.OL,eh.P,eh.PARAM,eh.PLAINTEXT,eh.PRE,eh.SCRIPT,eh.SECTION,eh.SELECT,eh.SOURCE,eh.STYLE,eh.SUMMARY,eh.TABLE,eh.TBODY,eh.TD,eh.TEMPLATE,eh.TEXTAREA,eh.TFOOT,eh.TH,eh.THEAD,eh.TITLE,eh.TR,eh.TRACK,eh.UL,eh.WBR,eh.XMP]),[O.MATHML]:new Set([eh.MI,eh.MO,eh.MN,eh.MS,eh.MTEXT,eh.ANNOTATION_XML]),[O.SVG]:new Set([eh.TITLE,eh.FOREIGN_OBJECT,eh.DESC]),[O.XLINK]:new Set,[O.XML]:new Set,[O.XMLNS]:new Set},em=new Set([eh.H1,eh.H2,eh.H3,eh.H4,eh.H5,eh.H6]);A.STYLE,A.SCRIPT,A.XMP,A.IFRAME,A.NOEMBED,A.NOFRAMES,A.PLAINTEXT,(m=I||(I={}))[m.DATA=0]="DATA",m[m.RCDATA=1]="RCDATA",m[m.RAWTEXT=2]="RAWTEXT",m[m.SCRIPT_DATA=3]="SCRIPT_DATA",m[m.PLAINTEXT=4]="PLAINTEXT",m[m.TAG_OPEN=5]="TAG_OPEN",m[m.END_TAG_OPEN=6]="END_TAG_OPEN",m[m.TAG_NAME=7]="TAG_NAME",m[m.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",m[m.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",m[m.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",m[m.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",m[m.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",m[m.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",m[m.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",m[m.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",m[m.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",m[m.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",m[m.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",m[m.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",m[m.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",m[m.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",m[m.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",m[m.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",m[m.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",m[m.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",m[m.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",m[m.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",m[m.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",m[m.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",m[m.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",m[m.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",m[m.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",m[m.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",m[m.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",m[m.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",m[m.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",m[m.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",m[m.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",m[m.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",m[m.BOGUS_COMMENT=40]="BOGUS_COMMENT",m[m.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",m[m.COMMENT_START=42]="COMMENT_START",m[m.COMMENT_START_DASH=43]="COMMENT_START_DASH",m[m.COMMENT=44]="COMMENT",m[m.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",m[m.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",m[m.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",m[m.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",m[m.COMMENT_END_DASH=49]="COMMENT_END_DASH",m[m.COMMENT_END=50]="COMMENT_END",m[m.COMMENT_END_BANG=51]="COMMENT_END_BANG",m[m.DOCTYPE=52]="DOCTYPE",m[m.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",m[m.DOCTYPE_NAME=54]="DOCTYPE_NAME",m[m.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",m[m.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",m[m.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",m[m.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",m[m.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",m[m.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",m[m.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",m[m.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",m[m.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",m[m.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",m[m.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",m[m.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",m[m.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",m[m.CDATA_SECTION=68]="CDATA_SECTION",m[m.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",m[m.CDATA_SECTION_END=70]="CDATA_SECTION_END",m[m.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",m[m.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND";let eg={DATA:I.DATA,RCDATA:I.RCDATA,RAWTEXT:I.RAWTEXT,SCRIPT_DATA:I.SCRIPT_DATA,PLAINTEXT:I.PLAINTEXT,CDATA_SECTION:I.CDATA_SECTION};function ey(e){return e>=v.LATIN_CAPITAL_A&&e<=v.LATIN_CAPITAL_Z}function ev(e){return e>=v.LATIN_SMALL_A&&e<=v.LATIN_SMALL_Z||ey(e)}function eb(e){return ev(e)||e>=v.DIGIT_0&&e<=v.DIGIT_9}function eE(e){return e===v.SPACE||e===v.LINE_FEED||e===v.TABULATION||e===v.FORM_FEED}function e_(e){return eE(e)||e===v.SOLIDUS||e===v.GREATER_THAN_SIGN}class eS{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=I.DATA,this.returnState=I.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new ea(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new ec(e
1s,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(b.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(b.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){if(e===v.NULL)return b.nullCharacterReference;if(e>1114111)return b.characterReferenceOutsideUnicodeRange;if(er(e))return b.surrogateCharacterReference;if(ei(e))return b.noncharacterCharacterReference;if(en(e)||e===v.CARRIAGE_RETURN)return b.controlCharacterReference;return null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var r,n;null==(n=(r=this.handler).onParseError)||n.call(r,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,r){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==r||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:E.START_TAG,tagName:"",tagID:k.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:E.END_TAG,tagName:"",tagID:k.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:E.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:E.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;let r=this.currentToken;null===eo(r,this.currentAttr.name)?(r.attrs.push(this.currentAttr),r.location&&this.currentLocation&&((null!=(e=(t=r.location).attrs)?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(b.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=ef(e.tagName),e.type===E.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(b.endTagWithAttributes),e.selfClosing&&this._err(b.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case E.CHARACTER:this.handler.onCh
vendor: 6,187 bytes, line 1
1aracter(this.currentCharacterToken);break;case E.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case E.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:E.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eE(e)?E.WHITESPACE_CHARACTER:e===v.NULL?E.NULL_CHARACTER:E.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(E.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=I.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?T.Attribute:T.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===I.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===I.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===I.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case I.DATA:this._stateData(e);break;case I.RCDATA:this._stateRcdata(e);break;case I.RAWTEXT:this._stateRawtext(e);break;case I.SCRIPT_DATA:this._stateScriptData(e);break;case I.PLAINTEXT:this._statePlaintext(e);break;case I.TAG_OPEN:this._stateTagOpen(e);break;case I.END_TAG_OPEN:this._stateEndTagOpen(e);break;case I.TAG_NAME:this._stateTagName(e);break;case I.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case I.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case I.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case I.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case I.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case I.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case I.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case I.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case I.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case I.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case I.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case I.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case I.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case I.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case I.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case I.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case I.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case I.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case I.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case I.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case I.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case I.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case I.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case I.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case I.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case I.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case I.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case I.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case I.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case I.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case I.BOGUS_COMMENT:this._stateBogusComment(e);break;case I.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case I.COMMENT_START:this._stateCommentStart(e);break;case I.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case I.COMMENT:this._stateComment(e);break;case I.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case I.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case I.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case I.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case I.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case I.COMMENT_END:this._stateCommentEnd(e);break;case I.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case I.DOCTYPE:this._stateDoctype(e);break;case I.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case I.DOCTYPE_NAME:this._stateDoctypeName(e);break;case I.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case I.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case I.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case I.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case I.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case I.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case I.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case I.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case I.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctype
vendor: 4,147 bytes, line 1
1SystemIdentifier(e);break;case I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case I.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case I.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case I.CDATA_SECTION:this._stateCdataSection(e);break;case I.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case I.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case I.CHARACTER_REFERENCE:this._stateCharacterReference();break;case I.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case v.LESS_THAN_SIGN:this.state=I.TAG_OPEN;break;case v.AMPERSAND:this._startCharacterReference();break;case v.NULL:this._err(b.unexpectedNullCharacter),this._emitCodePoint(e);break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case v.AMPERSAND:this._startCharacterReference();break;case v.LESS_THAN_SIGN:this.state=I.RCDATA_LESS_THAN_SIGN;break;case v.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case v.LESS_THAN_SIGN:this.state=I.RAWTEXT_LESS_THAN_SIGN;break;case v.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_LESS_THAN_SIGN;break;case v.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case v.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(ev(e))this._createStartTagToken(),this.state=I.TAG_NAME,this._stateTagName(e);else switch(e){case v.EXCLAMATION_MARK:this.state=I.MARKUP_DECLARATION_OPEN;break;case v.SOLIDUS:this.state=I.END_TAG_OPEN;break;case v.QUESTION_MARK:this._err(b.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=I.BOGUS_COMMENT,this._stateBogusComment(e);break;case v.EOF:this._err(b.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(b.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=I.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(ev(e))this._createEndTagToken(),this.state=I.TAG_NAME,this._stateTagName(e);else switch(e){case v.GREATER_THAN_SIGN:this._err(b.missingEndTagName),this.state=I.DATA;break;case v.EOF:this._err(b.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(b.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=I.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=I.BEFORE_ATTRIBUTE_NAME;break;case v.SOLIDUS:this.state=I.SELF_CLOSING_START_TAG;break;case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentTagToken();break;case v.NULL:this._err(b.unexpectedNullCharacter),t.tagName+="�";break;case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(ey(e)?e+32:e)}}_stateRcdataLessThanSign(e){e===v.SOLIDUS?this.state=I.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=I.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){ev(e)?(this.state=I.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=I.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=I.BEFORE_ATTRIBUTE_NAME,
vendor: 6,306 bytes, line 1
1!1;case v.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=I.SELF_CLOSING_START_TAG,!1;case v.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=I.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=I.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===v.SOLIDUS?this.state=I.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=I.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){ev(e)?(this.state=I.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=I.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=I.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case v.SOLIDUS:this.state=I.SCRIPT_DATA_END_TAG_OPEN;break;case v.EXCLAMATION_MARK:this.state=I.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=I.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){ev(e)?(this.state=I.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=I.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=I.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===v.HYPHEN_MINUS?(this.state=I.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=I.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===v.HYPHEN_MINUS?(this.state=I.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=I.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case v.HYPHEN_MINUS:this.state=I.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case v.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case v.HYPHEN_MINUS:this.state=I.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case v.NULL:this._err(b.unexpectedNullCharacter),this.state=I.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case v.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=I.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case v.HYPHEN_MINUS:this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case v.GREATER_THAN_SIGN:this.state=I.SCRIPT_DATA,this._emitChars(">");break;case v.NULL:this._err(b.unexpectedNullCharacter),this.state=I.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case v.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=I.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===v.SOLIDUS?this.state=I.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ev(e)?(this._emitChars("<"),this.state=I.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=I.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){ev(e)?(this.state=I.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=I.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=I.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(et,!1)&&e_(this.preprocessor.peek(et.length))){this._emitCodePoint(e);for(let e=0;e<et.length;e++)this._emitCodePoint(this._consume());this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=I.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case v.HYPHEN_MINUS:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case v.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case v.HYPHEN_MINUS:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case v.NULL:this._err(b.unexpectedNullCharacter),this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case v.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case v.HYPHEN_MINUS:this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case v.GREATER_THAN_SIGN:this.state=I.SCRIPT_DATA,this._emitChars(">");break;case v.NULL:this._err(b.unexpectedNullCharacter),this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case v.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===v.SOLIDUS?(this.state=I.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(et,!1)&&e_(this.preprocessor.peek(et.length))){this._emitCodePoint(e);for(let e=0;e<et.length;e++)this._emitCodePoint(this._consume());this.state=I.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;
vendor: 9,416 bytes, line 1
1case v.SOLIDUS:case v.GREATER_THAN_SIGN:case v.EOF:this.state=I.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case v.EQUALS_SIGN:this._err(b.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=I.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=I.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:case v.SOLIDUS:case v.GREATER_THAN_SIGN:case v.EOF:this._leaveAttrName(),this.state=I.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case v.EQUALS_SIGN:this._leaveAttrName(),this.state=I.BEFORE_ATTRIBUTE_VALUE;break;case v.QUOTATION_MARK:case v.APOSTROPHE:case v.LESS_THAN_SIGN:this._err(b.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case v.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(ey(e)?e+32:e)}}_stateAfterAttributeName(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.SOLIDUS:this.state=I.SELF_CLOSING_START_TAG;break;case v.EQUALS_SIGN:this.state=I.BEFORE_ATTRIBUTE_VALUE;break;case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentTagToken();break;case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=I.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:this.state=I.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case v.APOSTROPHE:this.state=I.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(b.missingAttributeValue),this.state=I.DATA,this.emitCurrentTagToken();break;default:this.state=I.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case v.QUOTATION_MARK:this.state=I.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case v.AMPERSAND:this._startCharacterReference();break;case v.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.value+="�";break;case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case v.APOSTROPHE:this.state=I.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case v.AMPERSAND:this._startCharacterReference();break;case v.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.value+="�";break;case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this._leaveAttrValue(),this.state=I.BEFORE_ATTRIBUTE_NAME;break;case v.AMPERSAND:this._startCharacterReference();break;case v.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=I.DATA,this.emitCurrentTagToken();break;case v.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.value+="�";break;case v.QUOTATION_MARK:case v.APOSTROPHE:case v.LESS_THAN_SIGN:case v.EQUALS_SIGN:case v.GRAVE_ACCENT:this._err(b.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this._leaveAttrValue(),this.state=I.BEFORE_ATTRIBUTE_NAME;break;case v.SOLIDUS:this._leaveAttrValue(),this.state=I.SELF_CLOSING_START_TAG;break;case v.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=I.DATA,this.emitCurrentTagToken();break;case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this._err(b.missingWhitespaceBetweenAttributes),this.state=I.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case v.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=I.DATA,this.emitCurrentTagToken();break;case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this._err(b.unexpectedSolidusInTag),this.state=I.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentComment(t);break;case v.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case v.NULL:this._err(b.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=I.COMMENT_START):this._consumeSequenceIfMatch(ee,!1)?(this.currentLocation=this.getCurrentLocation(ee.length+1),this.state=I.DOCTYPE):this._consumeSequenceIfMatch(J,!0)?this.inForeignNode?this.state=I.CDATA_SECTION:(this._err(b.cdataInHtmlContent),this._createCommentToken(J.length+1),this.currentToken.data="[CDATA[",this.state=I.BOGUS_COMMENT):this._ensureHibernation()||(this._err(b.incorrectlyOpenedComment),this._createCommentToken(2),this.state=I.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case v.HYPHEN_MINUS:this.state=I.COMMENT_START_DASH;break;case v.GREATER_THAN_SIGN:{this._err(b.abruptClosingOfEmptyComment),this.state=I.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=I.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case v.HYPHEN_MINUS:this.state=I.COMMENT_END;break;case v.GREATER_THAN_SIGN:this._err(b.abruptClosingOfEmptyComment),this.state=I.DATA,this.emitCurrentComment(t);break;case v.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=I.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case v.HYPHEN_MINUS:this.state=I.COMMENT_END_DASH;break;case v.LESS_THAN_SIGN:t.data+="<",this.state=I.COMMENT_LESS_THAN_SIGN;break;case v.NULL:this._err(b.unexpectedNullCharacter),t.data+="�";break;case v.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case v.EXCLAMATION_MARK:t.data+="!",this.state=I.COMMENT_LESS_THAN_SIGN_BANG;break;case v.LESS_THAN_SIGN:t.data+="<";break;default:this.state=I.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===v.HYPHEN_MINUS?this.state=I.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=I.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===v.HYPHEN_MINUS?this.state=I.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=I.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==v.GREATER_THAN_SIGN&&e!==v.EOF&&this._err(b.nestedComment),this.state=I.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case v.HYPHEN_MINUS:this.state=I.COMMENT_END;break;case v.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=I.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentComment(t);break;case v.EXCLAMATION_MARK:this.state=I.COMMENT_END_BANG;break;case v.HYPHEN_MINUS:t.data+="-";break;case v.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=I.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case v.HYPHEN_MINUS:t.data+="--!",this.state=I.COMMENT_END_DASH;break;case v.GREATER_THAN_SIGN:this._err(b.incorrectlyClosedComment),this.state=I.DATA,this.emitCurrentComment(t);break;case v.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=I.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=I.BEFORE_DOCTYPE_NAME;break;case v.GREATER_THAN_SIGN:this.state=I.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case v.EOF:{this._err(b.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(b.missingWhitespaceBeforeDoctypeName),this.state=I.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(ey(e))this._createDoctypeToken(String.fromCharCode(e+32)),this.state=I.DOCTYPE_NAME;else switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.NULL:this._err(b.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=I.DOCTYPE_NAME;break;case v.GREATER_THAN_SIGN:{this._err(b.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=I.DATA;break}case v.EOF:{this._err(b.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=I.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=I.AFTER_DOCTYPE_NAME;break;case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentDoctype(t);break;
1case v.NULL:this._err(b.unexpectedNullCharacter),t.name+="�";break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(ey(e)?e+32:e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=I.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=I.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(b.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=I.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case v.QUOTATION_MARK:this._err(b.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=I.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:this._err(b.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=I.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(b.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=I.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:t.publicId="",this.state=I.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:t.publicId="",this.state=I.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(b.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=I.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case v.QUOTATION_MARK:this.state=I.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case v.NULL:this._err(b.unexpectedNullCharacter),t.publicId+="�";break;case v.GREATER_THAN_SIGN:this._err(b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case v.APOSTROPHE:this.state=I.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case v.NULL:this._err(b.unexpectedNullCharacter),t.publicId+="�";break;case v.GREATER_THAN_SIGN:this._err(b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=I.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentDoctype(t);break;case v.QUOTATION_MARK:this._err(b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:this._err(b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;
vendor: 4,995 bytes, line 1
1default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.QUOTATION_MARK:t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=I.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case v.QUOTATION_MARK:this._err(b.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:this._err(b.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=I.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=I.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case v.QUOTATION_MARK:this.state=I.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case v.NULL:this._err(b.unexpectedNullCharacter),t.systemId+="�";break;case v.GREATER_THAN_SIGN:this._err(b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case v.APOSTROPHE:this.state=I.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case v.NULL:this._err(b.unexpectedNullCharacter),t.systemId+="�";break;case v.GREATER_THAN_SIGN:this._err(b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case v.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.NULL:this._err(b.unexpectedNullCharacter);break;case v.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case v.RIGHT_SQUARE_BRACKET:this.state=I.CDATA_SECTION_BRACKET;break;case v.EOF:this._err(b.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===v.RIGHT_SQUARE_BRACKET?this.state=I.CDATA_SECTION_END:(this._emitChars("]"),this.state=I.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case v.GREATER_THAN_SIGN:this.state=I.DATA;break;case v.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=I.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}
vendor: 4,107 bytes, line 1
10===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(v.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&eb(this.preprocessor.peek(1))?I.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){eb(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===v.SEMICOLON&&this._err(b.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}let ew=new Set([k.DD,k.DT,k.LI,k.OPTGROUP,k.OPTION,k.P,k.RB,k.RP,k.RT,k.RTC]),eT=new Set([...ew,k.CAPTION,k.COLGROUP,k.TBODY,k.TD,k.TFOOT,k.TH,k.THEAD,k.TR]),eO=new Set([k.APPLET,k.CAPTION,k.HTML,k.MARQUEE,k.OBJECT,k.TABLE,k.TD,k.TEMPLATE,k.TH]),ex=new Set([...eO,k.OL,k.UL]),eP=new Set([...eO,k.BUTTON]),eA=new Set([k.ANNOTATION_XML,k.MI,k.MN,k.MO,k.MS,k.MTEXT]),ek=new Set([k.DESC,k.FOREIGN_OBJECT,k.TITLE]),eI=new Set([k.TR,k.TEMPLATE,k.HTML]),eC=new Set([k.TBODY,k.TFOOT,k.THEAD,k.TEMPLATE,k.HTML]),eR=new Set([k.TABLE,k.TEMPLATE,k.HTML]),eD=new Set([k.TD,k.TH]);class eN{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,r){this.treeAdapter=t,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=k.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===k.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===O.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let r=this._indexOf(e);this.items[r]=t,r===this.stackTop&&(this.current=t)}insertAfter(e,t,r){let n=this._indexOf(e)+1;this.items.splice(n,0,t),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==O.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let r=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(em,O.HTML)}popUntilTableCellPopped(){this.popUntilPopped(eD,O.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let r=this.stackTop;r>=0;r--)if(e.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===t)return r;return -1}clearBackTo(e,t){let r=this._indexOfTagNames(e,t);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(eR,O.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eC,O.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,O.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===k.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===k.HTML}hasInDynamicScope(e,t){for(let r=this.stackTop;r>=0;r--){let n=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case O.HTML:if(n===e)return!0;
1if(t.has(n))return!1;break;case O.SVG:if(ek.has(n))return!1;break;case O.MATHML:if(eA.has(n))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,eO)}hasInListItemScope(e){return this.hasInDynamicScope(e,ex)}hasInButtonScope(e){return this.hasInDynamicScope(e,eP)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case O.HTML:if(em.has(t))return!0;if(eO.has(t))return!1;break;case O.SVG:if(ek.has(t))return!1;break;case O.MATHML:if(eA.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===O.HTML)switch(this.tagIDs[t]){case e:return!0;case k.TABLE:case k.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===O.HTML)switch(this.tagIDs[e]){case k.TBODY:case k.THEAD:case k.TFOOT:return!0;case k.TABLE:case k.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===O.HTML)switch(this.tagIDs[t]){case e:return!0;case k.OPTION:case k.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&ew.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&eT.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&eT.has(this.currentTagId);)this.pop()}}(g=C||(C={}))[g.Marker=0]="Marker",g[g.Element=1]="Element";let ej={type:C.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let r=[],n=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===C.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===i&&this.treeAdapter.getNamespaceURI(o)===a){let t=this.treeAdapter.getAttrList(o);t.length===n&&r.push({idx:e,attrs:t})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let t=this.treeAdapter.getAttrList(e),r=this._getNoahArkConditionCandidates(e,t);if(r.length<3)return;let n=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<r.length;e++){let t=r[e];t.attrs.every(e=>n.get(e.name)===e.value)&&(i+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(ej)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:C.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:C.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(ej);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===C.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===C.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===C.Element&&t.element===e)}}let eL={createDocument:()=>({nodeName:"#document",mode:P.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,r)=>({nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){let n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,r,n){let i=e.childNodes.find(e=>"#documentType"===e.nodeName);i?(i.name=t,i.publicId=r,i.systemId=n):eL.appendChild(e,{nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let r=e.childNodes[e.childNodes.length-1];if(eL.isTextNode(r)){r.value+=t;return}}eL.appendChild(e,eL.createTextNode(t))},insertTextBefore(e,t,r){let n=e.childNodes[e.childNodes.indexOf(r)-1];n&&eL.isTextNode(n)?n.value+=t:eL.insertBefore(e,eL.createTextNode(t),r)},adoptAttributes(e,t){let r=new Set(e.attrs.map(e=>e.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},e$="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eF=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eB=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ez=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],eH=[...ez,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eq(e,t){return t.some(t=>e.startsWith(t))}let eG=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eW=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:O.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:O.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:O.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:O.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:O.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:O.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:O.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:O.XML}],["xml:space",{prefix:"xml",name:"space",namespace:O.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:O.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:O.XMLNS}]]),eV=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eY=new Set([k.B,k.BIG,k.BLOCKQUOTE,k.BODY,k.BR,k.CENTER,k.CODE,k.DD,k.DIV,k.DL,k.DT,k.EM,k.EMBED,k.H1,k.H2,k.H3,k.H4,k.H5,k.H6,k.HEAD,k.HR,k.I,k.IMG,k.LI,k.LISTING,k.MENU,k.META,k.NOBR,k.O
1L,k.P,k.PRE,k.RUBY,k.S,k.SMALL,k.SPAN,k.STRONG,k.STRIKE,k.SUB,k.SUP,k.TABLE,k.TT,k.U,k.UL,k.VAR]);function eZ(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function eK(e){for(let t=0;t<e.attrs.length;t++){let r=eG.get(e.attrs[t].name);null!=r&&(e.attrs[t].name=r)}}function eX(e){for(let t=0;t<e.attrs.length;t++){let r=eW.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}(y=R||(R={}))[y.INITIAL=0]="INITIAL",y[y.BEFORE_HTML=1]="BEFORE_HTML",y[y.BEFORE_HEAD=2]="BEFORE_HEAD",y[y.IN_HEAD=3]="IN_HEAD",y[y.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",y[y.AFTER_HEAD=5]="AFTER_HEAD",y[y.IN_BODY=6]="IN_BODY",y[y.TEXT=7]="TEXT",y[y.IN_TABLE=8]="IN_TABLE",y[y.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",y[y.IN_CAPTION=10]="IN_CAPTION",y[y.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",y[y.IN_TABLE_BODY=12]="IN_TABLE_BODY",y[y.IN_ROW=13]="IN_ROW",y[y.IN_CELL=14]="IN_CELL",y[y.IN_SELECT=15]="IN_SELECT",y[y.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",y[y.IN_TEMPLATE=17]="IN_TEMPLATE",y[y.AFTER_BODY=18]="AFTER_BODY",y[y.IN_FRAMESET=19]="IN_FRAMESET",y[y.AFTER_FRAMESET=20]="AFTER_FRAMESET",y[y.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",y[y.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";let eQ={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},eJ=new Set([k.TABLE,k.TBODY,k.TFOOT,k.THEAD,k.TR]),e0={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:eL,onParseError:null};class e1{constructor(e,t,r=null,n=null){this.fragmentContext=r,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=R.INITIAL,this.originalInsertionMode=R.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...e0,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new eS(this.options,this),this.activeFormattingElements=new eM(this.treeAdapter),this.fragmentContextID=r?ef(this.treeAdapter.getTagName(r)):k.UNKNOWN,this._setContextModes(null!=r?r:this.document,this.fragmentContextID),this.openElements=new eN(this.document,this.treeAdapter,this)}static parse(e,t){let r=new this(t);return r.tokenizer.write(e,!0),r.document}static getFragmentParser(e,t){let r={...e0,...t};null!=e||(e=r.treeAdapter.createElement(A.TEMPLATE,O.HTML,[]));let n=r.treeAdapter.createElement("documentmock",O.HTML,[]),i=new this(r,n,e);return i.fragmentContextID===k.TEMPLATE&&i.tmplInsertionModeStack.unshift(R.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,r){var n;if(!this.onParseError)return;let i=null!=(n=e.location)?n:eQ,a={code:t,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(a)}onItemPush(e,t,r){var n,i;null==(i=(n=this.treeAdapter).onItemPush)||i.call(n,e),r&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null==(n=(r=this.treeAdapter).onItemPop)||n.call(r,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let r=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===O.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,O.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=R.TEXT}switchToPlaintextParsing(){this.insertionMode=R.TEXT,this.originalInsertionMode=R.IN_BODY,this.tokenizer.state=eg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;
1for(;e;){if(this.treeAdapter.getTagName(e)===A.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===O.HTML)switch(this.fragmentContextID){case k.TITLE:case k.TEXTAREA:this.tokenizer.state=eg.RCDATA;break;case k.STYLE:case k.XMP:case k.IFRAME:case k.NOEMBED:case k.NOFRAMES:case k.NOSCRIPT:this.tokenizer.state=eg.RAWTEXT;break;case k.SCRIPT:this.tokenizer.state=eg.SCRIPT_DATA;break;case k.PLAINTEXT:this.tokenizer.state=eg.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,r,n),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let r=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){let r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,t){let r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){let r=this.treeAdapter.createElement(e,O.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,O.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(A.HTML,O.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,k.HTML)}_appendCommentNode(e,t){let r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let t,r;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(t,e.chars,r):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let n=this.treeAdapter.getChildNodes(t),i=r?n.lastIndexOf(r):n.length,a=n[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){let{endLine:t,endCol:r,endOffset:n}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:t,endCol:r,endOffset:n})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_adoptNodes(e,t){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let r=t.location,n=this.treeAdapter.getTagName(e),i=t.type===E.END_TAG&&n===t.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){let t,r;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,r=this.fragmentContextID):{current:t,currentTagId:r}=this.openElements,(e.tagID!==k.SVG||this.treeAdapter.getTagName(t)!==A.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==O.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===k.MGLYPH||e.tagID===k.MALIGNMARK)&&void 0!==r&&!this._isIntegrationPoint(r,t,O.HTML)))}_processToken(e){switch(e.type){case E.CHARACTER:this.onCharacter(e);break;case E.NULL_CHARACTER:this.onNullCharacter(e);break;case E.COMMENT:this.onComment(e);break;case E.DOCTYPE:this.onDoctype(e);break;case E.START_TAG:this._processStartTag(e);break;case E.END_TAG:this.onEndTag(e);break;case E.EOF:this.onEof(e);break;case E.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,r){let n=this.treeAdapter.getNamespaceURI(t),i=this.treeAdapter.getAttrList(t);return(!r||r===O.HTML)&&function(e,t,r){if(t===O.MATHML&&e===k.ANNOTATION_XML){for(let e=0;e<r.length;e++)if(r[e].name===x.ENCODING){let t=r[e].value.toLowerCase();return"text/html"===t||"application/xhtml+xml"===t}}return t===O.SVG&&(e===k.FOREIGN_OBJECT||e===k.DESC||e===k.TITLE)}(e,n,i)||(!r||r===O.MATHML)&&n===O.MATHML&&(e===k.MI||e===k.MO||e===k.MN||e===k.MS||e===k.MTEXT)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===C.Marker||this.openElements.contains(e.element)),r=-1===t?e-1:t-1;for(let e=r;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=R.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(k.P),this.openElements.popUntilTagNamePopped(k.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case k.TR:this.insertionMode=R.IN_ROW;return;case k.TBODY:case k.THEAD:case k.TFOOT:this.insertionMode=R.IN_TABLE_BODY;return;case k.CAPTION:this.insertionMode=R.IN_CAPTION;return;case k.COLGROUP:this.insertionMode=R.IN_COLUMN_GROUP;return;case k.TABLE:this.insertionMode=R.IN_TABLE;return;case k.BODY:this.insertionMode=R.IN_BODY;return;case k.FRAMESET:this.insertionMode=R.IN_FRAMESET;return;case k.SELECT:return void this._resetInsertionModeForSelect(e);case k.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case k.HTML:this.insertionMode=this.headElement?R.AFTER_HEAD:R.BEFORE_HEAD;return;case k.TD:case k.TH:if(e>0){this.insertionMode=R.IN_CELL;return}break;case k.HEAD:if(e>0){this.insertionMode=R.IN_HEAD;return}}this.insertionMode=R.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];
1if(e===k.TEMPLATE)break;if(e===k.TABLE){this.insertionMode=R.IN_SELECT_IN_TABLE;return}}this.insertionMode=R.IN_SELECT}_isElementCausesFosterParenting(e){return eJ.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case k.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===O.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case k.TABLE:{let r=this.treeAdapter.getParentNode(t);if(r)return{parent:r,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return ep[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,r;return void(t=this,r=e,t._insertCharacters(r),t.framesetOk=!1)}switch(this.insertionMode){case R.INITIAL:e3(this,e);break;case R.BEFORE_HTML:e5(this,e);break;case R.BEFORE_HEAD:e8(this,e);break;case R.IN_HEAD:te(this,e);break;case R.IN_HEAD_NO_SCRIPT:tt(this,e);break;case R.AFTER_HEAD:tr(this,e);break;case R.IN_BODY:case R.IN_CAPTION:case R.IN_CELL:case R.IN_TEMPLATE:ta(this,e);break;case R.TEXT:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:tp(this,e);break;case R.IN_TABLE_TEXT:tb(this,e);break;case R.IN_COLUMN_GROUP:tw(this,e);break;case R.AFTER_BODY:tR(this,e);break;case R.AFTER_AFTER_BODY:tD(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,r;return void(t=this,(r=e).chars="�",t._insertCharacters(r))}switch(this.insertionMode){case R.INITIAL:e3(this,e);break;case R.BEFORE_HTML:e5(this,e);break;case R.BEFORE_HEAD:e8(this,e);break;case R.IN_HEAD:te(this,e);break;case R.IN_HEAD_NO_SCRIPT:tt(this,e);break;case R.AFTER_HEAD:tr(this,e);break;case R.TEXT:this._insertCharacters(e);break;case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:tp(this,e);break;case R.IN_COLUMN_GROUP:tw(this,e);break;case R.AFTER_BODY:tR(this,e);break;case R.AFTER_AFTER_BODY:tD(this,e)}}onComment(e){var t,r,n,i;if(this.skipNextNewLine=!1,this.currentNotInHTML)return void e4(this,e);switch(this.insertionMode){case R.INITIAL:case R.BEFORE_HTML:case R.BEFORE_HEAD:case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:case R.IN_BODY:case R.IN_TABLE:case R.IN_CAPTION:case R.IN_COLUMN_GROUP:case R.IN_TABLE_BODY:case R.IN_ROW:case R.IN_CELL:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:case R.IN_TEMPLATE:case R.IN_FRAMESET:case R.AFTER_FRAMESET:e4(this,e);break;case R.IN_TABLE_TEXT:tE(this,e);break;case R.AFTER_BODY:t=this,r=e,t._appendCommentNode(r,t.openElements.items[0]);break;case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:n=this,i=e,n._appendCommentNode(i,n.document)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case R.INITIAL:!function(e,t){e._setDocumentType(t);let r=t.forceQuirks?P.QUIRKS:function(e){if(e.name!==e$)return P.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return P.QUIRKS;let{publicId:r}=e;if(null!==r){if(r=r.toLowerCase(),eB.has(r))return P.QUIRKS;let e=null===t?eF:eU;if(eq(r,e))return P.QUIRKS;if(eq(r,e=null===t?ez:eH))return P.LIMITED_QUIRKS}return P.NO_QUIRKS}(t);(t.name!==e$||null!==t.publicId||null!==t.systemId&&"about:legacy-compat"!==t.systemId)&&e._err(t,b.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=R.BEFORE_HTML}(this,e);break;case R.BEFORE_HEAD:case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:this._err(e,b.misplacedDoctype);break;case R.IN_TABLE_TEXT:tE(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,b.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){let r;if((r=t.tagID)===k.FONT&&t.attrs.some(({name:e})=>e===x.COLOR||e===x.SIZE||e===x.FACE)||eY.has(r))tN(e),e._startTagOutsideForeignContent(t);else{let r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);if(n===O.MATHML)eZ(t);else if(n===O.SVG){let e;null!=(e=eV.get(t.tagName))&&(t.tagName=e,t.tagID=ef(t.tagName)),eK(t)}eX(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case R.INITIAL:e3(this,e);break;case R.BEFORE_HTML:t=this,(r=e).tagID===k.HTML?(t._insertElement(r,O.HTML),t.insertionMode=R.BEFORE_HEAD):e5(t,r);break;case R.BEFORE_HEAD:var t,r,n,i,a,o,s,l,u,c,d,f,h=this,p=e;switch(p.tagID){case k.HTML:tc(h,p);break;case k.HEAD:h._insertElement(p,O.HTML),h.headElement=h.openElements.current,h.insertionMode=R.IN_HEAD;break;default:e8(h,p)}break;case R.IN_HEAD:e9(this,e);break;case R.IN_HEAD_NO_SCRIPT:var m=this,g=e;switch(g.tagID){case k.HTML:tc(m,g);break;case k.BASEFONT:case k.BGSOUND:case k.HEAD:case k.LINK:case k.META:case k.NOFRAMES:case k.STYLE:e9(m,g);break;case k.NOSCRIPT:m._err(g,b.nestedNoscriptInHead);break;default:tt(m,g)}break;case R.AFTER_HEAD:var y=this,v=e;switch(v.tagID){case k.HTML:tc(y,v);break;case k.BODY:y._insertElement(v,O.HTML),y.framesetOk=!1,y.insertionMode=R.IN_BODY;break;case k.FRAMESET:y._insertElement(v,O.HTML),y.insertionMode=R.IN_FRAMESET;break;case k.BASE:case k.BASEFONT:case k.BGSOUND:case k.LINK:case k.META:case k.NOFRAMES:case k.SCRIPT:case k.STYLE:case k.TEMPLATE:case k.TITLE:y._err(v,b.abandonedHeadElementChild),y.openElements.push(y.headElement,k.HEAD),e9(y,v),y.openElements.remove(y.headElement);break;case k.HEAD:y._err(v,b.misplacedStartTagForHeadElement);break;default:tr(y,v)}break;case R.IN_BODY:tc(this,e);break;case R.IN_TABLE:tm(this,e);break;case R.IN_TABLE_TEXT:tE(this,e);break;case R.IN_CAPTION:let E;n=this,E=(i=e).tagID,t_.has(E)?n.openElements.hasInTableScope(k.CAPTION)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(k.CAPTION),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=R.IN_TABLE,tm(n,i)):tc(n,i);break;case R.IN_COLUMN_GROUP:tS(this,e);break;case R.IN_TABLE_BODY:tT(this,e);break;case R.IN_ROW:tx(this,e);break;case R.IN_CELL:let _;a=this,_=(o=e).tagID,t_.has(_)?(a.openElements.hasInTableScope(k.TD)||a.openElements.hasInTableScope(k.TH))&&(a._closeTableCell(),tx(a,o)):tc(a,o);break;case R.IN_SELECT:tA(this,e);break;case R.IN_SELECT_IN_TABLE:let S;s=this,(S=(l=e).tagID)===k.CAPTION||S===k.TABLE||S===k.TBODY||S===k.TFOOT||S===k.THEAD||S===k.TR||S===k.TD||S===k.TH?(s.openElements.popUntilTagNamePopped(k.SELECT),s._resetInsertionMode(),s._processStartTag(l)):tA(s,l);break;case R.IN_TEMPLATE:var w=this,T=e;switch(T.tagID){case k.BASE:case k.BASEFONT:case k.BGSOUND:case k.LINK:case k.META:case k.NOFRAMES:case k.SCRIPT:case k.STYLE:case k.TEMPLATE:case k.TITLE:e9(w,T);break;case k.CAPTION:case k.COLGROUP:case k.TBODY:case k.TFOOT:case k.THEAD:w.tmplInsertionModeStack[0]=R.IN_TABLE,w.insertionMode=R.IN_TABLE,tm(w,T);break;case k.COL:w.tmplInsertionModeStack[0]=R.IN_COLUMN_GROUP,w.insertionMode=R.IN_COLUMN_GROUP,tS(w,T);break;case k.TR:w.tmplInsertionModeStack[0]=R.IN_TABLE_BODY,w.insertionMode=R.IN_TABLE_BODY,tT(w,T);break;case k.TD:case k.TH:w.tmplInsertionModeStack[0]=R.IN_ROW,w.insertionMode=R.IN_ROW,tx(w,T);break;default:w.tmplInsertionModeStack[0]=R.IN_BODY,w.insertionMode=R.IN_BODY,tc(w,T)}break;case R.AFTER_BODY:u=this,(c=e).tagID===k.HTML?tc(u,c):tR(u,c);break;case R.IN_FRAMESET:var x=this,P=e;switch(P.tagID){case k.HTML:tc(x,P);break;case k.FRAMESET:x._insertElement(P,O.HTML);break;case k.FRAME:x._appendElement(P,O.HTML),P.ackSelfClosing=!0;break;case k.NOFRAMES:e9(x,P)}break;case R.AFTER_FRAMESET:var A=this,I=e;switch(I.tagID){case k.HTML:tc(A,I);break;case k.NOFRAMES:e9(A,I)}break;case R.AFTER_AFTER_BODY:d=this,(f=e).tagID===k.HTML?tc(d,f):tD(d,f);break;case R.AFTER_AFTER_FRAMESET:var C=this,D=e;switch(D.tagID){case k.HTML:tc(C,D);break;case k.NOFRAMES:e9(C,D)}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===k.P||t.tagID===k.BR){tN(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){let n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===O.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(n);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLe
1ngth(r);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case R.INITIAL:e3(this,e);break;case R.BEFORE_HTML:let t;n=this,((t=(i=e).tagID)===k.HTML||t===k.HEAD||t===k.BODY||t===k.BR)&&e5(n,i);break;case R.BEFORE_HEAD:let r;a=this,(r=(o=e).tagID)===k.HEAD||r===k.BODY||r===k.HTML||r===k.BR?e8(a,o):a._err(o,b.endTagWithoutMatchingOpenElement);break;case R.IN_HEAD:var n,i,a,o,s,l,u,c,d,f,h,p,m=this,g=e;switch(g.tagID){case k.HEAD:m.openElements.pop(),m.insertionMode=R.AFTER_HEAD;break;case k.BODY:case k.BR:case k.HTML:te(m,g);break;case k.TEMPLATE:e7(m,g);break;default:m._err(g,b.endTagWithoutMatchingOpenElement)}break;case R.IN_HEAD_NO_SCRIPT:var y=this,v=e;switch(v.tagID){case k.NOSCRIPT:y.openElements.pop(),y.insertionMode=R.IN_HEAD;break;case k.BR:tt(y,v);break;default:y._err(v,b.endTagWithoutMatchingOpenElement)}break;case R.AFTER_HEAD:var E=this,_=e;switch(_.tagID){case k.BODY:case k.HTML:case k.BR:tr(E,_);break;case k.TEMPLATE:e7(E,_);break;default:E._err(_,b.endTagWithoutMatchingOpenElement)}break;case R.IN_BODY:tf(this,e);break;case R.TEXT:s=this,e.tagID===k.SCRIPT&&(null==(l=s.scriptHandler)||l.call(s,s.openElements.current)),s.openElements.pop(),s.insertionMode=s.originalInsertionMode;break;case R.IN_TABLE:tg(this,e);break;case R.IN_TABLE_TEXT:tE(this,e);break;case R.IN_CAPTION:var S=this,w=e;let T=w.tagID;switch(T){case k.CAPTION:case k.TABLE:S.openElements.hasInTableScope(k.CAPTION)&&(S.openElements.generateImpliedEndTags(),S.openElements.popUntilTagNamePopped(k.CAPTION),S.activeFormattingElements.clearToLastMarker(),S.insertionMode=R.IN_TABLE,T===k.TABLE&&tg(S,w));break;case k.BODY:case k.COL:case k.COLGROUP:case k.HTML:case k.TBODY:case k.TD:case k.TFOOT:case k.TH:case k.THEAD:case k.TR:break;default:tf(S,w)}break;case R.IN_COLUMN_GROUP:var O=this,x=e;switch(x.tagID){case k.COLGROUP:O.openElements.currentTagId===k.COLGROUP&&(O.openElements.pop(),O.insertionMode=R.IN_TABLE);break;case k.TEMPLATE:e7(O,x);break;case k.COL:break;default:tw(O,x)}break;case R.IN_TABLE_BODY:tO(this,e);break;case R.IN_ROW:tP(this,e);break;case R.IN_CELL:var P=this,A=e;let I=A.tagID;switch(I){case k.TD:case k.TH:P.openElements.hasInTableScope(I)&&(P.openElements.generateImpliedEndTags(),P.openElements.popUntilTagNamePopped(I),P.activeFormattingElements.clearToLastMarker(),P.insertionMode=R.IN_ROW);break;case k.TABLE:case k.TBODY:case k.TFOOT:case k.THEAD:case k.TR:P.openElements.hasInTableScope(I)&&(P._closeTableCell(),tP(P,A));break;case k.BODY:case k.CAPTION:case k.COL:case k.COLGROUP:case k.HTML:break;default:tf(P,A)}break;case R.IN_SELECT:tk(this,e);break;case R.IN_SELECT_IN_TABLE:let C;u=this,(C=(c=e).tagID)===k.CAPTION||C===k.TABLE||C===k.TBODY||C===k.TFOOT||C===k.THEAD||C===k.TR||C===k.TD||C===k.TH?u.openElements.hasInTableScope(C)&&(u.openElements.popUntilTagNamePopped(k.SELECT),u._resetInsertionMode(),u.onEndTag(c)):tk(u,c);break;case R.IN_TEMPLATE:d=this,(f=e).tagID===k.TEMPLATE&&e7(d,f);break;case R.AFTER_BODY:tC(this,e);break;case R.IN_FRAMESET:h=this,e.tagID===k.FRAMESET&&!h.openElements.isRootHtmlElementCurrent()&&(h.openElements.pop(),h.fragmentContext||h.openElements.currentTagId===k.FRAMESET||(h.insertionMode=R.AFTER_FRAMESET));break;case R.AFTER_FRAMESET:p=this,e.tagID===k.HTML&&(p.insertionMode=R.AFTER_AFTER_FRAMESET);break;case R.AFTER_AFTER_BODY:tD(this,e)}}onEof(e){switch(this.insertionMode){case R.INITIAL:e3(this,e);break;case R.BEFORE_HTML:e5(this,e);break;case R.BEFORE_HEAD:e8(this,e);break;case R.IN_HEAD:te(this,e);break;case R.IN_HEAD_NO_SCRIPT:tt(this,e);break;case R.AFTER_HEAD:tr(this,e);break;case R.IN_BODY:case R.IN_TABLE:case R.IN_CAPTION:case R.IN_COLUMN_GROUP:case R.IN_TABLE_BODY:case R.IN_ROW:case R.IN_CELL:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:th(this,e);break;case R.TEXT:var t,r;t=this,r=e,t._err(r,b.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(r);break;case R.IN_TABLE_TEXT:tE(this,e);break;case R.IN_TEMPLATE:tI(this,e);break;case R.AFTER_BODY:case R.IN_FRAMESET:case R.AFTER_FRAMESET:case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCo
1deAt(0)===v.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(e);switch(this.insertionMode){case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:case R.TEXT:case R.IN_COLUMN_GROUP:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:case R.IN_FRAMESET:case R.AFTER_FRAMESET:this._insertCharacters(e);break;case R.IN_BODY:case R.IN_CAPTION:case R.IN_CELL:case R.IN_TEMPLATE:case R.AFTER_BODY:case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:ti(this,e);break;case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:tp(this,e);break;case R.IN_TABLE_TEXT:tv(this,e)}}}function e2(e,t){for(let r=0;r<8;r++){let r=function(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):td(e,t),r}(e,t);if(!r)break;let n=function(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){let i=e.openElements.items[n];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[n])&&(r=i)}return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}(e,r);if(!n)break;e.activeFormattingElements.bookmark=r;let i=function(e,t,r){let n=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==r;a++,o=i){i=e.openElements.getCommonAncestor(o);let r=e.activeFormattingElements.getElementEntry(o),s=r&&a>=3;!r||s?(s&&e.activeFormattingElements.removeEntry(r),e.openElements.remove(o)):(o=function(e,t){let r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}(e,r),n===t&&(e.activeFormattingElements.bookmark=r),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(o,n),n=o)}return n}(e,n,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),a&&function(e,t,r){let n=ef(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(n))e._fosterParentElement(r);else{let i=e.treeAdapter.getNamespaceURI(t);n===k.TEMPLATE&&i===O.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}(e,a,i),function(e,t,r){let n=e.treeAdapter.getNamespaceURI(r.element),{token:i}=r,a=e.treeAdapter.createElement(i.tagName,n,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,a,i.tagID)}(e,n,r)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let r=2*!e.fragmentContext;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let r=e.openElements.items[0],n=e.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){let r=e.openElements.items[1],n=e.treeAdapter.getNodeSourceCodeLocation(r);n&&!n.endTag&&e._setEndLocation(r,t)}}}}function e3(e,t){e._err(t,b.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,P.QUIRKS),e.insertionMode=R.BEFORE_HTML,e._processToken(t)}function e5(e,t){e._insertFakeRootElement(),e.insertionMode=R.BEFORE_HEAD,e._processToken(t)}function e8(e,t){e._insertFakeElement(A.HEAD,k.HEAD),e.headElement=e.openElements.current,e.insertionMode=R.IN_HEAD,e._processToken(t)}function e9(e,t){switch(t.tagID){case k.HTML:tc(e,t);break;case k.BASE:case k.BASEFONT:case k.BGSOUND:case k.LINK:case k.META:e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break;case k.TITLE:e._switchToTextParsing(t,eg.RCDATA);break;case k.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eg.RAWTEXT):(e._insertElement(t,O.HTML),e.insertionMode=R.IN_HEAD_NO_SCRIPT);break;case k.NOFRAMES:case k.STYLE:e._switchToTextParsing(t,eg.RAWTEXT);break;case k.SCRIPT:e._switchToTextParsing(t,eg.SCRIPT_DATA);break;case k.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=R.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(R.IN_TEMPLATE);break;case k.HEAD:e._err(t,b.misplacedStartTagForHeadElement);break;default:te(e,t)}}function e7(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==k.TEMPLATE&&e._err(t,b.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(k.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,b.endTagWithoutMatchingOpenElement)}function te(e,t){e.openElements.pop(),e.insertionMode=R.AFTER_HEAD,e._processToken(t)}function tt(e,t){let r=t.type===E.EOF?b.openElementsLeftAfterEof:b.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=R.IN_HEAD,e._processToken(t)}function tr(e,t){e._insertFakeElement(A.BODY,k.BODY),e.insertionMode=R.IN_BODY,tn(e,t)}function tn(e,t){switch(t.type){case E.CHARACTER:ta(e,t);break;case E.WHITESPACE_CHARACTER:ti(e,t);break;case E.COMMENT:e4(e,t);break;case E.START_TAG:tc(e,t);break;case E.END_TAG:tf(e,t);break;case E.EOF:th(e,t)}}function ti(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ta(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function to(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,O.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}
1function ts(e){let t=eo(e,x.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tl(e,t){e._switchToTextParsing(t,eg.RAWTEXT)}function tu(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML)}function tc(e,t){switch(t.tagID){case k.I:case k.S:case k.B:case k.U:case k.EM:case k.TT:case k.BIG:case k.CODE:case k.FONT:case k.SMALL:case k.STRIKE:case k.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case k.A:let r;(r=e.activeFormattingElements.getElementEntryInScopeWithTagName(A.A))&&(e2(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case k.H1:case k.H2:case k.H3:case k.H4:case k.H5:case k.H6:e.openElements.hasInButtonScope(k.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&em.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,O.HTML);break;case k.P:case k.DL:case k.OL:case k.UL:case k.DIV:case k.DIR:case k.NAV:case k.MAIN:case k.MENU:case k.ASIDE:case k.CENTER:case k.FIGURE:case k.FOOTER:case k.HEADER:case k.HGROUP:case k.DIALOG:case k.DETAILS:case k.ADDRESS:case k.ARTICLE:case k.SEARCH:case k.SECTION:case k.SUMMARY:case k.FIELDSET:case k.BLOCKQUOTE:case k.FIGCAPTION:e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,O.HTML);break;case k.LI:case k.DD:case k.DT:e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===k.LI&&r===k.LI||(n===k.DD||n===k.DT)&&(r===k.DD||r===k.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==k.ADDRESS&&r!==k.DIV&&r!==k.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,O.HTML);break;case k.BR:case k.IMG:case k.WBR:case k.AREA:case k.EMBED:case k.KEYGEN:to(e,t);break;case k.HR:e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._appendElement(t,O.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case k.RB:case k.RTC:e.openElements.hasInScope(k.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,O.HTML);break;case k.RT:case k.RP:e.openElements.hasInScope(k.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(k.RTC),e._insertElement(t,O.HTML);break;case k.PRE:case k.LISTING:e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,O.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case k.XMP:e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case k.SVG:e._reconstructActiveFormattingElements(),eK(t),eX(t),t.selfClosing?e._appendElement(t,O.SVG):e._insertElement(t,O.SVG),t.ackSelfClosing=!0;break;case k.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case k.BASE:case k.LINK:case k.META:case k.STYLE:case k.TITLE:case k.SCRIPT:case k.BGSOUND:case k.BASEFONT:case k.TEMPLATE:e9(e,t);break;case k.BODY:let i;(i=e.openElements.tryPeekProperlyNestedBodyElement())&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(i,t.attrs));break;case k.FORM:let a;a=e.openElements.tmplCount>0,(!e.formElement||a)&&(e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,O.HTML),a||(e.formElement=e.openElements.current));break;case k.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(k.NOBR)&&(e2(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,O.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case k.MATH:e._reconstructActiveFormattingElements(),eZ(t),eX(t),t.selfClosing?e._appendElement(t,O.MATHML):e._insertElement(t,O.MATHML),t.ackSelfClosing=!0;break;case k.TABLE:e.treeAdapter.getDocumentMode(e.document)!==P.QUIRKS&&e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,O.HTML),e.framesetOk=!1,e.insertionMode=R.IN_TABLE;break;case k.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,O.HTML),ts(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case k.PARAM:case k.TRACK:case k.SOURCE:e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break;case k.IMAGE:t.tagName=A.IMG,t.tagID=k.IMG,to(e,t);break;case k.BUTTON:e.openElements.hasInScope(k.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(k.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.framesetOk=!1;break;case k.APPLET:case k.OBJECT:case k.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case k.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case k.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===R.IN_TABLE||e.insertionMode===R.IN_CAPTION||e.insertionMode===R.IN_TABLE_BODY||e.insertionMode===R.IN_ROW||e.insertionMode===R.IN_CELL?R.IN_SELECT_IN_TABLE:R.IN_SELECT;break;case k.OPTION:case k.OPTGROUP:e.openElements.currentTagId===k.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,O.HTML);break;case k.NOEMBED:case k.NOFRAMES:tl(e,t);break;case k.FRAMESET:let o;o=e.openElements.tryPeekProperlyNestedBodyElement(),e.framesetOk&&o&&(e.treeAdapter.detachNode(o),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,O.HTML),e.insertionMode=R.IN_FRAMESET);break;case k.TEXTAREA:e._insertElement(t,O.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=R.TEXT;break;case k.NOSCRIPT:e.options.scriptingEnabled?tl(e,t):tu(e,t);break;case k.PLAINTEXT:e.openElements.hasInButtonScope(k.P)&&e._closePElement(),e._insertElement(t,O.HTML),e.tokenizer.state=eg.PLAINTEXT;break;case k.COL:case k.TH:case k.TD:case k.TR:case k.HEAD:case k.FRAME:case k.TBODY:case k.TFOOT:case k.THEAD:case k.CAPTION:case k.COLGROUP:break;default:tu(e,t)}}function td(e,t){let r=t.tagName,n=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(n===a&&(n!==k.UNKNOWN||e.treeAdapter.getTagName(i)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>
1=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function tf(e,t){switch(t.tagID){case k.A:case k.B:case k.I:case k.S:case k.U:case k.EM:case k.TT:case k.BIG:case k.CODE:case k.FONT:case k.NOBR:case k.SMALL:case k.STRIKE:case k.STRONG:e2(e,t);break;case k.P:e.openElements.hasInButtonScope(k.P)||e._insertFakeElement(A.P,k.P),e._closePElement();break;case k.DL:case k.UL:case k.OL:case k.DIR:case k.DIV:case k.NAV:case k.PRE:case k.MAIN:case k.MENU:case k.ASIDE:case k.BUTTON:case k.CENTER:case k.FIGURE:case k.FOOTER:case k.HEADER:case k.HGROUP:case k.DIALOG:case k.ADDRESS:case k.ARTICLE:case k.DETAILS:case k.SEARCH:case k.SECTION:case k.SUMMARY:case k.LISTING:case k.FIELDSET:case k.BLOCKQUOTE:case k.FIGCAPTION:let r;r=t.tagID,e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r));break;case k.LI:e.openElements.hasInListItemScope(k.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(k.LI),e.openElements.popUntilTagNamePopped(k.LI));break;case k.DD:case k.DT:let n;n=t.tagID,e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n));break;case k.H1:case k.H2:case k.H3:case k.H4:case k.H5:case k.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case k.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(A.BR,k.BR),e.openElements.pop(),e.framesetOk=!1;break;case k.BODY:if(e.openElements.hasInScope(k.BODY)&&(e.insertionMode=R.AFTER_BODY,e.options.sourceCodeLocationInfo)){let r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}break;case k.HTML:e.openElements.hasInScope(k.BODY)&&(e.insertionMode=R.AFTER_BODY,tC(e,t));break;case k.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(k.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(k.FORM):r&&e.openElements.remove(r))}(e);break;case k.APPLET:case k.OBJECT:case k.MARQUEE:let i;i=t.tagID,e.openElements.hasInScope(i)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(i),e.activeFormattingElements.clearToLastMarker());break;case k.TEMPLATE:e7(e,t);break;default:td(e,t)}}function th(e,t){e.tmplInsertionModeStack.length>0?tI(e,t):e6(e,t)}function tp(e,t){if(void 0!==e.openElements.currentTagId&&eJ.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=R.IN_TABLE_TEXT,t.type){case E.CHARACTER:tb(e,t);break;case E.WHITESPACE_CHARACTER:tv(e,t)}else ty(e,t)}function tm(e,t){switch(t.tagID){case k.TD:case k.TH:case k.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(A.TBODY,k.TBODY),e.insertionMode=R.IN_TABLE_BODY,tT(e,t);break;case k.STYLE:case k.SCRIPT:case k.TEMPLATE:e9(e,t);break;case k.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(A.COLGROUP,k.COLGROUP),e.insertionMode=R.IN_COLUMN_GROUP,tS(e,t);break;case k.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,O.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case k.TABLE:e.openElements.hasInTableScope(k.TABLE)&&(e.openElements.popUntilTagNamePopped(k.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case k.TBODY:case k.TFOOT:case k.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,O.HTML),e.insertionMode=R.IN_TABLE_BODY;break;case k.INPUT:ts(t)?e._appendElement(t,O.HTML):ty(e,t),t.ackSelfClosing=!0;break;case k.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,O.HTML),e.insertionMode=R.IN_CAPTION;break;case k.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,O.HTML),e.insertionMode=R.IN_COLUMN_GROUP;break;default:ty(e,t)}}function tg(e,t){switch(t.tagID){case k.TABLE:e.openElements.hasInTableScope(k.TABLE)&&(e.openElements.popUntilTagNamePopped(k.TABLE),e._resetInsertionMode());break;case k.TEMPLATE:e7(e,t);break;case k.BODY:case k.CAPTION:case k.COL:case k.COLGROUP:case k.HTML:case k.TBODY:case k.TD:case k.TFOOT:case k.TH:case k.THEAD:case k.TR:break;default:ty(e,t)}}function ty(e,t){let r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,tn(e,t),e.fosterParentingEnabled=r}
vendor: 5,181 bytes, line 1
1function tv(e,t){e.pendingCharacterTokens.push(t)}function tb(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tE(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)ty(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}let t_=new Set([k.CAPTION,k.COL,k.COLGROUP,k.TBODY,k.TD,k.TFOOT,k.TH,k.THEAD,k.TR]);function tS(e,t){switch(t.tagID){case k.HTML:tc(e,t);break;case k.COL:e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break;case k.TEMPLATE:e9(e,t);break;default:tw(e,t)}}function tw(e,t){e.openElements.currentTagId===k.COLGROUP&&(e.openElements.pop(),e.insertionMode=R.IN_TABLE,e._processToken(t))}function tT(e,t){switch(t.tagID){case k.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,O.HTML),e.insertionMode=R.IN_ROW;break;case k.TH:case k.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(A.TR,k.TR),e.insertionMode=R.IN_ROW,tx(e,t);break;case k.CAPTION:case k.COL:case k.COLGROUP:case k.TBODY:case k.TFOOT:case k.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE,tm(e,t));break;default:tm(e,t)}}function tO(e,t){let r=t.tagID;switch(t.tagID){case k.TBODY:case k.TFOOT:case k.THEAD:e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE);break;case k.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE,tg(e,t));break;case k.BODY:case k.CAPTION:case k.COL:case k.COLGROUP:case k.HTML:case k.TD:case k.TH:case k.TR:break;default:tg(e,t)}}function tx(e,t){switch(t.tagID){case k.TH:case k.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,O.HTML),e.insertionMode=R.IN_CELL,e.activeFormattingElements.insertMarker();break;case k.CAPTION:case k.COL:case k.COLGROUP:case k.TBODY:case k.TFOOT:case k.THEAD:case k.TR:e.openElements.hasInTableScope(k.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,tT(e,t));break;default:tm(e,t)}}function tP(e,t){switch(t.tagID){case k.TR:e.openElements.hasInTableScope(k.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY);break;case k.TABLE:e.openElements.hasInTableScope(k.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,tO(e,t));break;case k.TBODY:case k.TFOOT:case k.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(k.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,tO(e,t));break;case k.BODY:case k.CAPTION:case k.COL:case k.COLGROUP:case k.HTML:case k.TD:case k.TH:break;default:tg(e,t)}}function tA(e,t){switch(t.tagID){case k.HTML:tc(e,t);break;case k.OPTION:e.openElements.currentTagId===k.OPTION&&e.openElements.pop(),e._insertElement(t,O.HTML);break;case k.OPTGROUP:e.openElements.currentTagId===k.OPTION&&e.openElements.pop(),e.openElements.currentTagId===k.OPTGROUP&&e.openElements.pop(),e._insertElement(t,O.HTML);break;case k.HR:e.openElements.currentTagId===k.OPTION&&e.openElements.pop(),e.openElements.currentTagId===k.OPTGROUP&&e.openElements.pop(),e._appendElement(t,O.HTML),t.ackSelfClosing=!0;break;case k.INPUT:case k.KEYGEN:case k.TEXTAREA:case k.SELECT:e.openElements.hasInSelectScope(k.SELECT)&&(e.openElements.popUntilTagNamePopped(k.SELECT),e._resetInsertionMode(),t.tagID!==k.SELECT&&e._processStartTag(t));break;case k.SCRIPT:case k.TEMPLATE:e9(e,t)}}function tk(e,t){switch(t.tagID){case k.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===k.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===k.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===k.OPTGROUP&&e.openElements.pop();break;case k.OPTION:e.openElements.currentTagId===k.OPTION&&e.openElements.pop();break;case k.SELECT:e.openElements.hasInSelectScope(k.SELECT)&&(e.openElements.popUntilTagNamePopped(k.SELECT),e._resetInsertionMode());break;case k.TEMPLATE:e7(e,t)}}function tI(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(k.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tC(e,t){var r;if(t.tagID===k.HTML){if(e.fragmentContext||(e.insertionMode=R.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===k.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];!n||(null==(r=e.treeAdapter.getNodeSourceCodeLocation(n))?void 0:r.endTag)||e._setEndLocation(n,t)}}else tR(e,t)}function tR(e,t){e.insertionMode=R.IN_BODY,tn(e,t)}function tD(e,t){e.insertionMode=R.IN_BODY,tn(e,t)}function tN(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==O.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.o
1penElements.current);)e.openElements.pop()}function tj(e,t){return e1.parse(e,t)}function tM(e,t,r){"string"==typeof e&&(r=t,t=e,e=null);let n=e1.getFragmentParser(e,r);return n.tokenizer.write(t,!0),n.getFragment()}String.prototype.codePointAt,A.AREA,A.BASE,A.BASEFONT,A.BGSOUND,A.BR,A.COL,A.EMBED,A.FRAME,A.HR,A.IMG,A.INPUT,A.KEYGEN,A.LINK,A.META,A.PARAM,A.SOURCE,A.TRACK,A.WBR;var tL=r(38240),t$=r(20549);let tU
vendor: 9,509 bytes, line 1
1={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `--\x3e` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `--\x3e` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `--\x3e` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `--\x3e` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `\x3c!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `\x3c!--`. Expected `--\x3e`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}},
1tF=/-[a-z]/g,tB=/%c(?:([-+])(\d+))?/g,tz=/%x/g,tH={2:!0,1:!1,0:null};function tq(e){return e.charAt(1).toUpperCase()}function tG(e){let{emitParseErrors:t,...r}={...this.data("settings"),...e};this.parser=function(e,n){var i;let a,o,s,l,u,c;return o=(a={...r,onerror:t?function(e){n.path&&(e.name=n.path+":"+e.name,e.file=n.path),n.messages.push(e)}:void 0}).onerror,s=e instanceof tL.T?e:new tL.T(e),l=a.fragment?tM:tj,i=l(u=String(s),{sourceCodeLocationInfo:!0,onParseError:a.onerror?function(e){let t=e.code,r=t.replace(tF,tq),n=a[r],i=null==n||n,l="number"==typeof i?i:+!!i;if(l){let n=tU[r];(0,D.ok)(n,"expected known error from `parse5`");let i=new t$.o(c(n.reason),{place:{start:{line:e.startLine,column:e.startCol,offset:e.startOffset},end:{line:e.endLine,column:e.endCol,offset:e.endOffset}},ruleId:t,source:"hast-util-from-html"});s.path&&(i.file=s.path,i.name=s.path+":"+i.name),i.fatal=tH[l],i.note=c(n.description),i.url=!1===n.url?void 0:"https://html.spec.whatwg.org/multipage/parsing.html#parse-error-"+t,(0,D.ok)(o,"`internalOnerror` is not passed if `onerror` is not set"),o(i)}function c(t){return t.replace(tB,function(t,r,n){var i;let a=(n?Number.parseInt(n,10):0)*("-"===r?-1:1);return"`"===(i=u.charAt(e.startOffset+a))?"` ` `":i}).replace(tz,function(){return"0x"+u.charCodeAt(e.startOffset).toString(16).toUpperCase()})}}:null,scriptingEnabled:!1}),V({file:(c={file:s,space:a.space,verbose:a.verbose}).file||void 0,location:!1,schema:"svg"===c.space?N.JW:N.qy,verbose
1:c.verbose||!1},i)}}},19495:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveParamValue",{enumerable:!0,get:function(){return a}});let n=r(42674),i=r(56314);function a(e,t,r,a,o){switch(t){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let s=[];for(let e=r;e<a.segments.length;e++){let n=a.segments[e];if("static"===n.type){let a=n.name,o=(0,i.interceptionPrefixFromParamType)(t);o&&e===r&&o===n.interceptionMarker&&(a=a.replace(n.interceptionMarker,"")),s.push(a)}else{if(!o.hasOwnProperty(n.param.paramName)){if("optional-catchall"===n.param.paramType)break;return}let e=o[n.param.paramName];Array.isArray(e)?s.push(...e):s.push(e)}}if(s.length>0)return s;if("optional-catchall"===t)return;throw Object.defineProperty(new n.InvariantError(`Unexpected empty path segments match for a route "${a.pathname}" with param "${e}" of type "${t}"`),"__NEXT_ERROR_CODE",{value:"E931",enumerable:!1,configurable:!0});case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(r<a.segments.length){let e=a.segments[r];if("dynamic"===e.type&&!o.hasOwnProperty(e.param.paramName))return;return"dynamic"===e.type?o[e.param.paramName]:(0,i.interceptionPrefixFromParamType)(t)===e.interceptionMarker?e.name.replace(e.interceptionMarker,""):e.name}return}}},20022:(e,t,r)=>{"use strict";var n=r(15975),i=r(1937);e.exports={formats:r(63738),parse:i,stringify:n}},20318:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CODE128C=t.CODE128B=t.CODE128A=t.CODE128=void 0;var n=s(r(89026)),i=s(r(67035)),a=s(r(81814)),o=s(r(40113));function s(e){return e&&e.__esModule?e:{default:e}}t.CODE128=n.default,t.CODE128A=i.default,t.CODE128B=a.default,t.CODE128C=o.default},20549:(e,t,r)=>{"use strict";r.d(t,{o:()=>i});var n=r(30658);class i extends Error{constructor(e,t,r){super(),"string"==typeof t&&(r=t,t=void 0);let i="",a={},o=!1;if(t&&(a="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?i=e:!a.cause&&e&&(o=!0,i=e.message,a.cause=e),!a.ruleId&&!a.source&&"string"==typeof r){const e=r.indexOf(":");-1===e?a.ruleId=r:(a.source=r.slice(0,e),a.ruleId=r.slice(e+1))}if(!a.place&&a.ancestors&&a.ancestors){const e=a.ancestors[a.ancestors.length-1];e&&(a.place=e.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=(0,n.L)(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&"string"==typeof a.cause.stack?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}i.prototype.file="",i.prototype.name="",i.prototype.reason="",i.prototype.message="",i.prototype.stack="",i.prototype.column=void 0,i.prototype.line=void 0,i.prototype.ancestors=void 0,i.prototype.cause=void 0,i.prototype.fatal=void 0,i.prototype.place=void 0,i.prototype.ruleId=void 0,i.prototype.source=void 0},21538:(e,t,r)=>{"use strict";function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{m:()=>n})},21678:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"afterTaskAsyncStorage",{enumerable:!0,get:function(){return n.afterTaskAsyncStorageInstance}});let n=r(78475)},21854:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return i}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function i(e){return r.test(e)?e.replace(n,"\\$&"):e}},21952:e=>{var t=Array.isArray;e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return t(e)?e:[e]}},22189:(e,t,r)=>{"use strict";r.d(t,{J:()=>_});var n=r(43573),i=r(7005),a=r(91577),o=r(3083);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(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 c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d=["name","escapedValue"],f=["escapedValue","value"];function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?h(Object(r),!0).forEach(function(t){m(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function m(e,t,r){var n;return(n=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==c(n)?n:String(n))in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var y=(0,n.V)({name:"refinement-list",connector:!0}),v=["isRefined","count:desc","name:asc"];let b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.l;return(0,a.t)(e,y()),function(r){var n,i,a,c=r||{},h=c.attribute,b=c.operator,E=void 0===b?"or":b,_=c.limit,S=void 0===_?10:_,w=c.showMore,T=void 0!==w&&w,O=c.showMoreLimit,x=void 0===O?20:O,P=c.sortBy,A=void 0===P?v:P,k=c.escapeFacetValues,I=void 0===k||k,C=c.transformItems,R=void 0===C?function(e){return e}:C;if(!h)throw Error(y("The `attribute` option is required."));if(!/^(and|or)$/.test(E))throw Error(y('The `operator` must one of: `"and"`, `"or"` (got "'.concat(E,'").')));if(!0===T&&x<=S)throw Error(y("`showMoreLimit` should be greater than `limit`."));var D=function(e){var t=e.name,r=e.escapedValue;return p(p({},g(e,d)),{},{value:r,label:t,highlighted:t})},N=[],j=!0,M=!1,L=function(){};function $(){L()}var U=function(){return function(){}};return{$$type:"ais.refinementList",init:function(t){e(p(p({},this.getWidgetRenderState(t)),{},{instantSearchInstance:t.instantSearchInstance}),!0)},render:function(t){e(p(p({},this.getWidgetRenderState(t)),{},{instantSearchInstance:t.instantSearchInstance}),!1)},getRenderState:function(e,t){return p(p({},e),{},{refinementList:p(p({},e.refinementList),{},m({},h,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(t){var c=this,d=t.results,m=t.state,y=t.createURL,b=t.instantSearchInstance,E=t.helper,_=[],w=[];if(a&&i&&U||(P=(O={instantSearchInstance:b,helper:E,attribute:h,widgetType:this.$$type}).instantSearchInstance,k=O.helper,C=O.attribute,F=O.widgetType,a=function(){for(var e,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=r[1],a=r[2],o=r[3],c=function(e){if(Array.isArray(e))return e}(e=r[0].split(":"))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,i,a,o=[],s=!0,l=!1;try{i=(t=t.call(e)).next,!1;for(;!(s=(r=i.call(t)).done)&&(o.push(r.value),2!==o.length);s=!0);}catch(e){l=!0,n=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(l)throw n}}return o}}(e)||function(e){if(e){if("string"==typeof e)return u(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),d=c[0],f=c[1],h="string"==typeof C?C:C(i);1===r.length&&"object"===l(r[0])?P.sendEventToInsights(r[0]):"click"===d&&r.length>=2&&r.length<=4&&((k.state.isHierarchicalFacet(h)?k.state.isHierarchicalFacetRefined(h,i):k.state.isConjunctiveFacet(h)?k.state.isFacetRefined(h,i):k.state.isDisjunctiveFacetRefined(h,i))||P.sendEventToInsights({insightsMethod:"clickedFilters",widgetType:F,eventType:d,eventModifier:f,payload:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?s(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({eventName:void 0===a?"Filter Applied":a,index:k.getIndex(),filters:["".concat(h,":").concat(i)]},void 0===o?{}:o),attribute:h}))},i=function(e){a("click:internal",e),E.toggleFacetRefinement(h,e).search()},B=this,U=function(t){return function(r){var i=t.instantSearchInstance,a=t.results;if(""===r&&N)e(p(p({},B.getWidgetRenderState(p(p({},t),{},{results:n}))),{},{instantSearchInstance:i}),!1);else{var s={highlightPreTag:I?o.FU.highlightPreTag:o.sn.highlightPreTag,highlightPostTag:I?o.FU.highlightPostTag:o.sn.highlightPostTag};E.searchForFacetValues(h,r,Math.min(M?x:S,100),s).then(function(r){var s=R((I?(0,o.ef)(r.facetHits):r.facetHits).map(function(e){var t=e.escapedValue,r=e.value;return p(p({},g(e,f)),{},{value:t,label:r})}),{results:a});e(p(p({},B.getWidgetRenderState(p(p({},t),{},{results:n}))),{},{items:s,canToggleShowMore:!1,canRefine:!0,isFromSearch:!0,instantSearchInstance:i}),!1)})}}}),d){var O,P,k,C,F,B,z,H=d.getFacetValues(h,{sortBy:A,facetOrdering:A===v});_=R((w=H&&Array.isArray(H)?H:[]).slice(0,M?x:S).map(D),{results:d});var q=m.maxValuesPerFacet,G=M?x:S;j=q>G?w.length<=G:w.length<G,n=d,N=_,t.results&&(z=this,L=function(){M=!M,z.render(t)})}var W=U&&U(t),V=M&&N.length>S,Y=T&&!j;return{createURL:function(e){return y(function(t){return c.getWidgetUiState(t,{searchParameters:m.resetPage().toggleFacetRefinement(h,e),helper:E})})},items:_,refine:i,searchForItems:W,isFromSearch:!1,canRefine:_.length>0,widgetParams:r,isShowingMore:M,canToggleShowMore:V||Y,toggleShowMore:$,sendEvent:a,hasExhaustiveItems:j}},dispose:function(e){var r=e.state;t();var n=r.setQueryParameter("maxValuesPerFacet",void 0);return"and"===E?n.removeFacet(h):n.removeDisjunctiveFacet(h)},getWidgetUiState:function(e,t){var r,n,i=t.searchParameters,a="or"===E?i.getDisjunctiveRefinements(h):i.getConjunctiveRefinements(h);return r=p(p({},e),{},{refinementList:p(p({},e.refinementList),{},m({},h,a))}),n=h,r.refinementList&&(r.refinementList[n]&&0!==r.refinementList[n].length||delete r.refinementList[n],0===Object.keys(r.refinementList).length&&delete r.refinementList),r},getWidgetSearchParameters:function(e,t){var r=t.uiState,n="or"===E;if(e.isHierarchicalFacet(h)||n&&e.isConjunctiveFacet(h)||!n&&e.isDisjunctiveFacet(h))return e;var i=r.refinementList&&r.refinementList[h],a=n?e.addDisjunctiveFacet(h).removeDisjunctiveFacetRefinement(h):e.addFacet(h).removeFacetRefinement(h),o=Math.max(a.maxValuesPerFacet||0,T?x:S),s=a.setQueryParameter("maxValuesPerFacet",o);if(!i){var l=n?"disjunctiveFacetsRefinements":"facetsRefinements";return s.setQueryParameters(m({},l,p(p({},s[l]),{},m({},h,[]))))}return i.reduce(function(e,t){return n?e.addDisjunctiveFacetRefinement(h,t):e.addFacetRefinement(h,t)},s)}}}};var E=r(80488);function _(e,t){return(0,E.Z)(b,e,t)}},22200:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(51401))&&n.__esModule?n:{default:n},a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();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 a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(r(59110));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=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)}t.default=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){var t;if("u"<typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return s(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(e,void 0)}}(e))){t&&(e=t);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}(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._findC
1hildAtPosition(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===a.ATTRIBUTE)return e.call(t,r)})},n.walkClasses=function(e){var t=this;return this.walk(function(r){if(r.type===a.CLASS)return e.call(t,r)})},n.walkCombinators=function(e){var t=this;return this.walk(function(r){if(r.type===a.COMBINATOR)return e.call(t,r)})},n.walkComments=function(e){var t=this;return this.walk(function(r){if(r.type===a.COMMENT)return e.call(t,r)})},n.walkIds=function(e){var t=this;return this.walk(function(r){if(r.type===a.ID)return e.call(t,r)})},n.walkNesting=function(e){var t=this;return this.walk(function(r){if(r.type===a.NESTING)return e.call(t,r)})},n.walkPseudos=function(e){var t=this;return this.walk(function(r){if(r.type===a.PSEUDO)return e.call(t,r)})},n.walkTags=function(e){var t=this;return this.walk(function(r){if(r.type===a.TAG)return e.call(t,r)})},n.walkUniversals=function(e){var t=this;return this.walk(function(r){if(r.type===a.UNIVERSAL)return e.call(t,r)})},n.split=function(e){var t=this,r=[];return this.reduce(function(n,i,a){var o=e.call(t,i);return r.push(i),o?(n.push(r),r=[]):a===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),e.exports=t.default},22221:(e,t,r)=>{"use strict";r.d(t,{q:()=>i});let n={};function i(){return n}},22640:(e,t,r)=>{"use strict";r.d(t,{G:()=>a,eq:()=>i});var n=r(24879);
1let i=n.ZS.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class a extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},r={_errors:[]},n=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(n);else if("invalid_return_type"===i.code)n(i.returnTypeError);else if("invalid_arguments"===i.code)n(i.argumentsError);else if(0===i.path.length)r._errors.push(t(i));else{let e=r,n=0;for(;n<i.path.length;){let r=i.path[n];n===i.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(i))):e[r]=e[r]||{_errors:[]},e=e[r],n++}}};return n(this),r}static assert(e){if(!(e instanceof a))throw Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,n.ZS.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},r=[];for(let n of this.issues)if(n.path.length>0){let r=n.path[0];t[r]=t[r]||[],t[r].push(e(n))}else r.push(e(n));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}a.create=e=>new a(e)},22806:(e,t,r)=>{"use strict";r.d(t,{t:()=>a});var n=r(74180),i=r(2340);function a(){return(0,n.useContext)(i.V)}},22872:e=>{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function n(e){return"object"==typeof e&&null!==e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,i,a,o,s,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var u=Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}if(void 0===(i=this._events[e]))return!1;if(r(i))switch(arguments.length){case 1:i.call(this);break;case 2:i.call(this,arguments[1]);break;case 3:i.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),i.apply(this,o)}else if(n(i))for(s=0,o=Array.prototype.slice.call(arguments,1),a=(l=i.slice()).length;s<a;s++)l[s].apply(this,o);return!0},t.prototype.addListener=function(e,i){var a;if(!r(i))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(i.listener)?i.listener:i),this._events[e]?n(this._events[e])?this._events[e].push(i):this._events[e]=[this._events[e],i]:this._events[e]=i,n(this._events[e])&&!this._events[e].warned&&(a=void 0===this._maxListeners?t.defaultMaxListeners:this._maxListeners)&&a>0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},t.prototype.removeListener=function(e,t){var i,a,o,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(i=this._events[e]).length,a=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit
1("removeListener",e,t);else if(n(i)){for(s=o;s-- >0;)if(i[s]===t||i[s].listener&&i[s].listener===t){a=s;break}if(a<0)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0==arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},23103:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BLOCKS",{enumerable:!0,get:function(){return n}});var r,n=((r={}).DOCUMENT="document",r.PARAGRAPH="paragraph",r.HEADING_1="heading-1",r.HEADING_2="heading-2",r.HEADING_3="heading-3",r.HEADING_4="heading-4",r.HEADING_5="heading-5",r.HEADING_6="heading-6",r.OL_LIST="ordered-list",r.UL_LIST="unordered-list",r.LIST_ITEM="list-item",r.HR="hr",r.QUOTE="blockquote",r.EMBEDDED_ENTRY="embedded-entry-block",r.EMBEDDED_ASSET="embedded-asset-block",r.EMBEDDED_RESOURCE="embedded-resource-block",r.TABLE="table",r.TABLE_ROW="table-row",r.TABLE_CELL="table-cell",r.TABLE_HEADER_CELL="table-header-cell",r)},23208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(53138);t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var e=this.data.split("").flatMap(function(e){return a.MULTI_SYMBOLS[e]||e}),r=e.map(function(e){return t.getEncoding(e)}).join(""),n=t.checksum(e,20),i=t.checksum(e.concat(n),15);return{text:this.text,data:t.getEncoding("\xff")+r+t.getEncoding(n)+t.getEncoding(i)+t.getEncoding("\xff")+"1"}}}],[{key:"getEncoding",value:function(e){return a.BINARIES[t.symbolValue(e)]}},{key:"getSymbol",value:function(e){return a.SYMBOLS[e]}},{key:"symbolValue",value:function(e){return a.SYMBOLS.indexOf(e)}},{key:"checksum",value:function(e,r){var n=e.slice().reverse().reduce(function(e,n,i){return e+t.symbolValue(n)*(i%r+1)},0);return t.getSymbol(n%47)}}]),t}(((n=r(40355))&&n.__esModule?n:{default:n}).default)},23652:(e,t,r)=>{"use strict";r.d(t,{C1:()=>w,bL:()=>_});var n=r(74180),i=r(71374),a=r(39392),o=r(21538),s=r(62049),l=r(15597),u=r(7413),c=r(36667),d=r(83825),f=r(67368),h="Checkbox",[p,m]=(0,a.A)(h),[g,y]=p(h);function v(e){let{__scopeCheckbox:t,checked:r,children:i,defaultChecked:a,disabled:o,form:l,name:u,onCheckedChange:c,required:d,value:p="on",internal_do_not_use_render:m}=e,[y,v]=(0,s.i)({prop:r,defaultProp:a??!1,onChange:c,caller:h}),[b,E]=n.useState(null),[_,S]=n.useState(null),w=n.useRef(!1),T=!b||!!l||!!b.closest("form"),O={checked:y,disabled:o,setChecked:v,control:b,setControl:E,name:u,form:l,value:p,hasConsumerStoppedPropagationRef:w,required:d,defaultChecked:!x(a)&&a,isFormControl:T,bubbleInput:_,setBubbleInput:S};return(0,f.jsx)(g,{scope:t,...O,children:"function"==typeof m?m(O):i})}var b="CheckboxTrigger",E=n.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:r,...a},s)=>
1{let{control:l,value:u,disabled:c,checked:h,required:p,setControl:m,setChecked:g,hasConsumerStoppedPropagationRef:v,isFormControl:E,bubbleInput:_}=y(b,e),S=(0,i.s)(s,m),w=n.useRef(h);return n.useEffect(()=>{let e=l?.form;if(e){let t=()=>g(w.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[l,g]),(0,f.jsx)(d.sG.button,{type:"button",role:"checkbox","aria-checked":x(h)?"mixed":h,"aria-required":p,"data-state":P(h),"data-disabled":c?"":void 0,disabled:c,value:u,...a,ref:S,onKeyDown:(0,o.m)(t,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,o.m)(r,e=>{g(e=>!!x(e)||!e),_&&E&&(v.current=e.isPropagationStopped(),v.current||e.stopPropagation())})})});E.displayName=b;var _=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,name:n,checked:i,defaultChecked:a,required:o,disabled:s,value:l,onCheckedChange:u,form:c,...d}=e;return(0,f.jsx)(v,{__scopeCheckbox:r,checked:i,defaultChecked:a,disabled:s,required:o,onCheckedChange:u,name:n,form:c,value:l,internal_do_not_use_render:({isFormControl:e})=>(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(E,{...d,ref:t,__scopeCheckbox:r}),e&&(0,f.jsx)(O,{__scopeCheckbox:r})]})})});_.displayName=h;var S="CheckboxIndicator",w=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,forceMount:n,...i}=e,a=y(S,r);return(0,f.jsx)(c.C,{present:n||x(a.checked)||!0===a.checked,children:(0,f.jsx)(d.sG.span,{"data-state":P(a.checked),"data-disabled":a.disabled?"":void 0,...i,ref:t,style:{pointerEvents:"none",...e.style}})})});w.displayName=S;var T="CheckboxBubbleInput",O=n.forwardRef(({__scopeCheckbox:e,...t},r)=>{let{control:a,hasConsumerStoppedPropagationRef:o,checked:s,defaultChecked:c,required:h,disabled:p,name:m,value:g,form:v,bubbleInput:b,setBubbleInput:E}=y(T,e),_=(0,i.s)(r,E),S=(0,l.Z)(s),w=(0,u.X)(a);n.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!o.current;if(S!==s&&e){let r=new Event("click",{bubbles:t});b.indeterminate=x(s),e.call(b,!x(s)&&s),b.dispatchEvent(r)}},[b,S,s,o]);let O=n.useRef(!x(s)&&s);return(0,f.jsx)(d.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??O.current,required:h,disabled:p,name:m,value:g,form:v,...t,tabIndex:-1,ref:_,style:{...t.style,...w,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function x(e){return"indeterminate"===e}function P(e){return x(e)?"indeterminate":e?"checked":"unchecked"}O.displayName=T},24333:(e,t,r)=>{"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{f:()=>v});var i,a,o,s,l=r(46635),u=["classNames","hits","itemComponent","sendEvent","emptyComponent","banner","bannerComponent"],c=r(74180),d=r(78011),f=["escapeHTML","transformItems","hitComponent","bannerComponent"],h=["hit","index"];function p(){return(p=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 m(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function g(e){var t=e.hit;return c.createElement("div",{style:{wordBreak:"break-all"}},JSON.stringify(t).slice(0,100),"â¦")}var y=(s=(a=({createElement:o=(i={createElement:c.createElement,Fragment:c.Fragment}).createElement,Fragment:i.Fragment}).createElement,function(e){var t=e.classNames,r=e.banner;return r.image.urls[0].url?a("aside",{className:(0,l.cx)("ais-Hits-banner",t.bannerRoot)},r.link?a("a",{className:(0,l.cx)("ais-Hits-banner-link",t.bannerLink),href:r.link.url,target:r.link.target},a("img",{className:(0,l.cx)("ais-Hits-banner-image",t.bannerImage),src:r.image.urls[0].url,alt:r.image.t
1itle})):a("img",{className:(0,l.cx)("ais-Hits-banner-image",t.bannerImage),src:r.image.urls[0].url,alt:r.image.title})):null}),function(e){var t=e.classNames,r=void 0===t?{}:t,i=e.hits,a=e.itemComponent,c=e.sendEvent,d=e.emptyComponent,f=e.banner,h=e.bannerComponent,p=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,u);return o("div",n({},p,{className:(0,l.cx)("ais-Hits",r.root,0===i.length&&(0,l.cx)("ais-Hits--empty",r.emptyRoot),p.className)}),f&&(h?o(h,{className:(0,l.cx)("ais-Hits-banner",r.bannerRoot),banner:f}):o(s,{classNames:r,banner:f})),0===i.length&&d?o(d,null):o("ol",{className:(0,l.cx)("ais-Hits-list",r.list)},i.map(function(e,t){return o(a,{key:e.objectID,hit:e,index:t,className:(0,l.cx)("ais-Hits-item",r.item),onClick:function(){c("click:internal",e,"Hit Clicked")},onAuxClick:function(){c("click:internal",e,"Hit Clicked")}})})))});function v(e){var t=e.escapeHTML,r=e.transformItems,n=e.hitComponent,i=void 0===n?g:n,a=e.bannerComponent,o=m(e,f),s=(0,d.u)({escapeHTML:t,transformItems:r},{$$widgetType:"ais.hits"}),l=s.hits,u=s.banner,v=s.sendEvent,b=(0,c.useMemo)(function(){return function(e){var t=e.hit,r=(e.index,m(e,h));return c.createElement("li",p({key:t.objectID},r),c.createElement(i,{hit:t,sendEvent:v}))}},[i,v]);return c.createElement(y,p({},o,{hits:l,sendEvent:v,itemComponent:b,banner:u,bannerComponent:!1===a?function(){return null}:a}))}},24394:(e,t)=>{"use strict";function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(e,i){r(this,t);var a=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return a.name="InvalidInputException",a.symbology=e,a.input=i,a.message='"'+a.input+'" is not a valid input for '+a.symbology,a}return i(t,e),t}(Error),o=function(e){function t(){r(this,t);var e=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.name="InvalidElementException",e.message="Not supported type to render on",e}return i(t,e),t}(Error),s=function(e){function t(){r(this,t);var e=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.name="NoElementException",e.message="No element to render on.",e}return i(t,e),t}(Error);t.InvalidInputException=a,t.InvalidElementException=o,t.NoElementException=s},24425:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenericBarcode=void 0;var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();t.GenericBarcode=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),t}(((n=r(40355))&&n.__esModule?n:{default:n}).default)},24792:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=o(r(7671)),i=r(97913),a=o(r(51401));
1function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(){return e.apply(this,arguments)||this}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,s(t,e);var r,a=t.prototype;return a.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},a.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}(a.default),e.exports=t.default},24879:(e,t,r)=>{"use strict";var n,i,a;r.d(t,{CR:()=>s,ZS:()=>n,Zp:()=>o}),(a=n||(n={})).assertEqual=e=>{},a.assertIs=function(e){},a.assertNever=function(e){throw Error()},a.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},a.getValidEnumValues=e=>{let t=a.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),r={};for(let n of t)r[n]=e[n];return a.objectValues(r)},a.objectValues=e=>a.objectKeys(e).map(function(t){return e[t]}),a.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},a.find=(e,t)=>{for(let r of e)if(t(r))return r},a.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,a.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},a.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(i||(i={})).mergeShapes=(e,t)=>({...e,...t});let o=n.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),s=e=>{switch(typeof e){case"undefined":return o.undefined;case"string":return o.string;case"number":return Number.isNaN(e)?o.nan:o.number;case"boolean":return o.boolean;case"function":return o.function;case"bigint":return o.bigint;case"symbol":return o.symbol;case"object":if(Array.isArray(e))return o.array;if(null===e)return o.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return o.promise;if("u">typeof Map&&e instanceof Map)return o.map;if("u">typeof Set&&e instanceof Set)return o.set;if("u">typeof Date&&e instanceof Date)return o.date;return o.object;default:return o.unknown}}},25116: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:{one:"ÑÑмвал",few:"ÑÑмвалÑ",many:"ÑÑмвалаÑ"},verb:"меÑÑ"},array:{unit:{one:"ÑлеменÑ",few:"ÑлеменÑÑ",many:"ÑлеменÑаÑ"},verb:"меÑÑ"},set:{unit:{one:"ÑлеменÑ",few:"ÑлеменÑÑ",many:"ÑлеменÑаÑ"},verb:"меÑÑ"},file:{unit:{one:"байÑ",few:"байÑÑ",many:"байÑаÑ"},verb:"меÑÑ"}},t={regex:"Ñвод",email:"email адÑаÑ",url:"URL",emoji:"ÑмодзÑ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO даÑа Ñ ÑаÑ",date:"ISO даÑа",time:"ISO ÑаÑ",duration:"ISO пÑаÑÑглаÑÑÑ",ipv4:"IPv4 адÑаÑ",ipv6:"IPv6 адÑаÑ",cidrv4:"IPv4 дÑÑпазон",cidrv6:"IPv6 дÑÑпазон",base64:"Ñадок Ñ ÑаÑмаÑе base64",base64url:"Ñадок Ñ ÑаÑмаÑе base64url",json_string:"JSON Ñадок",e164:"нÑÐ¼Ð°Ñ E.164",jwt:"JWT",template_literal:"Ñвод"},r=>
1{switch(r.code){case"invalid_type":return`ÐÑпÑавÑлÑÐ½Ñ Ñвод: ÑакаÑÑÑ ${r.expected}, аÑÑÑмана ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"лÑк";case"object":if(Array.isArray(e))return"маÑÑÑ";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`ÐÑпÑавÑлÑÐ½Ñ Ñвод: ÑакалаÑÑ ${o.stringifyPrimitive(r.values[0])}`;return`ÐÑпÑавÑлÑÐ½Ñ Ð²Ð°ÑÑÑнÑ: ÑакаÑÑÑ Ð°Ð´Ð·Ñн з ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n){let e=s(Number(r.maximum),n.unit.one,n.unit.few,n.unit.many);return`ÐанадÑа вÑлÑкÑ: ÑакалаÑÑ, ÑÑо ${r.origin??"знаÑÑнне"} павÑнна ${n.verb} ${t}${r.maximum.toString()} ${e}`}return`ÐанадÑа вÑлÑкÑ: ÑакалаÑÑ, ÑÑо ${r.origin??"знаÑÑнне"} павÑнна бÑÑÑ ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n){let e=s(Number(r.minimum),n.unit.one,n.unit.few,n.unit.many);return`ÐанадÑа малÑ: ÑакалаÑÑ, ÑÑо ${r.origin} павÑнна ${n.verb} ${t}${r.minimum.toString()} ${e}`}return`ÐанадÑа малÑ: ÑакалаÑÑ, ÑÑо ${r.origin} павÑнна бÑÑÑ ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен паÑÑнаÑÑа з "${r.prefix}"`;if("ends_with"===r.format)return`ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен заканÑваÑÑа на "${r.suffix}"`;if("includes"===r.format)return`ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен змÑÑÑаÑÑ "${r.includes}"`;if("regex"===r.format)return`ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен адпавÑдаÑÑ ÑÐ°Ð±Ð»Ð¾Ð½Ñ ${r.pattern}`;return`ÐÑпÑавÑлÑÐ½Ñ ${t[r.format]??r.format}`;case"not_multiple_of":return`ÐÑпÑавÑлÑÐ½Ñ Ð»Ñк: павÑнен бÑÑÑ ÐºÑаÑнÑм ${r.divisor}`;case"unrecognized_keys":return`ÐеÑаÑÐ¿Ð°Ð·Ð½Ð°Ð½Ñ ${r.keys.length>1?"клÑÑÑ":"клÑÑ"}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`ÐÑпÑавÑлÑÐ½Ñ ÐºÐ»ÑÑ Ñ ${r.origin}`;case"invalid_union":default:return"ÐÑпÑавÑлÑÐ½Ñ Ñвод";case"invalid_element":return`ÐÑпÑавÑлÑнае знаÑÑнне Ñ ${r.origin}`}})}};let o=a(r(3947));function s(e,t,r,n){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?n:1===a?t:a>=2&&a<=4?r:n}},25221:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={ESCAPE_REGEX:function(){return a},htmlEscapeAttributeString:function(){return u},htmlEscapeJsonString:function(){return l}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},a=/[&><\u2028\u2029]/g,o={"&":"&",'"':""","'":"'","<":"<",">":">"},s=/[&"'<>]/g;function l(e){return e.replace(a,e=>i[e])}function u(e){return e.replace(s,e=>o[e])}},25330: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"áá½á¢áááá",verb:"áá½ááá¶á"},file:{unit:"áá",verb:"áá½ááá¶á"},array:{unit:"áá¶áá»",verb:"áá½ááá¶á"},set:{unit:"áá¶áá»",verb:"áá½ááá¶á"}},t={regex:"áá·áááááááááá
á¼á",email:"á¢á¶áááááá¶áá¢áá¸ááá",url:"URL",emoji:"ááááá¶á¢á¶áááááá",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"áá¶áááá·á
áááá áá·ááááá
1 ISO",date:"áá¶áááá·á
áááá ISO",time:"áááá ISO",duration:"áááááá ISO",ipv4:"á¢á¶áááááá¶á IPv4",ipv6:"á¢á¶áááááá¶á IPv6",cidrv4:"áááá¢á¶áááááá¶á IPv4",cidrv6:"áááá¢á¶áááááá¶á IPv6",base64:"ááááá¢ááááá¢áá·áá¼á base64",base64url:"ááááá¢ááááá¢áá·áá¼á base64url",json_string:"ááááá¢áááá JSON",e164:"ááá E.164",jwt:"JWT",template_literal:"áá·áááááááááá
á¼á"},r=>{switch(r.code){case"invalid_type":return`áá·áááááááááá
á¼ááá·ááááá¹ááááá¼áá áááá¼ááá¶á ${r.expected} ááá»ááááááá½ááá¶á ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"áá·áááááá¶ááá (NaN)":"ááá";case"object":if(Array.isArray(e))return"á¢á¶áá (Array)";if(null===e)return"áááá¶áááááá (null)";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`áá·áááááááááá
á¼ááá·ááááá¹ááááá¼áá áááá¼ááá¶á ${o.stringifyPrimitive(r.values[0])}`;return`ááááá¾ááá·ááááá¹ááááá¼áá áááá¼ááá¶áá½ááááá»áá
áááá ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`áááááá áááá¼ááá¶á ${r.origin??"ááááá"} ${t} ${r.maximum.toString()} ${n.unit??"áá¶áá»"}`;return`áááááá áááá¼ááá¶á ${r.origin??"ááááá"} ${t} ${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`áá¼á
áááá áááá¼ááá¶á ${r.origin} ${t} ${r.minimum.toString()} ${n.unit}`;return`áá¼á
áááá áááá¼ááá¶á ${r.origin} ${t} ${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼áá
á¶áááááá¾áááá "${r.prefix}"`;if("ends_with"===r.format)return`ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼ááááá
ááááá "${r.suffix}"`;if("includes"===r.format)return`ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼ááá¶á "${r.includes}"`;if("regex"===r.format)return`ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼ááááááá¼áááááá¹áááááááááááá¶áááááá ${r.pattern}`;return`áá·ááááá¹ááááá¼áá ${t[r.format]??r.format}`;case"not_multiple_of":return`ááááá·ááááá¹ááááá¼áá áááá¼ááááá¶áá á»áá»ááá ${r.divisor}`;case"unrecognized_keys":return`áááá¾ááááá·ááááá¶ááá ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`áááá·ááááá¹ááááá¼ááá
áááá»á ${r.origin}`;case"invalid_union":default:return"áá·áááááááá·ááááá¹ááááá¼á";case"invalid_element":return`áá·áááááááá·ááááá¹ááááá¼ááá
áááá»á ${r.origin}`}})}};let o=a(r(3947))},25379:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(r(77571)),i=a(r(68756));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t={};for(var r in i.default)i.default.hasOwnProperty(r)&&(e.hasAttribute("jsbarcode-"+r.toLowerCase())&&(t[r]=e.getAttribute("jsbarcode-"+r.toLowerCase())),e.hasAttribute("data-"+r.toLowerCase())&&(t[r]=e.getAttribute("data-"+r.toLowerCase())));return t.value=e.getAttribute("jsbarcode-value")||e.getAttribute("data-value"),t=(0,n.default)(t)}},25675:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return h}});
1let n=r(40970),i=r(67202),a=r(63736),o=r(49596),s=r(48539),l=r(76203),u=r(91899),c=r(69211),d=r(72280),f=r(95565);function h(e,t,r){let h,p="string"==typeof t?t:(0,i.formatWithValidation)(t),m=p.match(/^[a-z][a-z0-9+.-]*:\/\//i),g=m?p.slice(m[0].length):p;if((g.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error(`Invalid href '${p}' passed to next/router in page: '${e.pathname}'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.`);let t=(0,o.normalizeRepeatedSlashes)(g);p=(m?m[0]:"")+t}if(!(0,l.isLocalURL)(p))return r?[p]:p;try{let t=p.startsWith("#")?e.asPath:e.pathname;if(p.startsWith("?")&&(t=e.asPath,(0,u.isDynamicRoute)(e.pathname))){t=e.pathname;let r=(0,d.getRouteRegex)(e.pathname);(0,f.getRouteMatcher)(r)(e.asPath)||(t=e.asPath)}h=new URL(t,"http://n")}catch(e){h=new URL("/","http://n")}try{let e=new URL(p,h);e.pathname=(0,s.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:o,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,r);o&&(t=(0,i.formatWithValidation)({pathname:o,hash:e.hash,query:(0,a.omit)(r,s)}))}let o=e.origin===h.origin?e.href.slice(e.origin.length):e.href;return r?[o,t||o]:o}catch(e){return r?[p]:p}}("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)},25855:()=>{},26253:(e,t,r)=>{"use strict";var n,i,a,o,s,l,u,c;r.d(t,{UI:()=>n,X5:()=>o,pL:()=>i,wc:()=>a}),(s=n||(n={})).Root="root",s.Chevron="chevron",s.Day="day",s.DayButton="day_button",s.CaptionLabel="caption_label",s.Dropdowns="dropdowns",s.Dropdown="dropdown",s.DropdownRoot="dropdown_root",s.Footer="footer",s.MonthGrid="month_grid",s.MonthCaption="month_caption",s.MonthsDropdown="months_dropdown",s.Month="month",s.Months="months",s.Nav="nav",s.NextMonthButton="button_next",s.PreviousMonthButton="button_previous",s.Week="week",s.Weeks="weeks",s.Weekday="weekday",s.Weekdays="weekdays",s.WeekNumber="week_number",s.WeekNumberHeader="week_number_header",s.YearsDropdown="years_dropdown",(l=i||(i={})).disabled="disabled",l.hidden="hidden",l.outside="outside",l.focused="focused",l.today="today",(u=a||(a={})).range_end="range_end",u.range_middle="range_middle",u.range_start="range_start",u.selected="selected",(c=o||(o={})).weeks_before_enter="weeks_before_enter",c.weeks_before_exit="weeks_before_exit",c.weeks_after_enter="weeks_after_enter",c.weeks_after_exit="weeks_after_exit",c.caption_after_enter="caption_after_enter",c.caption_after_exit="caption_after_exit",c.caption_before_enter="caption_before_enter",c.caption_before_exit="caption_before_exit"},26665:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return s},createSnapshot:function(){return u}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class a{disable(){throw i}getStore(){}run(){throw i}exit(){throw i}enterWith(){throw i}static bind(e){return e}}let o="u">typeof globalThis&&globalThis.AsyncLocalStorage;function s(){return o?new o:new a}function l(e){return o?o.bind(e):a.bind(e)}function u(){return o?o.snapshot():function(e,...t){return e(...t)}}},26891:(e,t,r)=>{"use strict";r.d(t,{G1:()=>o,PW:()=>i,Y:()=>n});let n=a("end"),i=a("start");function a(e){return function(t){let r=t&&t.position&&t.position[e]||{};if("number"==typeof r.line&&r.line>0&&"number"==typeof r.column&&r.column>0)return{line:r.line,column:r.column,offset:"number"==typeof r.offset&&r.offset>-1?r.offset:void 0}}}function o(e){let t=i(e),r=n(e);if(t&&r)return{start:t,end:r}}},27147: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);
1(!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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}},t={regex:"padr\xe3o",email:"endere\xe7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xe7\xe3o ISO",ipv4:"endere\xe7o IPv4",ipv6:"endere\xe7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xfamero E.164",jwt:"JWT",template_literal:"entrada"},r=>{switch(r.code){case"invalid_type":return`Tipo inv\xe1lido: esperado ${r.expected}, recebido ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"n\xfamero";case"object":if(Array.isArray(e))return"array";if(null===e)return"nulo";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Entrada inv\xe1lida: esperado ${o.stringifyPrimitive(r.values[0])}`;return`Op\xe7\xe3o inv\xe1lida: esperada uma das ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Muito grande: esperado que ${r.origin??"valor"} tivesse ${t}${r.maximum.toString()} ${n.unit??"elementos"}`;return`Muito grande: esperado que ${r.origin??"valor"} fosse ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Muito pequeno: esperado que ${r.origin} tivesse ${t}${r.minimum.toString()} ${n.unit}`;return`Muito pequeno: esperado que ${r.origin} fosse ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Texto inv\xe1lido: deve come\xe7ar com "${r.prefix}"`;if("ends_with"===r.format)return`Texto inv\xe1lido: deve terminar com "${r.suffix}"`;if("includes"===r.format)return`Texto inv\xe1lido: deve incluir "${r.includes}"`;if("regex"===r.format)return`Texto inv\xe1lido: deve corresponder ao padr\xe3o ${r.pattern}`;return`${t[r.format]??r.format} inv\xe1lido`;case"not_multiple_of":return`N\xfamero inv\xe1lido: deve ser m\xfaltiplo de ${r.divisor}`;case"unrecognized_keys":return`Chave${r.keys.length>1?"s":""} desconhecida${r.keys.length>1?"s":""}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Chave inv\xe1lida em ${r.origin}`;case"invalid_union":return"Entrada inv\xe1lida";case"invalid_element":return`Valor inv\xe1lido em ${r.origin}`;default:return"Campo inv\xe1lido"}})}};let o=a(r(3947))},27458:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,{j:()=>function e(t,r,a){var o,s;if(null!=a&&a(t,r)||t===r)return!0;if(t&&r&&(o=t.constructor)===r.constructor){if(o===Date)return t.getTime()===r.getTime();if(o===RegExp)return t.toString()===r.toString();if(o===Array){if((s=t.length)===r.length)for(;s--&&e(t[s],r[s],a););return -1===s}if(!o||"object"===n(t)){for(o in s=0,t)if(i.call(t,o)&&++s&&!i.call(r,o)||!(o in r)||!e(t[o],r[o],a))return!1;return Object.keys(r).length===s}}return t!=t&&r!=r}});var i=Object.prototype.hasOwnProperty},27635:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},27768:(e,t,r)=>{"use strict";r.d(t,{pl:()=>v});let n={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundÄ",future:"mniej niż sekundÄ"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundÄ",future:"sekundÄ"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"p\xf3Å minuty",twoFour:"p\xf3Å minuty",other:"p\xf3Å minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutÄ",future:"mniej niż minutÄ"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutÄ",future:"minutÄ"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"okoÅo godziny",past:"okoÅo godziny",future:"okoÅo godzinÄ"},twoFour:"okoÅo {{count}} godziny",other:"okoÅo {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinÄ",future:"godzinÄ"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzieÅ",past:"dzieÅ",future:"1 dzieÅ"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"okoÅo tygodnia",twoFour:"okoÅo {{count}} tygodni",other:"okoÅo {{count}} tygodni"},xWeeks:{one:"tydzieÅ",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"okoÅo miesiÄ
c",twoFour:"okoÅo {{count}} miesiÄ
ce",other:"okoÅo {{count}} miesiÄcy"},xMonths:{one:"miesiÄ
c",twoFour:"{{count}} miesiÄ
ce",other:"{{count}} miesiÄcy"},aboutXYears:{one:"okoÅo rok",twoFour:"okoÅo {{count}} lata",other:"okoÅo {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function i(e,t,r){let n=function(e,t){if(1===t)return e.one;let r=t%100;if(r<=20&&r>10)return e.other;let n=r%10;return n>=2&&n<=4?e.twoFour:e.other}(e,t);return("string"==typeof n?n:n[r]).replace("{{count}}",String(t))}var a=r(38900);let o={date:(0,a.k)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,a.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var s=r(46576),l=r(712);let u={masculine:"ostatni",feminine:"ostatnia"},c={masculine:"ten",feminine:"ta"},d={masculine:"nastÄpny",feminine:"nastÄpna"},f={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function h(e,t,r,n){let i;if(function(e,t,r){let[n,i]=(0,s.x)(r?.in,e,t);return+(0,l.k)(n,r)==+(0,l.k)(i,r)}(t,r,n))i=c;else if("lastWeek"===e)i=u;else if("nextWeek"===e)i=d;else throw Error(`Cannot determine adjectives for token ${e}`);let a=i[f[t.getDay()]];return`'${a}' eeee 'o' p`}let p={lastWeek:h,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:h,other:"P"};var m=r(29306);let g={ordinalNumber:(e,t)=>String(e),era:(0,m.o)({values:{narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszÄ
erÄ
","
1naszej ery"]},defaultWidth:"wide"}),quarter:(0,m.o)({values:{narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartaÅ","II kwartaÅ","III kwartaÅ","IV kwartaÅ"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,m.o)({values:{narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeÅ","luty","marzec","kwiecieÅ","maj","czerwiec","lipiec","sierpieÅ","wrzesieÅ","październik","listopad","grudzieÅ"]},defaultWidth:"wide",formattingValues:{narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","wrzeÅnia","października","listopada","grudnia"]},defaultFormattingWidth:"wide"}),day:(0,m.o)({values:{narrow:["N","P","W","Å","C","P","S"],short:["nie","pon","wto","Åro","czw","piÄ
","sob"],abbreviated:["niedz.","pon.","wt.","År.","czw.","pt.","sob."],wide:["niedziela","poniedziaÅek","wtorek","Åroda","czwartek","piÄ
tek","sobota"]},defaultWidth:"wide",formattingValues:{narrow:["n","p","w","Å","c","p","s"],short:["nie","pon","wto","Åro","czw","piÄ
","sob"],abbreviated:["niedz.","pon.","wt.","År.","czw.","pt.","sob."],wide:["niedziela","poniedziaÅek","wtorek","Åroda","czwartek","piÄ
tek","sobota"]},defaultFormattingWidth:"wide"}),dayPeriod:(0,m.o)({values:{narrow:{am:"a",pm:"p",midnight:"p\xf3Ån.",noon:"poÅ",morning:"rano",afternoon:"popoÅ.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"p\xf3Ånoc",noon:"poÅudnie",morning:"rano",afternoon:"popoÅudnie",evening:"wiecz\xf3r",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"p\xf3Ånoc",noon:"poÅudnie",morning:"rano",afternoon:"popoÅudnie",evening:"wiecz\xf3r",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"o p\xf3Ån.",noon:"w poÅ.",morning:"rano",afternoon:"po poÅ.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o p\xf3Ånocy",noon:"w poÅudnie",morning:"rano",afternoon:"po poÅudniu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o p\xf3Ånocy",noon:"w poÅudnie",morning:"rano",afternoon:"po poÅudniu",evening:"wieczorem",night:"w nocy"}},defaultFormattingWidth:"wide"})};var y=r(71098);let v={code:"pl",formatDistance:(e,t,r)=>{let a=n[e];return r?.addSuffix?r.comparison&&r.comparison>0?"za "+i(a,t,"future"):i(a,t,"past")+" temu":i(a,t,"regular")},formatLong:o,formatRelative:(e,t,r,n)=>{let i=p[e];return"function"==typeof i?i(e,t,r,n):i},localize:g,match:{ordinalNumber:(0,r(15880).K)({matchPattern:/^(\d+)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,y.A)({matchPatterns:{narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(Ä
|a)\s*er(Ä
|a)|naszej\s*ery)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p/i,/^n/i]},defaultParseWidth:"any"}),quarter:(0,y.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(Å|l)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,y.A)({matchPatterns:{narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(Å|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(Å|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(Å|n)|wrze(Å|s)nia|wrzesie(Å|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(Å|n))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},defaultParseWidth:"any"}),day:(0,y.A)({matchPatterns:{narrow:/^[npwÅcs]/i,short:/^(nie|pon|wto|(Å|s)ro|czw|pi(Ä
|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(Å|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(Å|l)ek|wtorek|(Å|s)roda|czwartek|pi(Ä
|a)tek|sobota)/i}
1,defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^w/i,/^Å/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(Å|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(Å|s)r/i,/^c/i,/^pi/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,y.A)({matchPatterns:{narrow:/^(^a$|^p$|pó(Å|l)n\.?|o\s*pó(Å|l)n\.?|po(Å|l)\.?|w\s*po(Å|l)\.?|po\s*po(Å|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(Å|l)noc|o\s*pó(Å|l)nocy|po(Å|l)udnie|w\s*po(Å|l)udnie|popo(Å|l)udnie|po\s*po(Å|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(Å|l)n/i,noon:/po(Å|l)/i,morning:/rano/i,afternoon:/po\s*po(Å|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(Å|l)n/i,noon:/po(Å|l)/i,morning:/rano/i,afternoon:/po\s*po(Å|l)/i,evening:/wiecz/i,night:/noc/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},27868:(e,t,r)=>{"use strict";r.d(t,{p:()=>c});var n=r(46180);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a=["facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements","ruleContexts"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){var n,a,o;n=e,a=t,o=r[t],(a=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(a))in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var l=function(e,t){t.facets,t.disjunctiveFacets,t.facetsRefinements,t.facetsExcludes,t.disjunctiveFacetsRefinements,t.numericRefinements,t.tagRefinements,t.hierarchicalFacets,t.hierarchicalFacetsRefinements,t.ruleContexts;var r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,a);return e.setQueryParameters(r)},u=function(e,t){var r=(0,n.s)([].concat(e.ruleContexts).concat(t.ruleContexts).filter(Boolean));return r.length>0?e.setQueryParameters({ruleContexts:r}):e},c=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t){var r,n,i,a,o,c,d,f;return l((f=u((r=e.setQueryParameters({hierarchicalFacetsRefinements:s(s({},e.hierarchicalFacetsRefinements),t.hierarchicalFacetsRefinements)}),n=r.setQueryParameters({hierarchicalFacets:t.hierarchicalFacets.reduce(function(e,t){var r=function(e,t){if(!Array.isArray(e))return -1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return -1}(e,function(e){return e.name===t.name});if(-1===r)return e.concat(t);var n=e.slice();return n.splice(r,1,t),n},r.hierarchicalFacets)}),i=t.tagRefinements.reduce(function(e,t){return e.addTagRefinement(t)},n),a=i.setQueryParameters({numericRefinements:s(s({},i.numericRefinements),t.numericRefinements)}),o=a.setQueryParameters({disjunctiveFacetsRefinements:s(s({},a.disjunctiveFacetsRefinements),t.disjunctiveFacetsRefinements)}),c=o.setQueryParameters({facetsExcludes:s(s({},o.facetsExcludes),t.facetsExcludes)}),d=c.setQueryParameters({facetsRefinements:s(s({},c.facetsRefinements),t.facetsRefinements)}),t.disjunctiveFacets.reduce(function(e,t){return e.addDisjunctiveFacet(t)},d)),t),t.facets.reduce(function(e,t){return e.addFacet(t)},f)),t)})}},28225:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.ITF14=t.ITF=void 0;var n=a(r(70308)),i=a(r(15877));function a(e){return e&&e.__esModule?e:{default:e}}t.ITF=n.default,t.ITF14=i.default},28856:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.marginTop=e.marginTop||e.margin,e.marginBottom=e.marginBottom||e.margin,e.marginRight=e.marginRight||e.margin,e.marginLeft=e.marginLeft||e.margin,e}},28935:(e,t,r)=>{"use strict";r.d(t,{J:()=>l});var n=r(58326);function i(e){var t,r,i;return new n.SearchResults(e,[{query:null!=(t=e.query)?t:"",page:null!=(r=e.page)?r:0,hitsPerPage:null!=(i=e.hitsPerPage)?i:20,hits:[],nbHits:0,nbPages:0,params:"",exhaustiveNbHits:!0,exhaustiveFacetsCount:!0,processingTimeMS:0,index:e.index}],{__isArtificial:!0})}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],(i=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e){var t=e.getHelper(),r=e.getResults()||i(t.state),n=e.getScopedResults().map(function(t){var n=t.indexId===e.getIndexId()?r:i(t.helper.state);return s(s({},t),{},{results:t.results||n})});return{results:r,scopedResults:n,recommendResults:t.lastRecommendResults}}},29159:(e,t,r)=>{"use strict";r.d(t,{FH:()=>k,Gb:()=>C,Jt:()=>p,Op:()=>O,hZ:()=>m,mN:()=>ec,xI:()=>I,xW:()=>T});var n=r(74180),i=e=>e instanceof Date,a=e=>null==e,o=e=>!a(e)&&!Array.isArray(e)&&"object"==typeof e&&!i(e),s=e=>o(e)&&e.target?"checkbox"===e.target.type?e.target.checked:e.target.value:e,l=(e,t)=>e.has(t.substring(0,t.search(/\.\d+(\.|$)/))||t),u="u">typeof window&&void 0!==window.HTMLElement&&"u">typeof document;function c(e){let t,r=Array.isArray(e),n="u">typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{let i;if(!(!(u&&(e instanceof Blob||n))&&(r||o(e))))return e;if(t=r?[]:{},r||o(i=e.constructor&&e.constructor.prototype)&&i.hasOwnProperty("isPrototypeOf"))for(let r in e)e.hasOwnProperty(r)&&(t[r]=c(e[r]));else t=e}return t}var d=e=>void 0===e,f=e=>Array.isArray(e)?e.filter(Boolean):[],h=e=>f(e.replace(/["|']|\]/g,"").split(/\.|\[/)),p=(e,t,r)=>{if(!t||!o(e))return r;let n=(/^\w*$/.test(t)?[t]:h(t)).reduce((e,t)=>a(e)?e:e[t],e);return d(n)||n===e?d(e[t])?r:e[t]:n},m=(e,t,r)=>{let n=-1,i=/^\w*$/.test(t)?[t]:h(t),a=i.length,s=a-1;for(;++n<a;){let t=i[n],a=r;if(n!==s){let r=e[t];
1a=o(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=a,e=e[t]}};let g="blur",y="onChange",v="onSubmit",b="maxLength",E="minLength",_="pattern",S="required",w=n.createContext(null);w.displayName="HookFormContext";let T=()=>n.useContext(w),O=e=>{let{children:t,...r}=e;return n.createElement(w.Provider,{value:r},t)};var x=(e,t,r,n=!0)=>{let i={defaultValues:t._defaultValues};for(let a in e)Object.defineProperty(i,a,{get:()=>("all"!==t._proxyFormState[a]&&(t._proxyFormState[a]=!n||"all"),r&&(r[a]=!0),e[a])});return i};let P="u">typeof window?n.useLayoutEffect:n.useEffect;var A=(e,t,r,n,i)=>"string"==typeof e?(n&&t.watch.add(e),p(r,e,i)):Array.isArray(e)?e.map(e=>(n&&t.watch.add(e),p(r,e))):(n&&(t.watchAll=!0),r);function k(e){let t=T(),{control:r=t.control,name:i,defaultValue:a,disabled:o,exact:s}=e||{},l=n.useRef(a),[u,c]=n.useState(r._getWatch(i,l.current));return P(()=>r._subscribe({name:i,formState:{values:!0},exact:s,callback:e=>!o&&c(A(i,r._names,e.values||r._formValues,!1,l.current))}),[i,r,o,s]),n.useEffect(()=>r._removeUnmounted()),u}let I=e=>e.render(function(e){let t=T(),{name:r,disabled:i,control:a=t.control,shouldUnregister:o}=e,u=l(a._names.array,r),f=k({control:a,name:r,defaultValue:p(a._formValues,r,p(a._defaultValues,r,e.defaultValue)),exact:!0}),h=function(e){let t=T(),{control:r=t.control,disabled:i,name:a,exact:o}=e||{},[s,l]=n.useState(r._formState),u=n.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return P(()=>r._subscribe({name:a,formState:u.current,exact:o,callback:e=>{i||l({...r._formState,...e})}}),[a,i,o]),n.useEffect(()=>{u.current.isValid&&r._setValid(!0)},[r]),n.useMemo(()=>x(s,r,u.current,!1),[s,r])}({control:a,name:r,exact:!0}),y=n.useRef(e),v=n.useRef(a.register(r,{...e.rules,value:f,..."boolean"==typeof e.disabled?{disabled:e.disabled}:{}})),b=n.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!p(h.errors,r)},isDirty:{enumerable:!0,get:()=>!!p(h.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!p(h.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!p(h.validatingFields,r)},error:{enumerable:!0,get:()=>p(h.errors,r)}}),[h,r]),E=n.useCallback(e=>v.current.onChange({target:{value:s(e),name:r},type:"change"}),[r]),_=n.useCallback(()=>v.current.onBlur({target:{value:p(a._formValues,r),name:r},type:g}),[r,a._formValues]),S=n.useCallback(e=>{let t=p(a._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus&&e.focus(),select:()=>e.select&&e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[a._fields,r]),w=n.useMemo(()=>({name:r,value:f,..."boolean"==typeof i||h.disabled?{disabled:h.disabled||i}:{},onChange:E,onBlur:_,ref:S}),[r,i,h.disabled,E,_,S,f]);return n.useEffect(()=>{let e=a._options.shouldUnregister||o;a.register(r,{...y.current.rules,..."boolean"==typeof y.current.disabled?{disabled:y.current.disabled}:{}});let t=(e,t)=>{let r=p(a._fields,e);r&&r._f&&(r._f.mount=t)};if(t(r,!0),e){let e=c(p(a._options.defaultValues,r));m(a._defaultValues,r,e),d(p(a._formValues,r))&&m(a._formValues,r,e)}return u||a.register(r),()=>{(u?e&&!a._state.action:e)?a.unregister(r):t(r,!1)}},[r,a,u,o]),n.useEffect(()=>{a._setDisabledField({disabled:i,name:r})},[i,r,a]),n.useMemo(()=>({field:w,formState:h,fieldState:b}),[w,h,b])}(e));var C=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},R=e=>Array.isArray(e)?e:[e],D=()=>{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},N=e=>a(e)||"object"!=typeof e;function j(e,t){if(N(e)||N(t))return e===t;if(i(e)&&i(t))return e.getTime()===t.getTime();let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let a of r){let r=e[a];if(!n.includes(a))return!1;if("ref"!==a){let e=t[a];if(i(r)&&i(e)||o(r)&&o(e)||Array.isArray(r)&&Array.isArray(e)?!j(r,e):r!==e)return!1}}return!0}var M=e=>o(e)&&!Object.keys(e).length,L=e=>"function"==typeof e,$=e=>{if(!u)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},U=e=>$(e)&&e.isConnected;function F(e,t){let r=Array.isArray(t)?t:/^\w*$/.test(t)?[t]:h(t),n=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,n=0;for(;n<r;)e=d(e)?n++:e[t[n++]];return e}(e,r),i=r.length-1,a=r[i];return n&&delete n[a],0!==i&&(o(n)&&M(n)||Array.isArray(n)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!d(e[t]))return!1;return!0}(n))&&F(e,r.slice(0,-1)),e}var B=e=>{for(let t in e)if(L(e[t]))return!0;return!1};function z(e,t={}){let r=Array.isArray(e);if(o(e)||r)for(let r in e)Array.isArray(e[r])||o(e[r])&&!B(e[r])?(t[r]=Array.isArray(e[r])?[]:{},z(e[r],t[r])):a(e[r])||(t[r]=!0);return t}var H=(e,t)=>(function e(t,r,n){let i=Array.isArray(t);if(o(t)||i)for(let i in t)Array.isArray(t[i])||o(t[i])&&!B(t[i])?d(r)||N(n[i])?n[i]=Array.isArray(t[i])?z(t[i],[]):{...z(t[i])}:e(t[i],a(r)?{}:r[i],n[i]):n[i]=!j(t[i],r[i]);return n})(e,t,z(t));let q={value:!1,isValid:!1},G={value:!0,isValid:!0};var W=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!d(e[0].attributes.value)?d(e[0].value)||""===e[0].value?G:{value:e[0].value,isValid:!0}:G:q}return q},V=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>d(e)?e:t?""===e?NaN:e?+e:e:r&&"string"==typeof e?new Date(e):n?n(e):e;let Y={isValid:!1,value:null};var Z=e=>Array.isArray(e)?e.reduce((e,t)=>
1t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Y):Y;function K(e){let t=e.ref;return"file"===t.type?t.files:"radio"===t.type?Z(e.refs).value:"select-multiple"===t.type?[...t.selectedOptions].map(({value:e})=>e):"checkbox"===t.type?W(e.refs).value:V(d(t.value)?e.ref.value:t.value,e)}var X=e=>d(e)?e:e instanceof RegExp?e.source:o(e)?e.value instanceof RegExp?e.value.source:e.value:e,Q=e=>({isOnSubmit:!e||e===v,isOnBlur:"onBlur"===e,isOnChange:e===y,isOnAll:"all"===e,isOnTouch:"onTouched"===e});let J="AsyncFunction";var ee=e=>!!e&&!!e.validate&&!!(L(e.validate)&&e.validate.constructor.name===J||o(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===J)),et=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let er=(e,t,r,n)=>{for(let i of r||Object.keys(e)){let r=p(e,i);if(r){let{_f:e,...a}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!n)return!0;else if(e.ref&&t(e.ref,e.name)&&!n)return!0;else if(er(a,t))break}else if(o(a)&&er(a,t))break}}};function en(e,t,r){let n=p(e,r);if(n||/^\w*$/.test(r))return{error:n,name:r};let i=r.split(".");for(;i.length;){let n=i.join("."),a=p(t,n),o=p(e,n);if(a&&!Array.isArray(a)&&r!==n)break;if(o&&o.type)return{name:n,error:o};if(o&&o.root&&o.root.type)return{name:`${n}.root`,error:o.root};i.pop()}return{name:r}}var ei=(e,t,r)=>{let n=R(p(e,r));return m(n,"root",t[r]),m(e,r,n),e},ea=e=>"string"==typeof e;function eo(e,t,r="validate"){if(ea(e)||Array.isArray(e)&&e.every(ea)||"boolean"==typeof e&&!e)return{type:r,message:ea(e)?e:"",ref:t}}var es=e=>!o(e)||e instanceof RegExp?{value:e,message:""}:e,el=async(e,t,r,n,i,s)=>{let{ref:l,refs:u,required:c,maxLength:f,minLength:h,min:m,max:g,pattern:y,validate:v,name:w,valueAsNumber:T,mount:O}=e._f,x=p(r,w);if(!O||t.has(w))return{};let P=u?u[0]:l,A=e=>{i&&P.reportValidity&&(P.setCustomValidity("boolean"==typeof e?"":e||""),P.reportValidity())},k={},I="radio"===l.type,R="checkbox"===l.type,D=(T||"file"===l.type)&&d(l.value)&&d(x)||$(l)&&""===l.value||""===x||Array.isArray(x)&&!x.length,N=C.bind(null,w,n,k),j=(e,t,r,n=b,i=E)=>{let a=e?t:r;k[w]={type:e?n:i,message:a,ref:l,...N(e?n:i,a)}};if(s?!Array.isArray(x)||!x.length:c&&(!(I||R)&&(D||a(x))||"boolean"==typeof x&&!x||R&&!W(u).isValid||I&&!Z(u).isValid)){let{value:e,message:t}=ea(c)?{value:!!c,message:c}:es(c);if(e&&(k[w]={type:S,message:t,ref:P,...N(S,t)},!n))return A(t),k}if(!D&&(!a(m)||!a(g))){let e,t,r=es(g),i=es(m);if(a(x)||isNaN(x)){let n=l.valueAsDate||new Date(x),a=e=>new Date(new Date().toDateString()+" "+e),o="time"==l.type,s="week"==l.type;"string"==typeof r.value&&x&&(e=o?a(x)>a(r.value):s?x>r.value:n>new Date(r.value)),"string"==typeof i.value&&x&&(t=o?a(x)<a(i.value):s?x<i.value:n<new Date(i.value))}else{let n=l.valueAsNumber||(x?+x:x);a(r.value)||(e=n>r.value),a(i.value)||(t=n<i.value)}if((e||t)&&(j(!!e,r.message,i.message,"max","min"),!n))return A(k[w].message),k}if((f||h)&&!D&&("string"==typeof x||s&&Array.isArray(x))){let e=es(f),t=es(h),r=!a(e.value)&&x.length>+e.value,i=!a(t.value)&&x.length<+t.value;if((r||i)&&(j(r,e.message,t.message),!n))return A(k[w].message),k}if(y&&!D&&"string"==typeof x){let{value:e,message:t}=es(y);if(e instanceof RegExp&&!x.match(e)&&(k[w]={type:_,message:t,ref:l,...N(_,t)},!n))return A(t),k}if(v){if(L(v)){let e=eo(await v(x,r),P);if(e&&(k[w]={...e,...N("validate",e.message)},!n))return A(e.message),k}else if(o(v)){let e={};for(let t in v){if(!M(e)&&!n)break;let i=eo(await v[t](x,r),P,t);i&&(e={...i,...N(t,i.message)},A(i.message),n&&(k[w]=e))}if(!M(e)&&(k[w]={ref:P,...e},!n))return k}}return A(!0),k};let eu={mode:v,reValidateMode:y,shouldFocusError:!0};function ec(e={}){let t=n.useRef(void 0),r=n.useRef(void 0),[h,y]=n.useState({isDirty:!1,isValidating:!1,isLoading:L(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:L(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:h},e.defaultValues&&!L(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:r,...n}=function(e={}){let t,r={...eu,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:L(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1},h={},y=(o(r.defaultValues)||o(r.values))&&c(r.defaultValues||r.values)||{},v=r.shouldUnregister?{}:c(y),b={action:!1,mount:!1,watch:!1},E={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},_=0,S={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},w={...S},T={array:D(),state:D()}
1,O="all"===r.criteriaMode,x=async e=>{if(!r.disabled&&(S.isValid||w.isValid||e)){let e=r.resolver?M((await C()).errors):await B(h,!0);e!==n.isValid&&T.state.next({isValid:e})}},P=(e,t)=>{!r.disabled&&(S.isValidating||S.validatingFields||w.isValidating||w.validatingFields)&&((e||Array.from(E.mount)).forEach(e=>{e&&(t?m(n.validatingFields,e,t):F(n.validatingFields,e))}),T.state.next({validatingFields:n.validatingFields,isValidating:!M(n.validatingFields)}))},k=(e,t,r,n)=>{let i=p(h,e);if(i){let a=p(v,e,d(r)?p(y,e):r);d(a)||n&&n.defaultChecked||t?m(v,e,t?a:K(i._f)):G(e,a),b.mount&&x()}},I=(e,t,i,a,o)=>{let s=!1,l=!1,u={name:e};if(!r.disabled){if(!i||a){(S.isDirty||w.isDirty)&&(l=n.isDirty,n.isDirty=u.isDirty=z(),s=l!==u.isDirty);let r=j(p(y,e),t);l=!!p(n.dirtyFields,e),r?F(n.dirtyFields,e):m(n.dirtyFields,e,!0),u.dirtyFields=n.dirtyFields,s=s||(S.dirtyFields||w.dirtyFields)&&!r!==l}if(i){let t=p(n.touchedFields,e);t||(m(n.touchedFields,e,i),u.touchedFields=n.touchedFields,s=s||(S.touchedFields||w.touchedFields)&&t!==i)}s&&o&&T.state.next(u)}return s?u:{}},C=async e=>{P(e,!0);let t=await r.resolver(v,r.context,((e,t,r,n)=>{let i={};for(let r of e){let e=p(t,r);e&&m(i,r,e._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}})(e||E.mount,h,r.criteriaMode,r.shouldUseNativeValidation));return P(e),t},N=async e=>{let{errors:t}=await C(e);if(e)for(let r of e){let e=p(t,r);e?m(n.errors,r,e):F(n.errors,r)}else n.errors=t;return t},B=async(e,t,i={valid:!0})=>{for(let a in e){let o=e[a];if(o){let{_f:e,...s}=o;if(e){let s=E.array.has(e.name),l=o._f&&ee(o._f);l&&S.validatingFields&&P([a],!0);let u=await el(o,E.disabled,v,O,r.shouldUseNativeValidation&&!t,s);if(l&&S.validatingFields&&P([a]),u[e.name]&&(i.valid=!1,t))break;t||(p(u,e.name)?s?ei(n.errors,u,e.name):m(n.errors,e.name,u[e.name]):F(n.errors,e.name))}M(s)||await B(s,t,i)}}return i.valid},z=(e,t)=>!r.disabled&&(e&&t&&m(v,e,t),!j(eo(),y)),q=(e,t,r)=>A(e,E,{...b.mount?v:d(t)?y:"string"==typeof e?{[e]:t}:t},r,t),G=(e,t,r={})=>{let n=p(h,e),i=t;if(n){let r=n._f;r&&(r.disabled||m(v,e,V(t,r)),i=$(r.ref)&&a(t)?"":t,"select-multiple"===r.ref.type?[...r.ref.options].forEach(e=>e.selected=i.includes(e.value)):r.refs?"checkbox"===r.ref.type?r.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(i)?e.checked=!!i.find(t=>t===e.value):e.checked=i===e.value||!!i)}):r.refs.forEach(e=>e.checked=e.value===i):"file"===r.ref.type?r.ref.value="":(r.ref.value=i,r.ref.type||T.state.next({name:e,values:c(v)})))}(r.shouldDirty||r.shouldTouch)&&I(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&ea(e)},W=(e,t,r)=>{for(let n in t){if(!t.hasOwnProperty(n))return;let a=t[n],s=e+"."+n,l=p(h,s);(E.array.has(e)||o(a)||l&&!l._f)&&!i(a)?W(s,a,r):G(s,a,r)}},Y=(e,t,r={})=>{let i=p(h,e),o=E.array.has(e),s=c(t);m(v,e,s),o?(T.array.next({name:e,values:c(v)}),(S.isDirty||S.dirtyFields||w.isDirty||w.dirtyFields)&&r.shouldDirty&&T.state.next({name:e,dirtyFields:H(y,v),isDirty:z(e,s)})):!i||i._f||a(s)?G(e,s,r):W(e,s,r),et(e,E)&&T.state.next({...n}),T.state.next({name:b.mount?e:void 0,values:c(v)})},Z=async e=>{b.mount=!0;let a=e.target,o=a.name,l=!0,u=p(h,o),d=e=>{l=Number.isNaN(e)||i(e)&&isNaN(e.getTime())||j(e,p(v,o,e))},f=Q(r.mode),y=Q(r.reValidateMode);if(u){var A,k,R,D,N;let i,b,z,H=a.type?K(u._f):s(e),q=e.type===g||"focusout"===e.type,G=!((z=u._f).mount&&(z.required||z.min||z.max||z.maxLength||z.minLength||z.pattern||z.validate))&&!r.resolver&&!p(n.errors,o)&&!u._f.deps||(A=q,k=p(n.touchedFields,o),R=n.isSubmitted,D=y,!(N=f).isOnAll&&(!R&&N.isOnTouch?!(k||A):(R?D.isOnBlur:N.isOnBlur)?!A:(R?!D.isOnChange:!N.isOnChange)||A)),W=et(o,E,q);m(v,o,H),q?(u._f.onBlur&&u._f.onBlur(e),t&&t(0)):u._f.onChange&&u._f.onChange(e);let V=I(o,H,q),Y=!M(V)||W;if(q||T.state.next({name:o,type:e.type,values:c(v)}),G)return(S.isValid||w.isValid)&&("onBlur"===r.mode?q&&x():q||x()),Y&&T.state.next({name:o,...W?{}:V});if(!q&&W&&T.state.next({...n}),r.resolver){let{errors:e}=await C([o]);if(d(H),l){let t=en(n.errors,h,o),r=en(e,h,t.name||o);i=r.error,o=r.name,b=M(e)}}else P([o],!0),i=(await el(u,E.disabled,v,O,r.shouldUseNativeValidation))[o],P([o]),d(H),l&&(i?b=!1:(S.isValid||w.isValid)&&(b=await B(h,!0)));if(l){u._f.deps&&ea(u._f.deps);var L=o,$=b,U=i;let e=p(n.errors,L),a=(S.isValid||w.isValid)&&"boolean"==typeof $&&n.isValid!==$;if(r.delayError&&U){let e;e=()=>{m(n.errors,L,U),T.state.next({errors:n.errors})},(t=t=>{clearTimeout(_),_=setTimeout(e,t)})(r.delayError)}else clearTimeout(_),t=null,U?m(n.errors,L,U):F(n.errors,L);if((U?!j(e,U):e)||!M(V)||a){let e={...V,...a&&"boolean"==typeof $?{isValid:$}:{},errors:n.errors,name:L};n={...n,...e},T.state.next(e)}}}},J=(e,t)=>
1{if(p(n.errors,t)&&e.focus)return e.focus(),1},ea=async(e,t={})=>{let i,a,o=R(e);if(r.resolver){let t=await N(d(e)?e:o);i=M(t),a=e?!o.some(e=>p(t,e)):i}else e?((a=(await Promise.all(o.map(async e=>{let t=p(h,e);return await B(t&&t._f?{[e]:t}:t)}))).every(Boolean))||n.isValid)&&x():a=i=await B(h);return T.state.next({..."string"!=typeof e||(S.isValid||w.isValid)&&i!==n.isValid?{}:{name:e},...r.resolver||!e?{isValid:i}:{},errors:n.errors}),t.shouldFocus&&!a&&er(h,J,e?o:E.mount),a},eo=e=>{let t={...b.mount?v:y};return d(e)?t:"string"==typeof e?p(t,e):e.map(e=>p(t,e))},es=(e,t)=>({invalid:!!p((t||n).errors,e),isDirty:!!p((t||n).dirtyFields,e),error:p((t||n).errors,e),isValidating:!!p(n.validatingFields,e),isTouched:!!p((t||n).touchedFields,e)}),ec=(e,t,r)=>{let i=(p(h,e,{_f:{}})._f||{}).ref,{ref:a,message:o,type:s,...l}=p(n.errors,e)||{};m(n.errors,e,{...l,...t,ref:i}),T.state.next({name:e,errors:n.errors,isValid:!1}),r&&r.shouldFocus&&i&&i.focus&&i.focus()},ed=e=>T.state.subscribe({next:t=>{let r,i,a;r=e.name,i=t.name,a=e.exact,(!r||!i||r===i||R(r).some(e=>e&&(a?e===i:e.startsWith(i)||i.startsWith(e))))&&((e,t,r,n)=>{r(e);let{name:i,...a}=e;return M(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!n||"all"))})(t,e.formState||S,eb,e.reRenderRoot)&&e.callback({values:{...v},...n,...t})}}).unsubscribe,ef=(e,t={})=>{for(let i of e?R(e):E.mount)E.mount.delete(i),E.array.delete(i),t.keepValue||(F(h,i),F(v,i)),t.keepError||F(n.errors,i),t.keepDirty||F(n.dirtyFields,i),t.keepTouched||F(n.touchedFields,i),t.keepIsValidating||F(n.validatingFields,i),r.shouldUnregister||t.keepDefaultValue||F(y,i);T.state.next({values:c(v)}),T.state.next({...n,...!t.keepDirty?{}:{isDirty:z()}}),t.keepIsValid||x()},eh=({disabled:e,name:t})=>{("boolean"==typeof e&&b.mount||e||E.disabled.has(t))&&(e?E.disabled.add(t):E.disabled.delete(t))},ep=(e,t={})=>{let n=p(h,e),i="boolean"==typeof t.disabled||"boolean"==typeof r.disabled;return(m(h,e,{...n||{},_f:{...n&&n._f?n._f:{ref:{name:e}},name:e,mount:!0,...t}}),E.mount.add(e),n)?eh({disabled:"boolean"==typeof t.disabled?t.disabled:r.disabled,name:e}):k(e,!0,t.value),{...i?{disabled:t.disabled||r.disabled}:{},...r.progressive?{required:!!t.required,min:X(t.min),max:X(t.max),minLength:X(t.minLength),maxLength:X(t.maxLength),pattern:X(t.pattern)}:{},name:e,onChange:Z,onBlur:Z,ref:i=>{if(i){let r;ep(e,t),n=p(h,e);let a=d(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,o="radio"===(r=a).type||"checkbox"===r.type,s=n._f.refs||[];(o?s.find(e=>e===a):a===n._f.ref)||(m(h,e,{_f:{...n._f,...o?{refs:[...s.filter(U),a,...Array.isArray(p(y,e))?[{}]:[]],ref:{type:a.type,name:e}}:{ref:a}}}),k(e,!1,void 0,a))}else(n=p(h,e,{}))._f&&(n._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(l(E.array,e)&&b.action)&&E.unMount.add(e)}}},em=()=>r.shouldFocusError&&er(h,J,E.mount),eg=(e,t)=>async i=>{let a;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let o=c(v);if(T.state.next({isSubmitting:!0}),r.resolver){let{errors:e,values:t}=await C();n.errors=e,o=t}else await B(h);if(E.disabled.size)for(let e of E.disabled)m(o,e,void 0);if(F(n.errors,"root"),M(n.errors)){T.state.next({errors:{}});try{await e(o,i)}catch(e){a=e}}else t&&await t({...n.errors},i),em(),setTimeout(em);if(T.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:M(n.errors)&&!a,submitCount:n.submitCount+1,errors:n.errors}),a)throw a},ey=(e,t={})=>{let i=e?c(e):y,a=c(i),o=M(e),s=o?y:a;if(t.keepDefaultValues||(y=i),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...E.mount,...Object.keys(H(y,v))])))p(n.dirtyFields,e)?m(s,e,p(v,e)):Y(e,p(s,e));else{if(u&&d(e))for(let e of E.mount){let t=p(h,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if($(e)){let t=e.closest("form");if(t){t.reset();break}}}}for(let e of E.mount)Y(e,p(s,e))}v=c(s),T.array.next({values:{...s}}),T.state.next({values:{...s}})}E={mount:t.keepDirtyValues?E.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},b.mount=!S.isValid||!!t.keepIsValid||!!t.keepDirtyValues,b.watch=!!r.shouldUnregister,T.state.next({submitCount:t.keepSubmitCount?n.submitCount:0,isDirty:!o&&(t.keepDirty?n.isDirty:!!(t.keepDefaultValues&&!j(e,y))),isSubmitted:!!t.keepIsSubmitted&&n.isSubmitted,dirtyFields:o?{}:t.keepDirtyValues?t.keepDefaultValues&&v?H(y,v):n.dirtyFields:t.keepDefaultValues&&e?H(y,e):t.keepDirty?n.dirtyFields:{},touchedFields:t.keepTouched?n.touchedFields:{},errors:t.keepErrors?n.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&n.isSubmitSuccessful,isSubmitting:!1})},ev=(e,t)=>
1ey(L(e)?e(v):e,t),eb=e=>{n={...n,...e}},eE={control:{register:ep,unregister:ef,getFieldState:es,handleSubmit:eg,setError:ec,_subscribe:ed,_runSchema:C,_focusError:em,_getWatch:q,_getDirty:z,_setValid:x,_setFieldArray:(e,t=[],i,a,o=!0,s=!0)=>{if(a&&i&&!r.disabled){if(b.action=!0,s&&Array.isArray(p(h,e))){let t=i(p(h,e),a.argA,a.argB);o&&m(h,e,t)}if(s&&Array.isArray(p(n.errors,e))){let t,r=i(p(n.errors,e),a.argA,a.argB);o&&m(n.errors,e,r),f(p(t=n.errors,e)).length||F(t,e)}if((S.touchedFields||w.touchedFields)&&s&&Array.isArray(p(n.touchedFields,e))){let t=i(p(n.touchedFields,e),a.argA,a.argB);o&&m(n.touchedFields,e,t)}(S.dirtyFields||w.dirtyFields)&&(n.dirtyFields=H(y,v)),T.state.next({name:e,isDirty:z(e,t),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else m(v,e,t)},_setDisabledField:eh,_setErrors:e=>{n.errors=e,T.state.next({errors:n.errors,isValid:!1})},_getFieldArray:e=>f(p(b.mount?v:y,e,r.shouldUnregister?p(y,e,[]):[])),_reset:ey,_resetDefaultValues:()=>L(r.defaultValues)&&r.defaultValues().then(e=>{ev(e,r.resetOptions),T.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of E.unMount){let t=p(h,e);t&&(t._f.refs?t._f.refs.every(e=>!U(e)):!U(t._f.ref))&&ef(e)}E.unMount=new Set},_disableForm:e=>{"boolean"==typeof e&&(T.state.next({disabled:e}),er(h,(t,r)=>{let n=p(h,r);n&&(t.disabled=n._f.disabled||e,Array.isArray(n._f.refs)&&n._f.refs.forEach(t=>{t.disabled=n._f.disabled||e}))},0,!1))},_subjects:T,_proxyFormState:S,get _fields(){return h},get _formValues(){return v},get _state(){return b},set _state(value){b=value},get _defaultValues(){return y},get _names(){return E},set _names(value){E=value},get _formState(){return n},get _options(){return r},set _options(value){r={...r,...value}}},subscribe:e=>(b.mount=!0,w={...w,...e.formState},ed({...e,formState:w})),trigger:ea,register:ep,handleSubmit:eg,watch:(e,t)=>L(e)?T.state.subscribe({next:r=>e(q(void 0,t),r)}):q(e,t,!0),setValue:Y,getValues:eo,reset:ev,resetField:(e,t={})=>{p(h,e)&&(d(t.defaultValue)?Y(e,c(p(y,e))):(Y(e,t.defaultValue),m(y,e,c(t.defaultValue))),t.keepTouched||F(n.touchedFields,e),t.keepDirty||(F(n.dirtyFields,e),n.isDirty=t.defaultValue?z(e,c(p(y,e))):z()),!t.keepError&&(F(n.errors,e),S.isValid&&x()),T.state.next({...n}))},clearErrors:e=>{e&&R(e).forEach(e=>F(n.errors,e)),T.state.next({errors:e?n.errors:{}})},unregister:ef,setError:ec,setFocus:(e,t={})=>{let r=p(h,e),n=r&&r._f;if(n){let e=n.refs?n.refs[0]:n.ref;e.focus&&(e.focus(),t.shouldSelect&&L(e.select)&&e.select())}},getFieldState:es};return{...eE,formControl:eE}}(e);t.current={...n,formState:h}}let v=t.current.control;return v._options=e,P(()=>{let e=v._subscribe({formState:v._proxyFormState,callback:()=>y({...v._formState}),reRenderRoot:!0});return y(e=>({...e,isReady:!0})),v._formState.isReady=!0,e},[v]),n.useEffect(()=>v._disableForm(e.disabled),[v,e.disabled]),n.useEffect(()=>{e.mode&&(v._options.mode=e.mode),e.reValidateMode&&(v._options.reValidateMode=e.reValidateMode)},[v,e.mode,e.reValidateMode]),n.useEffect(()=>{e.errors&&(v._setErrors(e.errors),v._focusError())},[v,e.errors]),n.useEffect(()=>{e.shouldUnregister&&v._subjects.state.next({values:v._getWatch()})},[v,e.shouldUnregister]),n.useEffect(()=>{if(v._proxyFormState.isDirty){let e=v._getDirty();e!==h.isDirty&&v._subjects.state.next({isDirty:e})}},[v,h.isDirty]),n.useEffect(()=>{e.values&&!j(e.values,r.current)?(v._reset(e.values,v._options.resetOptions),r.current=e.values,y(e=>({...e}))):v._resetDefaultValues()},[v,e.values]),n.useEffect(()=>{v._state.mount||(v._setValid(),v._state.mount=!0),v._state.watch&&(v._state.watch=!1,v._subjects.state.next({...v._formState})),v._removeUnmounted()}),t.current.formState=x(h,v),t.current}},29306:(e,t,r)=>{"use strict";function n(e){return(t,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=r?.width?String(r.width):t;n=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=r?.width?String(r.width):e.defaultWidth;n=e.values[i]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}r.d(t,{o:()=>n})},29383: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);
1(!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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}},t={regex:"entrada",email:"direcci\xf3n de correo electr\xf3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xf3n ISO",ipv4:"direcci\xf3n IPv4",ipv6:"direcci\xf3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xfamero E.164",jwt:"JWT",template_literal:"entrada"},r=>{switch(r.code){case"invalid_type":return`Entrada inv\xe1lida: se esperaba ${r.expected}, recibido ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"n\xfamero";case"object":if(Array.isArray(e))return"arreglo";if(null===e)return"nulo";if(Object.getPrototypeOf(e)!==Object.prototype)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Entrada inv\xe1lida: se esperaba ${o.stringifyPrimitive(r.values[0])}`;return`Opci\xf3n inv\xe1lida: se esperaba una de ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Demasiado grande: se esperaba que ${r.origin??"valor"} tuviera ${t}${r.maximum.toString()} ${n.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${r.origin??"valor"} fuera ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Demasiado peque\xf1o: se esperaba que ${r.origin} tuviera ${t}${r.minimum.toString()} ${n.unit}`;return`Demasiado peque\xf1o: se esperaba que ${r.origin} fuera ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Cadena inv\xe1lida: debe comenzar con "${r.prefix}"`;if("ends_with"===r.format)return`Cadena inv\xe1lida: debe terminar en "${r.suffix}"`;if("includes"===r.format)return`Cadena inv\xe1lida: debe incluir "${r.includes}"`;if("regex"===r.format)return`Cadena inv\xe1lida: debe coincidir con el patr\xf3n ${r.pattern}`;return`Inv\xe1lido ${t[r.format]??r.format}`;case"not_multiple_of":return`N\xfamero inv\xe1lido: debe ser m\xfaltiplo de ${r.divisor}`;case"unrecognized_keys":return`Llave${r.keys.length>1?"s":""} desconocida${r.keys.length>1?"s":""}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Llave inv\xe1lida en ${r.origin}`;case"invalid_union":default:return"Entrada inv\xe1lida";case"invalid_element":return`Valor inv\xe1lido en ${r.origin}`}})}};let o=a(r(3947))},29733:(e,t,r)=>{"use strict";r.d(t,{u:()=>d});var n=r(29159);let i=(e,t,r)=>{if(e&&"reportValidity"in e){let i=(0,n.Jt)(r,t);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},a=(e,t)=>{for(let r in t.fields){let n=t.fields[r];n&&n.ref&&"reportValidity"in n.ref?i(n.ref,r,e):n&&n.refs&&n.refs.forEach(t=>i(t,r,e))}},o=(e,t)=>{t.shouldUseNativeValidation&&a(e,t);let r={};for(let i in e){let a=(0,n.Jt)(t.fields,i),o=Object.assign(e[i]||{},{ref:a&&a.ref});if(s(t.names||Object.keys(e),i)){let e=Object.assign({},(0,n.Jt)(r,i));(0,n.hZ)(e,"root",o),(0,n.hZ)(r,i,e)}else(0,n.hZ)(r,i,o)}return r},s=(e,t)=>{let r=l(t);return e.some(e=>l(e).match(`^${r}\\.\\d+`))};function l(e){return e.replace(/\]|\[/g,"")}var u=r(54643);function c(e,t){try{var r=e()}catch(e){return t(e)}return r&&r.then?r.then(void 0,t):r}function d(e,t,r){if(void 0===r&&(r={}),"_def"in e&&"object"==typeof e._def&&"typeName"in e._def)return function(i,s,l){try{return Promise.resolve(c(function(){return Promise.resolve(e["sync"===r.mode?"parse":"parseAsync"](i,t)).then(function(e){return l.shouldUseNativeValidation&&a({},l),{errors:{},values:r.raw?Object.assign({},i):e}})},function(e){if(Array.isArray(null==e?void 0:e.issues))return{values:{},errors:o(function(e,t){for(var r={};e.length;){var i=e[0],a=i.code,o=i.message,s=i.path.join(".");
1if(!r[s])if("unionErrors"in i){var l=i.unionErrors[0].errors[0];r[s]={message:l.message,type:l.code}}else r[s]={message:o,type:a};if("unionErrors"in i&&i.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var u=r[s].types,c=u&&u[i.code];r[s]=(0,n.Gb)(s,t,r,a,c?[].concat(c,i.message):i.message)}e.shift()}return r}(e.errors,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw e}))}catch(e){return Promise.reject(e)}};if("_zod"in e&&"object"==typeof e._zod)return function(i,s,l){try{return Promise.resolve(c(function(){return Promise.resolve(("sync"===r.mode?u.parse:u.parseAsync)(e,i,t)).then(function(e){return l.shouldUseNativeValidation&&a({},l),{errors:{},values:r.raw?Object.assign({},i):e}})},function(e){if(e instanceof u.$ZodError)return{values:{},errors:o(function(e,t){for(var r={};e.length;){var i=e[0],a=i.code,o=i.message,s=i.path.join(".");if(!r[s])if("invalid_union"===i.code){var l=i.errors[0][0];r[s]={message:l.message,type:l.code}}else r[s]={message:o,type:a};if("invalid_union"===i.code&&i.errors.forEach(function(t){return t.forEach(function(t){return e.push(t)})}),t){var u=r[s].types,c=u&&u[i.code];r[s]=(0,n.Gb)(s,t,r,a,c?[].concat(c,i.message):i.message)}e.shift()}return r}(e.issues,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw e}))}catch(e){return Promise.reject(e)}};throw Error("Invalid input: not a Zod schema")}},30001:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=function e(t,r,n){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,r);if(void 0===i){var a=Object.getPrototypeOf(t);if(null===a)return;return e(a,r,n)}if("value"in i)return i.value;var o=i.get;if(void 0!==o)return o.call(n)},o=r(71388),s=(n=r(83773))&&n.__esModule?n:{default:n},l=function(e){return(10-e.substr(0,12).split("").map(function(e){return+e}).reduce(function(e,t,r){return r%2?e+3*t:e+t},0)%10)%10};t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");-1!==e.search(/^[0-9]{12}$/)&&(e+=l(e));var n=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return n.lastChar=r.lastChar,n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]{13}$/)&&+this.data[12]===l(this.data)}},{key:"leftText",value:function(){return a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var e=this.data.substr(1,6),r=o.EAN13_STRUCTURE[this.data[0]];return a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftEncode",this).call(this,e,r)}},{key:"rightText",value:function(){return a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var e=this.data.substr(7,6);return a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightEncode",this).call(this,e,"RRRRRR")}},{key:"encodeGuarded",value:function(){var e=a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(e.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(e.push({data:"00"}),e.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),e}}]),t}(s.default)},30285:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var n=r(74180);function i(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},30658:(e,t,r)=>{"use strict";function n(e){return e&&"object"==typeof e?"position"in e||"type"in e?a(e.position):"start"in e||"end"in e?a(e):"line"in e||"column"in e?i(e):"":""}function i(e){return o(e&&e.line)+":"+o(e&&e.column)}function a(e){return i(e&&e.start)+"-"+i(e&&e.end)}function o(e){return e&&"number"==typeof e?e:1}r.d(t,{L:()=>n})},30960:()=>{},30974:(e,t)=>
1{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.globalRegistry=t.$ZodRegistry=t.$input=t.$output=void 0,t.registry=n,t.$output=Symbol("ZodOutput"),t.$input=Symbol("ZodInput");class r{constructor(){this._map=new Map,this._idmap=new Map}add(e,...t){let r=t[0];if(this._map.set(e,r),r&&"object"==typeof r&&"id"in r){if(this._idmap.has(r.id))throw Error(`ID ${r.id} already exists in the registry`);this._idmap.set(r.id,e)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let r={...this.get(t)??{}};return delete r.id,{...r,...this._map.get(e)}}return this._map.get(e)}has(e){return this._map.has(e)}}function n(){return new r}t.$ZodRegistry=r,t.globalRegistry=n()},31325:(e,t,r)=>{"use strict";r.d(t,{J:()=>f});var n=r(74180),i=r(56741),a=r(74495),o=r(34335),s=r(28935),l=r(32438);function u(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 c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,o,s=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(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 f(){var e,t,r,d,f,h,p,m,g,y,v,b,E,_,S,w,T,O,x,P=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=P.catchError,k=(0,i.I)(),I=(e=(0,i.I)(),r=(t=(0,l.R)()).getIndexId(),f=(d=c((0,n.useState)(function(){return e.getUiState()}),2))[0],h=d[1],p=f[r],g=(m=c((0,n.useState)(function(){return e.renderState}),2))[0],y=m[1],v=g[r]||{},b=(0,n.useCallback)(function(t){e.setUiState(t)},[e]),E=(0,n.useCallback)(function(e){t.setIndexUiState(e)},[t]),(0,n.useEffect)(function(){function t(){h(e.getUiState()),y(e.renderState)}return e.addListener("render",t),function(){e.removeListener("render",t)}},[e]),{uiState:f,setUiState:b,indexUiState:p,setIndexUiState:E,renderState:g,indexRenderState:v}),C=I.uiState,R=I.setUiState,D=I.indexUiState,N=I.setIndexUiState,j=I.renderState,M=I.indexRenderState,L=(_=(0,i.I)(),S=(0,l.R)(),O=(T=function(e){if(Array.isArray(e))return e}(w=(0,n.useState)(function(){var e=(0,s.J)(S);return{results:e.results,scopedResults:e.scopedResults}}))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,i,a,o=[],s=!0,l=!1;try{i=(t=t.call(e)).next,!1;for(;!(s=(r=i.call(t)).done)&&(o.push(r.value),2!==o.length);s=!0);}catch(e){l=!0,n=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(l)throw n}}return o}}(w)||function(e){if(e){if("string"==typeof e)return u(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(e,2)}}(w)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],x=T[1],(0,n.useEffect)(function(){function e(){var e=S.getResults();if(null!==e)x({results:e,scopedResults:S.getScopedResults()});else if(0===_.mainIndex.getIndexName().length){var t=_.mainIndex.getWidgets().find(o.l);t&&x({results:(0,s.J)(S).results,scopedResults:t.getScopedResults()})}}return _.addListener("render",e),function(){_.removeListener("render",e)}},[_,S]),O),$=L.results,U=L.scopedResults,F=(0,n.useCallback)(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return k.use.apply(k,t),function(){k.unuse.apply(k,t)}},[k]),B=(0,n.useCallback)(function(){k.refresh()},[k]);return(0,a.E)(function(){if(A){var e=function(){};return k.addListener("error",e),function(){return k.removeListener("error",e)}}return function(){}},[k,A]),{results:$,scopedResults:U,uiState:C,setUiState:R,indexUiState:D,setIndexUiState:N,renderState:j,indexRenderState:M,addMiddlewares:F,refresh:B,status:k.status,error:k.error}}},32040:(e,t,r)=>{"use strict";r.d(t,{I:()=>u});
1var n=r(48872),i=r(95072),a=r(34198);let o=/[A-Z]/g,s=/-[a-z]/g,l=/^data[-\w.:]+$/i;function u(e,t){let r=(0,a.S)(t),u=t,f=i.R;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&"data"===r.slice(0,4)&&l.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(s,d);u="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!s.test(e)){let r=e.replace(o,c);"-"!==r.charAt(0)&&(r="-"+r),t="data"+r}}f=n.E}return new f(u,t)}function c(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},32345: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"tekens"},file:{unit:"bytes"},array:{unit:"elementen"},set:{unit:"elementen"}},t={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},r=>{switch(r.code){case"invalid_type":return`Ongeldige invoer: verwacht ${r.expected}, ontving ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"getal";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Ongeldige invoer: verwacht ${o.stringifyPrimitive(r.values[0])}`;return`Ongeldige optie: verwacht \xe9\xe9n van ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Te lang: verwacht dat ${r.origin??"waarde"} ${t}${r.maximum.toString()} ${n.unit??"elementen"} bevat`;return`Te lang: verwacht dat ${r.origin??"waarde"} ${t}${r.maximum.toString()} is`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Te kort: verwacht dat ${r.origin} ${t}${r.minimum.toString()} ${n.unit} bevat`;return`Te kort: verwacht dat ${r.origin} ${t}${r.minimum.toString()} is`}case"invalid_format":if("starts_with"===r.format)return`Ongeldige tekst: moet met "${r.prefix}" beginnen`;if("ends_with"===r.format)return`Ongeldige tekst: moet op "${r.suffix}" eindigen`;if("includes"===r.format)return`Ongeldige tekst: moet "${r.includes}" bevatten`;if("regex"===r.format)return`Ongeldige tekst: moet overeenkomen met patroon ${r.pattern}`;return`Ongeldig: ${t[r.format]??r.format}`;case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${r.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${r.keys.length>1?"s":""}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${r.origin}`;case"invalid_union":default:return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${r.origin}`}})}};let o=a(r(3947))},32432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=(n=r(58024))&&n.__esModule?n:{default:n},a=r(99955);t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");e+=(0,a.mod10)(e),e+=(0,a.mod10)(e);var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),t}(i.default)},32438:(e,t,r)=>{"use strict";r.d(t,{R:()=>o});var n=r(74180),i=r(60245),a=r(97670);function o(){var e=(0,n.useContext)(i.m);return(0,a.V)(null!==e,"The <Index>
1 component must be used within <InstantSearch>."),e}},32596:e=>{"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={},o={RequestCookies:()=>h,ResponseCookies:()=>p,parseCookie:()=>u,parseSetCookie:()=>c,stringifyCookie:()=>l};for(var s in o)t(a,s,{get:o[s],enumerable:!0});function l(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${r.join("; ")}`}function u(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[n,i]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=i?i:"true"))}catch{}}return t}function c(e){if(!e)return;let[[t,r],...n]=u(e),{domain:i,expires:a,httponly:o,maxage:s,path:l,samesite:c,secure:h,partitioned:p,priority:m}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,y,v={name:t,value:decodeURIComponent(r),domain:i,...a&&{expires:new Date(a)},...o&&{httpOnly:!0},..."string"==typeof s&&{maxAge:Number(s)},path:l,...c&&{sameSite:d.includes(g=(g=c).toLowerCase())?g:void 0},...h&&{secure:!0},...m&&{priority:f.includes(y=(y=m).toLowerCase())?y:void 0},...p&&{partitioned:!0}};let e={};for(let t in v)v[t]&&(e[t]=v[t]);return e}}e.exports=((e,a,o,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))i.call(e,l)||l===o||t(e,l,{get:()=>a[l],enumerable:!(s=r(a,l))||s.enumerable});return e})(t({},"__esModule",{value:!0}),a);var d=["strict","lax","none"],f=["low","medium","high"],h=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,r]of u(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>l(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>l(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},p=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;const i=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(const e of Array.isArray(i)?i:function(e){if(!e)return[];var t,r,n,i,a,o=[],s=0;function l(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,a=!1;l();)if(","===(r=e.charAt(s))){for(n=s,s+=1,l(),i=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(a=!0,s=i,o.push(e.substring(t,n)),t=s):s=n+1}else s+=1;(!a||s>=e.length)&&o.push(e.substring(t,e.length))}return o}(i)){const t=c(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,i=this._parsed;return i.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}
1({name:t,value:r,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=l(r);t.append("set-cookie",e)}}(i,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(l).join("; ")}}},33760:(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=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||i.test(u)||r.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,l):e.replace(a,l)).replace(n,s))}},33866:(e,t,r)=>{"use strict";var n=r(8183),i=r(65320),a=r(17538),o=r(84961),s=r(77748),l=r(54094),u=r(56522),c=r(72065),d=r(18647);function f(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every(function(e,r){return f(t[r],e)}):e===t}function h(e){var t=e?h._parseNumbers(e):{};void 0===t.userToken||c(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var r=this;Object.keys(t).forEach(function(e){var n=-1!==h.PARAMETERS.indexOf(e),i=void 0!==t[e];!n&&i&&(r[e]=t[e])})}h.PARAMETERS=Object.keys(new h),h._parseNumbers=function(e){if(e instanceof h)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach(function(r){var n=e[r];if("string"==typeof n){var i=parseFloat(n);t[r]=isNaN(i)?n:i}}),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map(function(e){return Array.isArray(e)?e.map(function(e){return parseFloat(e)}):e})),e.numericRefinements){var r={};Object.keys(e.numericRefinements).forEach(function(t){var n=e.numericRefinements[t]||{};r[t]={},Object.keys(n).forEach(function(e){var i=n[e].map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?parseFloat(e):e}):"string"==typeof e?parseFloat(e):e});r[t][e]=i})}),t.numericRefinements=r}return o(e,t)},h.make=function(e){var t=new h(e);return(e.hierarchicalFacets||[]).forEach(function(e){if(e.rootPath){var r=t.getHierarchicalRefinement(e.name);r.length>0&&0!==r[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(r=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}}),t},h.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&r.tagFilters?Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&r.numericRefinements&&s(r.numericRefinements)?Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):s(e.numericRefinements)&&r.numericFilters?Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},h.prototype={constructor:h,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:d.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:d.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:d.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:d.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,r){var n=u(r);if(this.isNumericRefined(e,t,n))return this;var i=o({},this.numericRefinements);return i[e]=o({},i[e]),i[e][t]?(i[e][t]=i[e][t].slice(),i[e][t].push(n)):i[e][t]=[n],this.setQueryParameters({numericRefinements:i})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,r){return void 0!==r?this.isNumericRefined(e,t,r)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(n,i){return i===e&&n.op===t&&f(n.val,u(r))})}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(r,n){return n===e&&r.op===t})}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(t,r){return r===e})}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return s(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return l(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,r=this.numericRefinements,n=Object.keys(r).reduce(function(n,i){var a=r[i],o={};return Object.keys(a=a||{}
vendor: 8,277 bytes, line 1
1).forEach(function(r){var n=a[r]||[],s=[];n.forEach(function(t){e({val:t,op:r},i,"numeric")||s.push(t)}),s.length!==n.length&&(t=!0),o[r]=s}),n[i]=o,n},{});return t?n:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:d.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:d.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return d.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:d.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter(function(t){return t!==e})}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(t){return t!==e})}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(t){return t.name!==e})}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:d.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:d.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return d.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:d.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter(function(t){return t!==e})};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:d.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:d.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:d.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),i={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+r))?-1===t.indexOf(r)?i[e]=[]:i[e]=[t.slice(0,t.lastIndexOf(r))]:i[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n(i,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n(r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:n(t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&d.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&d.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&d.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var r=this.getHierarchicalRefinement(e);return t?-1!==r.indexOf(t):r.length>0},isNumericRefined:function(e,t,r){if(void 0===r&&void 0===t)return!!this.numericRefinements[e];var n,a=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!a)return a;var o=u(r),s=void 0!==(n=this.numericRefinements[e][t],i(n,function(e){return f(e,o)}));return a&&s},isTagRefined:function(e){return -1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=a(Object.keys(this.numericRefinements).filter(function(t){return Object.keys(e.numericRefinements[t]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(t){return e.disjunctiveFacetsRefinements[t].length>0}).concat(t).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return a(this.hierarchicalFacets.map(function(e){return e.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(t){return e.hierarchicalFacetsRefinements[t].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(t){return -1===e.indexOf(t)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},r=this;
1return Object.keys(this).forEach(function(n){var i=r[n];-1===e.indexOf(n)&&void 0!==i&&(t[n]=i)}),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var r={};return r[e]=t,this.setQueryParameters(r)},setQueryParameters:function(e){if(!e)return this;var t=h.validate(this,e);if(t)throw t;var r=this,n=h._parseNumbers(e),i=Object.keys(this).reduce(function(e,t){return e[t]=r[t],e},{}),a=Object.keys(n).reduce(function(e,t){var r=void 0!==e[t],i=void 0!==n[t];return r&&!i?l(e,[t]):(i&&(e[t]=n[t]),e)},i);return new this.constructor(a)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return i(this.hierarchicalFacets,function(t){return t.name===e})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(r).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}},e.exports=h},34014:(e,t,r)=>{"use strict";let n=r(71774),i=r(73573),a=r(40923),o=r(12240),s=r(59096),l=r(896),u=r(38943),c=r(88509),d=r(96028),f=r(42674);r(4975);new WeakMap;(0,c.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`cookies()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E830",enumerable:!1,configurable:!0})})},34057:(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()}},34198:(e,t,r)=>{"use strict";function n(e){return e.toLowerCase()}r.d(t,{S:()=>n})},34335:(e,t,r)=>{"use strict";function n(e){return"ais.index"===e.$$type}r.d(t,{l:()=>n})},34437: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"문ì",verb:"to have"},file:{unit:"ë°ì´í¸",verb:"to have"},array:{unit:"ê°",verb:"to have"},set:{unit:"ê°",verb:"to have"}},t={regex:"ì
ë ¥",email:"ì´ë©ì¼ 주ì",url:"URL",emoji:"ì´ëª¨ì§",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ë ì§ìê°",date:"ISO ë ì§",time:"ISO ìê°",duration:"ISO 기ê°",ipv4:"IPv4 주ì",ipv6:"IPv6 주ì",cidrv4:"IPv4 ë²ì",cidrv6:"IPv6 ë²ì",base64:"base64 ì¸ì½ë© 문ìì´",base64url:"base64url ì¸ì½ë© 문ìì´",json_string:"JSON 문ìì´",e164:"E.164 ë²í¸",jwt:"JWT",template_literal:"ì
ë ¥"},r=>{switch(r.code){case"invalid_type":return`ì못ë ì
ë ¥: ìì íì
ì ${r.expected}, ë°ì íì
ì ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}ì
ëë¤`;
1case"invalid_value":if(1===r.values.length)return`ì못ë ì
ë ¥: ê°ì ${o.stringifyPrimitive(r.values[0])} ì´ì´ì¼ í©ëë¤`;return`ì못ë ìµì
: ${o.joinValues(r.values,"ëë ")} ì¤ íëì¬ì¼ í©ëë¤`;case"too_big":{let t=r.inclusive?"ì´í":"미ë§",n="미ë§"===t?"ì´ì´ì¼ í©ëë¤":"ì¬ì¼ í©ëë¤",i=e[r.origin]??null,a=i?.unit??"ìì";if(i)return`${r.origin??"ê°"}ì´ ë무 í½ëë¤: ${r.maximum.toString()}${a} ${t}${n}`;return`${r.origin??"ê°"}ì´ ë무 í½ëë¤: ${r.maximum.toString()} ${t}${n}`}case"too_small":{let t=r.inclusive?"ì´ì":"ì´ê³¼",n="ì´ì"===t?"ì´ì´ì¼ í©ëë¤":"ì¬ì¼ í©ëë¤",i=e[r.origin]??null,a=i?.unit??"ìì";if(i)return`${r.origin??"ê°"}ì´ ë무 ììµëë¤: ${r.minimum.toString()}${a} ${t}${n}`;return`${r.origin??"ê°"}ì´ ë무 ììµëë¤: ${r.minimum.toString()} ${t}${n}`}case"invalid_format":if("starts_with"===r.format)return`ì못ë 문ìì´: "${r.prefix}"(ì¼)ë¡ ììí´ì¼ í©ëë¤`;if("ends_with"===r.format)return`ì못ë 문ìì´: "${r.suffix}"(ì¼)ë¡ ëëì¼ í©ëë¤`;if("includes"===r.format)return`ì못ë 문ìì´: "${r.includes}"ì(를) í¬í¨í´ì¼ í©ëë¤`;if("regex"===r.format)return`ì못ë 문ìì´: ì ê·ì ${r.pattern} í¨í´ê³¼ ì¼ì¹í´ì¼ í©ëë¤`;return`ì못ë ${t[r.format]??r.format}`;case"not_multiple_of":return`ì못ë ì«ì: ${r.divisor}ì ë°°ìì¬ì¼ í©ëë¤`;case"unrecognized_keys":return`ì¸ìí ì ìë í¤: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`ì못ë í¤: ${r.origin}`;case"invalid_union":default:return"ì못ë ì
ë ¥";case"invalid_element":return`ì못ë ê°: ${r.origin}`}})}};let o=a(r(3947))},34618:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=(n=r(58024))&&n.__esModule?n:{default:n},a=r(99955);t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e+(0,a.mod11)(e),r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),t}(i.default)},34692:(e,t,r)=>{"use strict";var n=r(65320),i=r(39288);e.exports=function(e){var t,r,a={};return e.forEach(function(e){e.forEach(function(e,t){a[e.objectID]?a[e.objectID]={indexSum:a[e.objectID].indexSum+t,count:a[e.objectID].count+1}:a[e.objectID]={indexSum:t,count:1}})}),(t=e.length,r=[],Object.keys(a).forEach(function(e){a[e].count<2&&(a[e].indexSum+=100),r.push({objectID:e,avgOfIndices:a[e].indexSum/t})}),r.sort(function(e,t){return e.avgOfIndices>t.avgOfIndices?1:-1})).reduce(function(t,r){var a=n(i(e),function(e){return e.objectID===r.objectID});return a?t.concat(a):t},[])}},34913:(e,t,r)=>{"use strict";r.d(t,{nA:()=>l,XD:()=>u,j7:()=>c});var n,i,a,o,s,l=((a={}).DOCUMENT="document",a.PARAGRAPH="paragraph",a.HEADING_1="heading-1",a.HEADING_2="heading-2",a.HEADING_3="heading-3",a.HEADING_4="heading-4",a.HEADING_5="heading-5",a.HEADING_6="heading-6",a.OL_LIST="ordered-list",a.UL_LIST="unordered-list",a.LIST_ITEM="list-item",a.HR="hr",a.QUOTE="blockquote",a.EMBEDDED_ENTRY="embedded-entry-block",a.EMBEDDED_ASSET="embedded-asset-block",a.EMBEDDED_RESOURCE="embedded-resource-block",a.TABLE="table",a.TABLE_ROW="table-row",a.TABLE_CELL="table-cell",a.TABLE_HEADER_CELL="table-header-cell",a),u=((n={}).ASSET_HYPERLINK="asset-hyperlink",n.EMBEDDED_ENTRY="embedded-entry-inline",n.EMBEDDED_RESOURCE="embedded-resource-inline",n.ENTRY_HYPERLINK="entry-hyperlink",n.HYPERLINK="hyperlink",n.RESOURCE_HYPERLINK="resource-hyperlink",n),c=((i={}).BOLD="bold",i.ITALIC="italic",i.UNDERLINE="underline",i.CODE="code",i.SUPERSCRIPT="superscript",i.SUBSCRIPT="subscript",i.STRIKETHROUGH="strikethrough",i);function d(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 f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=[l.PARAGRAPH,l.HEADING_1,l.HEADING_2,l.HEADING_3,l.HEADING_4,l.HEADING_5,l.HEADING_6,l.OL_LIST,l.UL_LIST,l.HR,l.QUOTE,l.EMBEDDED_ENTRY,l.EMBEDDED_ASSET,l.EMBEDDED_RESOURCE,l.TABLE],p=[l.PARAGRAPH,l.HEADING_1,l.HEADING_2,l.HEADING_3,l.HEADING_4,l.HEADING_5,l.HEADING_6,l.OL_LIST,l.UL_LIST,l.HR,l.QUOTE,l.EMBEDDED_ENTRY,l.EMBEDDED_ASSET,l.EMBEDDED_RESOURCE];l.TABLE,l.TABLE_ROW,l.TABLE_CELL,l.TABLE_HEADER_CELL,l.HR,l.EMBEDDED_ENTRY,l.EMBEDDED_ASSET,l.EMBEDDED_RESOURCE;var m=(f(o={},l.OL_LIST,[l.LIST_ITEM]),f(o,l.UL_LIST,[l.LIST_ITEM]),f(o,l.LIST_ITEM,p),f(o,l.QUOTE,[l.PARAGRAPH]),f(o,l.TABLE,[l.TABLE_ROW]),f(o,l.TABLE_ROW,[l.TABLE_CELL,l.TABLE_HEADER_CELL]),f(o,l.TABLE_CELL,[l.PARAGRAPH,l.UL_LIST,l.OL_LIST]),f(o,l.TABLE_HEADER_CELL,[l.PARAGRAPH]),o),g=[l.HEADING_1,l.HEADING_2,l.HEADING_3,l.HEADING_4,l.HEADING_5,l.HEADING_6];[l.PARAGRAPH].concat(function(e){if(Array.isArray(e))return d(e)}(g)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(g)||function(e){if(e){if("string"==typeof e)return d(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return d(e,void 0)}}(g)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l.DOCUMENT,l.PARAGRAPH,l.HEADING_1,l.HEADING_2,l.HEADING_3,l.HEADING_4,l.HEADING_5,l.HEADING_6,l.OL_LIST,l.UL_LIST,l.LIST_ITEM,l.HR,l.QUOTE,l.EMBEDDED_ENTRY,l.EMBEDDED_ASSET,u.HYPERLINK,u.ENTRY_HYPERLINK,u.ASSET_HYPERLINK,u.EMBEDDED_ENTRY,c.BOLD,c.CODE,c.ITALIC,c.UNDERLINE,l.DOCUMENT,l.PARAGRAPH;var y=r(5433);function v(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}var b=function(e){var t=e.path,r=e.property,n=e.typeName,i=e.value;return{details:'The type of "'.concat(r,'" is incorrect, expected type: ').concat(n),name:"type",path:t.toArray(),type:n,value:i}},E=function(e){var t=e.min,r=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:r}},_=function(e){var t=e.max,r=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:r}},S=function(e){var t=e.expected,r=e.value,n=e.path;return{details:"Value must be one of expected values",name:"in",expected:((function(e){if(Array.isArray(e))return v(e)})(t)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e){if(e){if("string"==typeof e)return v(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return v(e,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).sort(),path:n.toArray(),value:r}},w=function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:r.toArray()}},T=function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:r.toArray()}};function O(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 x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return O(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return O(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var A=function(){var e;function t(e,r){var n=this,i=this;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");x(this,"obj",void 0),x(this,"path",void 0),x(this,"_errors",void 0),x(this,"catch",void 0),x(this,"exists",void 0),x(this,"object",void 0),x(this,"string",void 0),x(this,"number",void 0),x(this,"array",void 0),x(this,"enum",void 0),x(this,"empty",void 0),x(this,"minLength",void 0),x(this,"noAdditionalProperties",void 0),x(this,"each",void 0),this.obj=e,this.path=r,this._errors=[],this.catch=function(){for(var e,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=i._errors).push.apply(e,P(r))},this.exists=function(e){return e in n.obj||(n.catch(T({property:e,path:n.path.of(e)})),!1)},this.object=function(e){var t,r=e?n.obj[e]:n.obj;if(e&&!n.exists(e))return!1;if(y(r))return!0;var i=e?n.path.of(e):n.path,a=null!=(t=null!=e?e:n.path.last())?t:"value";return n.catch(b({typeName:"Object",property:a,path:i,value:r})),!1},this.string=function(e){var t=n.obj[e];return(!e||!!n.exists(e))&&("string"==typeof t||(n.catch(b({typeName:"String",property:e,path:n.path.of(e),value:t})),!1))},this.number=function(e,t){var r=n.obj[e];return!!t&&!(e in n.obj)||!!n.exists(e)&&(!("number"!=typeof r||Number.isNaN(r))||(n.catch(b({typeName:"Number",property:e,path:n.path.of(e),value:r})),!1))},this.array=function(e){var t=n.obj[e];return(!e||!!n.exists(e))&&(!!Array.isArray(t)||(n.catch(b({typeName:"Array",property:e,path:n.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=n.obj[e];return!!("string"==typeof r&&t.includes(r))||(n.catch(S({expected:t,value:r,path:n.path.of(e)})),!1)},this.empty=function(e){if(!n.array(e))return!1;var t=n.obj[e];return 0===t.length||(n.catch(_({max:0,value:t,path:n.path.of(e)})),!1)},this.minLength=function(e,t){if(!n.array(e))return!1;var r=n.obj[e];return r.length>=t||(n.catch(E({min:t,value:r,path:n.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(n.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return n.catch(w({property:e,path:n.path.of(e)}))}),0===t.length},this.each=function(e,t){if(n.array(e)){var r=n.obj[e],i=!1;
1r.forEach(function(r,a){if(!i){var o=t(r,n.path.of(e).of(a));o.length>0&&(i=!0),n.catch.apply(n,P(o))}})}}}return e=[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(r,n){return e._errors.findIndex(function(e){return t(r)===t(e)})===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)}}(t.prototype,e),t}();function k(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 I(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t,r){var n,i,a;return t=N(t),n=e,(i=$()?Reflect.construct(t,r||[],N(e).constructor):t.apply(e,r))&&("object"==((a=i)&&"u">typeof Symbol&&a.constructor===Symbol?"symbol":typeof a)||"function"==typeof i)?i:I(n)}function R(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return k(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return k(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($=function(){return!!e})()}var U=[],F=function(){var e;function t(e,r){R(this,t),D(this,"contentRule",void 0),D(this,"validateData",void 0),this.contentRule=e,this.validateData=r}return e=[{key:"assert",value:function(e,t){var r=new A(e,t);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var n=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),i=n.nodeTypes,a=n.min,o=void 0===a?0:a;if(0===i.length&&o>0)throw Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(o," with no nodeTypes"));if(r.minLength("content",o),0===i.length?r.empty("content"):r.each("content",function(e,t){var r=new A(e,t);return r.object()&&r.enum("nodeType",i),r.errors}),r.object("data")){var s,l,u=null!=(l=null==(s=this.validateData)?void 0:s.call(this,e.data,t.of("data")))?l:[];r.catch.apply(r,L(u))}return r.errors}}],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,e),t}(),B=function(e){function t(e,r){var n;return R(this,t),D(n=C(this,t,[r,function(e,t){return I(n).assertLink(e,t)}]),"linkType",void 0),D(n,"type",void 0),D(n,"assertLink",void 0),n.linkType=e,n.assertLink=function(e,t){var r=new A(e,t);if(r.object("target")){var i=new A(e.target.sys,t.of("target").of("sys"));i.object()&&(i.enum("type",[n.type]),i.enum("linkType",[n.linkType]),"Link"===n.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===n.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),r.catch.apply(r,L(i.errors))}return r.noAdditionalProperties(["target"]),r.errors}
1,n.type=n.linkType.startsWith("Contentful:")?"ResourceLink":"Link",n}return j(t,e),t}(F),z=function(e){function t(){var e;return R(this,t),D(e=C(this,t,[["text"],function(t,r){return I(e).assertLink(t,r)}]),"assertLink",function(e,t){var r=new A(e,t);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return j(t,e),t}(F),H=function(e,t){return new F(e,t)},q=function(e,t){return new B(e,t)};function G(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 W(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function V(e){return function(e){if(Array.isArray(e))return G(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return G(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return G(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Y=H(V(Object.values(u)).concat(["text"]).sort()),Z=H([l.LIST_ITEM]),K=q("Entry",U),X=H(function(){return{nodeTypes:[l.PARAGRAPH],min:1}},function(e,t){var r=new A(e,t);return r.noAdditionalProperties(["colspan","rowspan"]),r.number("colspan",!0),r.number("rowspan",!0),r.errors});W(s={},l.DOCUMENT,H(h)),W(s,l.PARAGRAPH,Y),W(s,l.HEADING_1,Y),W(s,l.HEADING_2,Y),W(s,l.HEADING_3,Y),W(s,l.HEADING_4,Y),W(s,l.HEADING_5,Y),W(s,l.HEADING_6,Y),W(s,l.QUOTE,H(m[l.QUOTE])),W(s,l.EMBEDDED_ENTRY,K),W(s,l.
1EMBEDDED_ASSET,q("Asset",U)),W(s,l.EMBEDDED_RESOURCE,q("Contentful:Entry",U)),W(s,l.HR,H(U)),W(s,l.OL_LIST,Z),W(s,l.UL_LIST,Z),W(s,l.LIST_ITEM,H(V(p).sort())),W(s,l.TABLE,H(function(){return{nodeTypes:[l.TABLE_ROW],min:1}})),W(s,l.TABLE_ROW,H(function(){return{nodeTypes:[l.TABLE_CELL,l.TABLE_HEADER_CELL],min:1}})),W(s,l.TABLE_CELL,X),W(s,l.TABLE_HEADER_CELL,X),W(s,u.HYPERLINK,new z),W(s,u.EMBEDDED_ENTRY,K),W(s,u.EMBEDDED_RESOURCE,q("Contentful:Entry",U)),W(s,u.ENTRY_HYPERLINK,q("Entry",["text"])),W(s,u.ASSET_HYPERLINK,q("Asset",["text"])),W(s,u.RESOURCE_HYPERLINK,q("Contentful:Entry",["text"]))},35338:(e,t,r)=>{"use strict";e.exports=r(8865)},35341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"assertText",{enumerable:!0,get:function(){return i}});var n=r(5772);function i(e,t){var r=new n.ObjectAssertion(e,t);return r.object()&&(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(e,t){var r=new n.ObjectAssertion(e,t);return r.object()&&r.string("type"),r.errors}),r.string("value")),r.errors}},35561:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(43171),i=function(e){return e.match(RegExp("^"+n.A_CHARS+"*"))[0].length},a=function(e){return e.match(RegExp("^"+n.B_CHARS+"*"))[0].length},o=function(e){return e.match(RegExp("^"+n.C_CHARS+"*"))[0]};function s(e,t){var r=t?n.A_CHARS:n.B_CHARS,i=e.match(RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(i)return i[1]+String.fromCharCode(204)+l(e.substring(i[1].length));var a=e.match(RegExp("^"+r+"+"))[0];return a.length===e.length?e:a+String.fromCharCode(t?205:206)+s(e.substring(a.length),!t)}function l(e){var t=o(e),r=t.length;if(r===e.length)return e;var n=i(e=e.substring(r))>=a(e);return t+String.fromCharCode(n?206:205)+s(e,n)}t.default=function(e){var t=void 0;if(o(e).length>=2)t=n.C_START_CHAR+l(e);else{var r=i(e)>a(e);t=(r?n.A_START_CHAR:n.B_START_CHAR)+s(e,r)}return t.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(e,t){return String.fromCharCode(203)+t})}},36116:(e,t,r)=>{"use strict";r.d(t,{TL:()=>o});var n=r(74180),i=r(71374),a=r(67368);function o(e){var t;let r,o=(t=e,(r=n.forwardRef((e,t)=>{var r;let a,o,{children:s,...l}=e,u=n.isValidElement(s)?(r=s,(o=(a=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?r.ref:(o=(a=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?r.props.ref:r.props.ref||r.ref):void 0,c=(0,i.s)(u,t);if(n.isValidElement(s)){let e=function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(l,s.props);return s.type!==n.Fragment&&(e.ref=c),n.cloneElement(s,e)}return n.Children.count(s)>1?n.Children.only(null):null})).displayName=`${t}.SlotClone`,r),s=n.forwardRef((e,t)=>{let{children:r,...i}=e,s=n.Children.toArray(r),u=s.find(l);if(u){let e=u.props.children,r=s.map(t=>t!==u?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,a.jsx)(o,{...i,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,a.jsx)(o,{...i,ref:t,children:r})});return s.displayName=`${e}.Slot`,s}var s=Symbol("radix.slottable");function l(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}},36180: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"کاراکتر",verb:"داشت٠باشد"},file:{unit:"Ø¨Ø§ÛØª",verb:"داشت٠باشد"},array:{unit:"Ø¢ÛØªÙ
",verb:"داشت٠باشد"},set:{unit:"Ø¢ÛØªÙ
",verb:"داشت٠باشد"}},t={regex:"ÙØ±ÙدÛ",email:"آدرس اÛÙ
ÛÙ",url:"URL",emoji:"اÛÙ
ÙØ¬Û",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ØªØ§Ø±ÛØ® ٠زÙ
Ø§Ù Ø§ÛØ²Ù",date:"ØªØ§Ø±ÛØ® Ø§ÛØ²Ù",time:"زÙ
Ø§Ù Ø§ÛØ²Ù",duration:"Ù
دت زÙ
Ø§Ù Ø§ÛØ²Ù",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 داÙ
ÙÙ",cidrv6:"IPv6 داÙ
ÙÙ",base64:"base64-encoded رشتÙ",base64url:"base64url-encoded رشتÙ",json_string:"JSON رشتÙ",e164:"E.164 عدد",jwt:"JWT",template_literal:"ÙØ±ÙدÛ"},r=>{switch(r.code){case"invalid_type":return`ÙØ±ÙØ¯Û ÙØ§Ù
عتبر: Ù
ÛâØ¨Ø§ÛØ³Øª ${r.expected} Ù
ÛâØ¨ÙØ¯Ø ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"عدد";case"object":if(Array.isArray(e))return"آراÛÙ";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)} Ø¯Ø±ÛØ§Ùت شد`;case"invalid_value":if(1===r.values.length)return`ÙØ±ÙØ¯Û ÙØ§Ù
عتبر: Ù
ÛâØ¨Ø§ÛØ³Øª ${o.stringifyPrimitive(r.values[0])} Ù
ÛâØ¨ÙØ¯`;return`گزÛÙÙ ÙØ§Ù
عتبر: Ù
ÛâØ¨Ø§ÛØ³Øª ÛÚ©Û Ø§Ø² ${o.joinValues(r.values,"|")} Ù
ÛâØ¨ÙØ¯`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Ø®ÛÙÛ Ø¨Ø²Ø±Ú¯: ${r.origin??"Ù
ÙØ¯Ø§Ø±"} Ø¨Ø§ÛØ¯ ${t}${r.maximum.toString()} ${n.unit??"Ø¹ÙØµØ±"} باشد`;return`Ø®ÛÙÛ Ø¨Ø²Ø±Ú¯: ${r.origin??"Ù
ÙØ¯Ø§Ø±"} Ø¨Ø§ÛØ¯ ${t}${r.maximum.toString()} باشد`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Ø®ÛÙÛ Ú©ÙÚÚ©: ${r.origin} Ø¨Ø§ÛØ¯ ${t}${r.minimum.toString()} ${n.unit} باشد`;return`Ø®ÛÙÛ Ú©ÙÚÚ©: ${r.origin} Ø¨Ø§ÛØ¯ ${t}${r.minimum.toString()} باشد`}case"invalid_format":if("starts_with"===r.format)return`Ø±Ø´ØªÙ ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ با "${r.prefix}" Ø´Ø±ÙØ¹ Ø´ÙØ¯`;if("ends_with"===r.format)return`Ø±Ø´ØªÙ ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ با "${r.suffix}" تÙ
اÙ
Ø´ÙØ¯`;if("includes"===r.format)return`Ø±Ø´ØªÙ ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ شاÙ
Ù "${r.includes}" باشد`;if("regex"===r.format)return`Ø±Ø´ØªÙ ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ با اÙÚ¯ÙÛ ${r.pattern} Ù
Ø·Ø§Ø¨ÙØª داشت٠باشد`;return`${t[r.format]??r.format} ÙØ§Ù
عتبر`;case"not_multiple_of":return`عدد ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ Ù
ضرب ${r.divisor} باشد`;case"unrecognized_keys":return`Ú©ÙÛØ¯${r.keys.length>1?"ÙØ§Û":""} ÙØ§Ø´Ùاس: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Ú©ÙÛØ¯ ÙØ§Ø´Ùاس در ${r.origin}`;case"invalid_union":default:return"ÙØ±ÙØ¯Û ÙØ§Ù
عتبر";case"invalid_element":return`Ù
ÙØ¯Ø§Ø± ÙØ§Ù
عتبر در ${r.origin}`}})}};let o=a(r(3947))},36331:(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(48539),("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)},36444: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"k\xfd tá»±",verb:"c\xf3"},file:{unit:"byte",verb:"c\xf3"},array:{unit:"phần tá»",verb:"c\xf3"},set:{unit:"phần tá»",verb:"c\xf3"}},t={regex:"Äầu v\xe0o",email:"Äá»a chá» email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xe0y giá» ISO",date:"ng\xe0y ISO",time:"giá» ISO",duration:"khoảng thá»i gian ISO",ipv4:"Äá»a chá» IPv4",ipv6:"Äá»a chá» IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuá»i m\xe3 h\xf3a base64",base64url:"chuá»i m\xe3 h\xf3a base64url",json_string:"chuá»i JSON",e164:"sá» E.164",jwt:"JWT",template_literal:"Äầu v\xe0o"},r=>{switch(r.code){case"invalid_type":return`Äầu v\xe0o kh\xf4ng hợp lá»: mong Äợi ${r.expected}, nháºn ÄÆ°á»£c ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"sá»";case"object":if(Array.isArray(e))return"mảng";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Äầu v\xe0o kh\xf4ng hợp lá»: mong Äợi ${o.stringifyPrimitive(r.values[0])}`;return`T\xf9y chá»n kh\xf4ng hợp lá»: mong Äợi má»t trong c\xe1c gi\xe1 trá» ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Qu\xe1 lá»n: mong Äợi ${r.origin??"gi\xe1 trá»"} ${n.verb} ${t}${r.maximum.toString()} ${n.unit??"phần tá»"}`;return`Qu\xe1 lá»n: mong Äợi ${r.origin??"gi\xe1 trá»"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Qu\xe1 nhá»: mong Äợi ${r.origin} ${n.verb} ${t}${r.minimum.toString()} ${n.unit}`;return`Qu\xe1 nhá»: mong Äợi ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Chuá»i kh\xf4ng hợp lá»: phải bắt Äầu bằng "${r.prefix}"`;if("ends_with"===r.format)return`Chuá»i kh\xf4ng hợp lá»: phải kết th\xfac bằng "${r.suffix}"`;if("includes"===r.format)return`Chuá»i kh\xf4ng hợp lá»: phải bao gá»m "${r.includes}"`;if("regex"===r.format)return`Chuá»i kh\xf4ng hợp lá»: phải khá»p vá»i mẫu ${r.pattern}`;return`${t[r.format]??r.format} kh\xf4ng hợp lá»`;case"not_multiple_of":return`Sá» kh\xf4ng hợp lá»: phải l\xe0 bá»i sá» cá»§a ${r.divisor}`;case"unrecognized_keys":return`Kh\xf3a kh\xf4ng ÄÆ°á»£c nháºn dạng: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Kh\xf3a kh\xf4ng hợp lá» trong ${r.origin}`;case"invalid_union":default:return"Äầu v\xe0o kh\xf4ng hợp lá»";case"invalid_element":return`Gi\xe1 trá» kh\xf4ng hợp lá» trong ${r.origin}`}})}};let o=a(r(3947))},36667:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});var n=r(74180),i=r(71374),a=r(89133),o=e=>{var t;let r,o,{present:l,children:u}=e,c=function(e){var t,r;let[i,o]=n.useState(),l=n.useRef(null),u=n.useRef(e),c=n.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>r[e][t]??e,t));return n.useEffect(()=>{let e=s(l.current);c.current="mounted"===d?e:"none"},[d]),(0,a.N)(()=>{let t=l.current,r=u.current;if(r!==e){let n=c.current,i=s(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):r&&n!==i?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,a.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=s(l.current).includes(r.animationName);if(r.target===i&&n&&(f("ANIMATION_END"),!u.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(c.current=s(l.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}f("ANIMATION_END")},[i,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{l.current=e?getComputedStyle(e):null,o(e)},[])}}(l),d="function"==typeof u?u({present:c.isPresent}):n.Children.only(u),f=(0,i.s)(c.ref,(t=d,(o=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(o=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof u||c.isPresent?n.cloneElement(d,{ref:f}):null};function s(e){return e?.animationName||"none"}o.displayName="Presence"},36717:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.default=function(e,t){return r({},e,t)}},36756:(e,t,r)=>{"use strict";r.d(t,{A:()=>K});var n,i,a,o,s,l,u,c=function(){return(c=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 d(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}var f=("function"==typeof SuppressedError&&SuppressedError,r(74180)),h="right-scroll-bar-position",p="width-before-scroll-bar";function m(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var g="u">typeof window?f.useLayoutEffect:f.useEffect,y=new WeakMap,v=(void 0===n&&(n={}),(void 0===i&&(i=function(e){return e}),a=[],o=!1,s={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=i(e,o);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){o=!0;var t=[];if(a.length){var r=a;a=[],r.forEach(e),t=a}var n=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(n)};i(),a={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),a}}}}).options=c({async:!0,ssr:!1},n),s),b=function(){},E=f.forwardRef(function(e,t){var r,n,i,a,o=f.useRef(null),s=f.useState({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:b}),l=s[0],u=s[1],h=e.forwardProps,p=e.children,E=e.className,_=e.removeScrollBar,S=e.enabled,w=e.shards,T=e.sideCar,O=e.noRelative,x=e.noIsolation,P=e.inert,A=e.allowPinchZoom,k=e.as,I=e.gapMode,C=d(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(r=[o,t],n=function(e){return r.forEach(function(t){return m(t,e)})},(i=(0,f.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,a=i.facade,g(function(){var e=y.get(a);if(e){var t=new Set(e),n=new Set(r),i=a.current;t.forEach(function(e){n.has(e)||m(e,null)}),n.forEach(function(e){t.has(e)||m(e,i)})}y.set(a,r)},[r]),a),D=c(c({},C),l);return f.createElement(f.Fragment,null,S&&f.createElement(T,{sideCar:v,removeScrollBar:_,shards:w,noRelative:O,noIsolation:x,inert:P,setCallbacks:u,allowPinchZoom:!!A,lockRef:o,gapMode:I}),h?f.cloneElement(f.Children.only(p),c(c({},D),{ref:R})):f.createElement(void 0===k?"div":k,c({},D,{className:E,ref:R}),p))});E.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},E.classNames={fullWidth:p,zeroRight:h};var _=function(e){var t=e.sideCar,r=d(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return f.createElement(n,c({},r))};_.isSideCarExport=!0;var S=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},w=function(){var e=S();return function(t,r){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},T=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},O={left:0,top:0,right:0,gap:0},x=function(e){return parseInt(e||"",10)||0},P=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[x(r),x(n),x(i)]},A=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return O;var t=P(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])}},k=T(),I="data-scroll-locked",C=function(e,t,r,n){var i=e.left,a=e.top,o=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(s,"px ").concat(n,";\n }\n body[").concat(I,"] {\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(o,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";
1")].filter(Boolean).join(""),"\n }\n \n .").concat(h," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(p," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(h," .").concat(h," {\n right: 0 ").concat(n,";\n }\n \n .").concat(p," .").concat(p," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(I,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},R=function(){var e=parseInt(document.body.getAttribute(I)||"0",10);return isFinite(e)?e:0},D=function(){f.useEffect(function(){return document.body.setAttribute(I,(R()+1).toString()),function(){var e=R()-1;e<=0?document.body.removeAttribute(I):document.body.setAttribute(I,e.toString())}},[])},N=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;D();var a=f.useMemo(function(){return A(i)},[i]);return f.createElement(k,{styles:C(a,!t,i,r?"":"!important")})},j=!1;if("u">typeof window)try{var M=Object.defineProperty({},"passive",{get:function(){return j=!0,!0}});window.addEventListener("test",M,M),window.removeEventListener("test",M,M)}catch(e){j=!1}var L=!!j&&{passive:!1},$=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},U=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),F(e,n)){var i=B(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},F=function(e,t){return"v"===e?$(t,"overflowY"):$(t,"overflowX")},B=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},z=function(e,t,r,n,i){var a,o=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),s=o*n,l=r.target,u=t.contains(l),c=!1,d=s>0,f=0,h=0;do{if(!l)break;var p=B(e,l),m=p[0],g=p[1]-p[2]-o*m;(m||g)&&F(e,l)&&(f+=g,h+=m);var y=l.parentNode;l=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}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(h)||!i&&-s>h)&&(c=!0),c},H=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},q=function(e){return[e.deltaX,e.deltaY]},G=function(e){return e&&"current"in e?e.current:e},W=0,V=[];let Y=(l=function(e){var t=f.useRef([]),r=f.useRef([0,0]),n=f.useRef(),i=f.useState(W++)[0],a=f.useState(T)[0],o=f.useRef(e);f.useEffect(function(){o.current=e},[e]),f.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,a=t.length;i<a;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(G),!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=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!o.current.allowPinchZoom;var i,a=H(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-a[0],u="deltaY"in e?e.deltaY:s[1]-a[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=window.getSelection(),h=f&&f.anchorNode;if(h&&(h===c||h.contains(c)))return!1;var p=U(d,c);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=U(d,c)),!p)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var m=n.current||i;return z(m,t,e,"h"===m?l:u,!0)},[]),l=f.useCallback(function(e){if(V.length&&V[V.length-1]===a){var r="deltaY"in e?q(e):H(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}
1if(!n){var i=(o.current.shards||[]).map(G).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!o.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=f.useCallback(function(e,r,n,i){var a={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(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),c=f.useCallback(function(e){r.current=H(e),n.current=void 0},[]),d=f.useCallback(function(t){u(t.type,q(t),t.target,s(t,e.lockRef.current))},[]),h=f.useCallback(function(t){u(t.type,H(t),t.target,s(t,e.lockRef.current))},[]);f.useEffect(function(){return V.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,L),document.addEventListener("touchmove",l,L),document.addEventListener("touchstart",c,L),function(){V=V.filter(function(e){return e!==a}),document.removeEventListener("wheel",l,L),document.removeEventListener("touchmove",l,L),document.removeEventListener("touchstart",c,L)}},[]);var p=e.removeScrollBar,m=e.inert;return f.createElement(f.Fragment,null,m?f.createElement(a,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,p?f.createElement(N,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},v.useMedium(l),_);var Z=f.forwardRef(function(e,t){return f.createElement(E,c({},e,{ref:t,sideCar:Y}))});Z.classNames=E.classNames;let K=Z},36974:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.globalConfig=t.$ZodAsyncError=t.$brand=t.NEVER=void 0,t.$constructor=function(e,t,r){function n(r,n){var i;for(let a in Object.defineProperty(r,"_zod",{value:r._zod??{},enumerable:!1}),(i=r._zod).traits??(i.traits=new Set),r._zod.traits.add(e),t(r,n),o.prototype)a in r||Object.defineProperty(r,a,{value:o.prototype[a].bind(r)});r._zod.constr=o,r._zod.def=n}let i=r?.Parent??Object;class a extends i{}function o(e){var t;let i=r?.Parent?new a:this;for(let r of(n(i,e),(t=i._zod).deferred??(t.deferred=[]),i._zod.deferred))r();return i}return Object.defineProperty(a,"name",{value:e}),Object.defineProperty(o,"init",{value:n}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>!!r?.Parent&&t instanceof r.Parent||t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o},t.config=function(e){return e&&Object.assign(t.globalConfig,e),t.globalConfig},t.NEVER=Object.freeze({status:"aborted"}),t.$brand=Symbol("zod_brand");class r extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}t.$ZodAsyncError=r,t.globalConfig={}},37382:(e,t,r)=>{"use strict";r.d(t,{d:()=>v});var n=r(43573),i=r(7005),a=r(91577),o=r(49711);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(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 u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var d=(0,n.V)({name:"current-refinements",connector:!0});function f(e){var t=e.results,r=e.helper,n=e.indexId,i=e.includedAttributes,a=e.excludedAttributes,s=-1!==(i||[]).indexOf("query")||-1===(a||[]).indexOf("query"),u=i?function(e){return -1!==i.indexOf(e.attribute)}:function(e){return -1===a.indexOf(e.attribute)},c=(0,o.t)(t,r.state,s).map(m).filter(u);return c.reduce(function(e,t){var i;return[].concat(function(e){if(Array.isArray(e))return l(e)}(i=e.filter(function(e){return e.attribute!==t.attribute}))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e){if(e){if("string"==typeof e)return l(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,void 0)}}(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[{indexName:r.state.index,indexId:n,attribute:t.attribute,label:t.attribute,refinements:c.filter(function(e){return e.attribute===t.attribute}).sort(function(e,t){return"numeric"===e.type?e.value-t.value:0}),refine:function(e){return p(r,e)}}])},[])}function h(e,t){switch(e=e.resetPage(),t.type){case"facet":return e.removeFacetRefinement(t.attribute,String(t.value));case"disjunctive":return e.removeDisjunctiveFacetRefinement(t.attribute,String(t.value));case"hierarchical":return e.removeHierarchicalFacetRefinement(t.attribute);case"exclude":return e.removeExcludeRefinement(t.attribute,String(t.value));case"numeric":return e.removeNumericRefinement(t.attribute,t.operator,String(t.value));case"tag":return e.removeTagRefinement(String(t.value));case"query":return e.setQueryParameter("query","");default:return e}}function p(e,t){e.setState(h(e.state,t)).search()}
1function m(e){var t,r="numeric"===(t=e).type?Number(t.name):"escapedValue"in t?t.escapedValue:t.name,n=e.operator?"".concat(function(e){switch(e){case">=":return"â¥";case"<=":return"â¤";default:return e}}(e.operator)," ").concat(e.name):e.name,i={attribute:e.attribute,type:e.type,value:r,label:n};return void 0!==e.operator&&(i.operator=e.operator),void 0!==e.count&&(i.count=e.count),void 0!==e.exhaustive&&(i.exhaustive=e.exhaustive),i}let g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.l;return(0,a.t)(e,d()),function(r){if((r||{}).includedAttributes&&(r||{}).excludedAttributes)throw Error(d("The options `includedAttributes` and `excludedAttributes` cannot be used together."));var n=r||{},i=n.includedAttributes,a=n.excludedAttributes,o=void 0===a?["query"]:a,s=n.transformItems,l=void 0===s?function(e){return e}:s;return{$$type:"ais.currentRefinements",init:function(t){var r=t.instantSearchInstance;e(c(c({},this.getWidgetRenderState(t)),{},{instantSearchInstance:r}),!0)},render:function(t){var r=t.instantSearchInstance;e(c(c({},this.getWidgetRenderState(t)),{},{instantSearchInstance:r}),!1)},dispose:function(){t()},getRenderState:function(e,t){return c(c({},e),{},{currentRefinements:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t=e.results,n=e.scopedResults,a=e.createURL,s=e.helper,u=t?n.reduce(function(e,r){return e.concat(l(f({results:r.results,helper:r.helper,indexId:r.indexId,includedAttributes:i,excludedAttributes:o}),{results:t}))},[]):l(f({results:null,helper:s,indexId:s.state.index,includedAttributes:i,excludedAttributes:o}),{results:t});return{items:u,canRefine:u.length>0,refine:function(e){return p(s,e)},createURL:function(e){return a(h(s.state,e))},widgetParams:r}}}}};var y=r(80488);function v(e,t){return(0,y.Z)(g,e,t)}},37446:(e,t,r)=>{"use strict";r.d(t,{O:()=>n,r:()=>i});let n={current:null},i={current:!1}},37541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Doc=void 0;class r{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if("function"==typeof e){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let t=e.split("\n").filter(e=>e),r=Math.min(...t.map(e=>e.length-e.trimStart().length));for(let e of t.map(e=>e.slice(r)).map(e=>" ".repeat(2*this.indent)+e))this.content.push(e)}compile(){return Function(...this?.args,[...(this?.content??[""]).map(e=>` ${e}`)].join("\n"))}}t.Doc=r},37591:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(22200))&&n.__esModule?n:{default:n},a=r(59110);function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=a.PSEUDO,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(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),e.exports=t.default},38203:(e,t,r)=>{"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fallback:function(){}},r=t.fallback;return"u"<typeof window?r():e({window:window})}r.d(t,{x:()=>n})},38240:(e,t,r)=>{"use strict";r.d(t,{T:()=>d});var n=r(20549);let i=function(e,t){let r;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');l(e);let n=0,i=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(r){n=a+1;break}}else i<0&&(r=!0,i=a+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let o=-1,s=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(r){n=a+1;break}}else o<0&&(r=!0,o=a+1),s>-1&&(e.codePointAt(a)===t.codePointAt(s--)?s<0&&(i=a):(s=-1,i=o));return n===i?i=o:i<0&&(i=e.length),e.slice(n,i)},a=function(e){let t;if(l(e),0===e.length)return".";let r=-1,n=e.length;for(;--n;)if(47===e.codePointAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.codePointAt(0)?"/":".":1===r&&47===e.codePointAt(0)?"//":e.slice(0,r)},o=function(e){let t;l(e);let r=e.length,n=-1,i=0,a=-1,o=0;for(;r--;){let s=e.codePointAt(r);
1if(47===s){if(t){i=r+1;break}continue}n<0&&(t=!0,n=r+1),46===s?a<0?a=r:1!==o&&(o=1):a>-1&&(o=-1)}return a<0||n<0||0===o||1===o&&a===n-1&&a===i+1?"":e.slice(a,n)},s=function(...e){var t;let r,n,i,a=-1;for(;++a<e.length;)l(e[a]),e[a]&&(i=void 0===i?e[a]:i+"/"+e[a]);return void 0===i?".":(l(t=i),r=47===t.codePointAt(0),0!==(n=function(e,t){let r,n,i="",a=0,o=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)r=e.codePointAt(l);else if(47===r)break;else r=47;if(47===r){if(o===l-1||1===s);else if(o!==l-1&&2===s){if(i.length<2||2!==a||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((n=i.lastIndexOf("/"))!==i.length-1){n<0?(i="",a=0):a=(i=i.slice(0,n)).length-1-i.lastIndexOf("/"),o=l,s=0;continue}}else if(i.length>0){i="",a=0,o=l,s=0;continue}}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(o+1,l):i=e.slice(o+1,l),a=l-o-1;o=l,s=0}else 46===r&&s>-1?s++:s=-1}return i}(t,!r)).length||r||(n="."),n.length>0&&47===t.codePointAt(t.length-1)&&(n+="/"),r?"/"+n:n)};function l(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function u(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let c=["history","path","basename","stem","extname","dirname"];class d{constructor(e){let t,r;t=e?u(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<c.length;){const e=c[n];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)c.includes(r)||(this[r]=t[r])}get basename(){return"string"==typeof this.path?i(this.path):void 0}set basename(e){h(e,"basename"),f(e,"basename"),this.path=s(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?a(this.path):void 0}set dirname(e){p(this.basename,"dirname"),this.path=s(e||"",this.basename)}get extname(){return"string"==typeof this.path?o(this.path):void 0}set extname(e){if(f(e,"extname"),p(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=s(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){u(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!u(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,r=-1;for(;++r<t.length;)if(37===t.codePointAt(r)&&50===t.codePointAt(r+1)){let e=t.codePointAt(r+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),h(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?i(this.path,this.extname):void 0}set stem(e){h(e,"stem"),f(e,"stem"),this.path=s(this.dirname||"",e+(this.extname||""))}fail(e,t,r){let n=this.message(e,t,r);throw n.fatal=!0,n}info(e,t,r){let n=this.message(e,t,r);return n.fatal=void 0,n}message(e,t,r){let i=new n.o(e,t,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function f(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function h(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function p(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}},38715: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);
1(!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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.parsedType=void 0,t.default=function(){let e,r;return{localeError:(e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}},r={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoÄio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daÅro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},n=>{switch(n.code){case"invalid_type":return`Nevalida enigo: atendiÄis ${n.expected}, riceviÄis ${(0,t.parsedType)(n.input)}`;case"invalid_value":if(1===n.values.length)return`Nevalida enigo: atendiÄis ${o.stringifyPrimitive(n.values[0])}`;return`Nevalida opcio: atendiÄis unu el ${o.joinValues(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Tro granda: atendiÄis ke ${n.origin??"valoro"} havu ${t}${n.maximum.toString()} ${r.unit??"elementojn"}`;return`Tro granda: atendiÄis ke ${n.origin??"valoro"} havu ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Tro malgranda: atendiÄis ke ${n.origin} havu ${t}${n.minimum.toString()} ${r.unit}`;return`Tro malgranda: atendiÄis ke ${n.origin} estu ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Nevalida karaktraro: devas komenciÄi per "${n.prefix}"`;if("ends_with"===n.format)return`Nevalida karaktraro: devas finiÄi per "${n.suffix}"`;if("includes"===n.format)return`Nevalida karaktraro: devas inkluzivi "${n.includes}"`;if("regex"===n.format)return`Nevalida karaktraro: devas kongrui kun la modelo ${n.pattern}`;return`Nevalida ${r[n.format]??n.format}`;case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${n.divisor}`;case"unrecognized_keys":return`Nekonata${n.keys.length>1?"j":""} Ålosilo${n.keys.length>1?"j":""}: ${o.joinValues(n.keys,", ")}`;case"invalid_key":return`Nevalida Ålosilo en ${n.origin}`;case"invalid_union":default:return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${n.origin}`}})}};let o=a(r(3947));t.parsedType=e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"nombro";case"object":if(Array.isArray(e))return"tabelo";if(null===e)return"senvalora";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}},38900:(e,t,r)=>{"use strict";function n(e){return (t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}r.d(t,{k:()=>n})},38943:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={delayUntilRuntimeStage:function(){return p},getRuntimeStage:function(){return h},isHangingPromiseRejectionError:function(){return o},makeDevtoolsIOAwarePromise:function(){return f},makeHangingPromise:function(){return c}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(4975);function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===s}let s="HANGING_PROMISE_REJECTION";class l extends Error{constructor(e,t){super(`During prerendering, ${t} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${t} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${e}".`),this.route=e,this.expression=t,this.digest=s}}let u=new WeakMap;function c(e,t,r){if(e.aborted)return Promise.reject(new l(t,r));{let n=new Promise((n,i)=>{let a=i.bind(null,new l(t,r)),o=u.get(e);if(o)o.push(a);else{let t=[a];u.set(e,t),e.addEventListener("abort",()=>{for(let e=0;e<t.length;e++)t[e]()},{once:!0})}});return n.catch(d),n}}function d(){}function f(e,t,r){return t.stagedRendering?t.stagedRendering.delayUntil
1Stage(r,void 0,e):new Promise(t=>{setTimeout(()=>{t(e)},0)})}function h(e){return e.currentStage===a.RenderStage.EarlyStatic||e.currentStage===a.RenderStage.EarlyRuntime?a.RenderStage.EarlyRuntime:a.RenderStage.Runtime}function p(e,t){let{stagedRendering:r}=e;return r?r.waitForStage(h(r)).then(()=>t):t}},39288:e=>{e.exports=function(e){return e.reduce(function(e,t){return e.concat(t)},[])}},39392:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(74180),i=r(67368);function a(e,t=[]){let r=[],o=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return o.scopeName=e,[function(t,a){let o=n.createContext(a),s=r.length;r=[...r,a];let l=t=>{let{scope:r,children:a,...l}=t,u=r?.[e]?.[s]||o,c=n.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:c,children:a})};return l.displayName=t+"Provider",[l,function(r,i){let l=i?.[e]?.[s]||o,u=n.useContext(l);if(u)return u;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(o,...t)]}},39594:(e,t,r)=>{"use strict";r.d(t,{W:()=>v});var n=r(43573),i=r(7005),a=r(91577);function o(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 s(e){var t,r=e.start,n=void 0===r?0:r,i=e.end,a=e.step,s=void 0===a?1:a,l=0===s?1:s;return((function(e){if(Array.isArray(e))return o(e)})(t=Array(Math.round((i-n)/l)))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e){if(e){if("string"==typeof e)return o(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return o(e,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map(function(e,t){return n+t*l})}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:String(t)}var d=function(){var e;function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");u(this,"currentPage",void 0),u(this,"total",void 0),u(this,"padding",void 0),this.currentPage=e.currentPage,this.total=e.total,this.padding=e.padding}return e=[{key:"pages",value:function(){var e=this.total,t=this.currentPage,r=this.padding;if(0===e)return[0];var n=this.nbPagesDisplayed(r,e);if(n===e)return s({end:e});var i=this.calculatePaddingLeft(t,r,e,n),a=n-i;return s({start:t-i,end:t+a})}},{key:"nbPagesDisplayed",value:function(e,t){return Math.min(2*e+1,t)}},{key:"calculatePaddingLeft",value:function(e,t,r,n){return e<=t?e:e>=r-t?n-(r-e):t}},{key:"isLastPage",value:function(){return this.currentPage>=this.total-1}},{key:"isFirstPage",value:function(){return this.currentPage<=0}}],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,c(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}();function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?h(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==f(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var m=(0,n.V)({name:"pagination",connector:!0});let g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.l;return(0,a.t)(e,m()),function(r){var n=r||{},i=n.totalPages,a=n.padding,o=new d({currentPage:0,total:0,padding:void 0===a?3:a}),s={};return{$$type:"ais.pagination",init:function(t){var r=t.instantSearchInstance;e(p(p({},this.getWidgetRenderState(t)),{},{instantSearchInstance:r}),!0)},render:function(t){var r=t.instantSearchInstance;e(p(p({},this.getWidgetRenderState(t)),{},{instantSearchInstance:r}),!1)},dispose:function(e){var r=e.state;return t(),r.setQueryParameter("page",void 0)},getWidgetUiState:function(e,t){var r=t.searchParameters.page||0;return r?p(p({},e),{},{page:r+1}):e},getWidgetSearchParameters:function(e,t){var r=t.uiState,n=r.page?r.page-1:0;return e.setQueryParameter("page",n)},getWidgetRenderState:function(e){var t,n=e.results,a=e.helper,l=e.state,u=e.createURL;s.refine||(s.refine=function(e){a.setPage(e),a.search()}),s.createURL||(s.createURL=function(e){return u(function(t){return p(p({},t),{},{page:e+1})})});var c=l.page||0,d=(t=(n||{nbPages:0}).nbPages,void 0!==i?Math.min(i,t):t);return o.currentPage=c,o.total=d,{createURL:s.createURL,refine:s.refine,canRefine:d>1,currentRefinement:c,nbHits:(null==n?void 0:n.nbHits)||0,nbPages:d,pages:n?o.pages():[],isFirstPage:o.isFirstPage(),isLastPage:o.isLastPage(),widgetParams:r}},getRenderState:function(e,t){return p(p({},e),{},{pagination:this.getWidgetRenderState(t)})}}}};var y=r(80488);function v(e,t){return(0,y.Z)(g,e,t)}},39776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i={RenderStage:function(){return l},StagedRenderingController:function(){return u}};for(var a in i)Object.defineProperty(t,a,{enumerable:!0,get:i[a]});let o=r(4685),s=r(59570);var l=((n={})[n.Before=1]="Before",n[n.EarlyStatic=2]="EarlyStatic",n[n.Static=3]="Static",n[n.EarlyRuntime=4]="EarlyRuntime",n[n.Runtime=5]="Runtime",n[n.Dynamic=6]="Dynamic",n[n.Abandoned=7]="Abandoned",n);class u{constructor(e,t,r){this.abortSignal=e,this.abandonController=t,this.shouldTrackSyncIO=r,this.currentStage=1,this.syncInterruptReason=null,this.staticStageEndTime=1/0,this.runtimeStageEndTime=1/0,this.staticStageListeners=[],this.earlyRuntimeStageListeners=[],this.runtimeStageListeners=[],this.dynamicStageListeners=[],this.staticStagePromise=(0,s.createPromiseWithResolvers)(),this.earlyRuntimeStagePromise=(0,s.createPromiseWithResolvers)(),this.runtimeStagePromise=(0,s.createPromiseWithResolvers)(),this.dynamicStagePromise=(0,s.createPromiseWithResolvers)(),e&&e.addEventListener("abort",()=>{let{reason:t}=e;this.staticStagePromise.promise.catch(c),this.staticStagePromise.reject(t),this.earlyRuntimeStagePromise.promise.catch(c),this.earlyRuntimeStagePromise.reject(t),this.runtimeStagePromise.promise.catch(c),this.runtimeStagePromise.reject(t),this.dynamicStagePromise.promise.catch(c),this.dynamicStagePromise.reject(t)},{once:!0}),t&&t.signal.addEventListener("abort",()=>{this.abandonRender()},{once:!0})}onStage(e,t){if(this.currentStage>=e)t();else if(3===e)this.staticStageListeners.push(t);else if(4===e)this.earlyRuntimeStageListeners.push(t);else if(5===e)this.runtimeStageListeners.push(t);else if(6===e)this.dynamicStageListeners.push(t);else throw Object.defineProperty(new o.InvariantError(`Invalid render stage: ${e}`),"__NEXT_ERROR_CODE",{value:"E881",enumerable:!1,configurable:!0})}shouldTrackSyncInterrupt(){if(!this.shouldTrackSyncIO)return!1;
1switch(this.currentStage){case 1:case 5:case 6:case 7:default:return!1;case 2:case 3:case 4:return!0}}syncInterruptCurrentStageWithReason(e){if(1!==this.currentStage&&7!==this.currentStage){if(this.abandonController)return void this.abandonController.abort();if(this.abortSignal){this.syncInterruptReason=e,this.currentStage=7;return}switch(this.currentStage){case 2:case 3:case 4:this.syncInterruptReason=e,this.advanceStage(6);return;case 5:return}}}getSyncInterruptReason(){return this.syncInterruptReason}getStaticStageEndTime(){return this.staticStageEndTime}getRuntimeStageEndTime(){return this.runtimeStageEndTime}abandonRender(){let{currentStage:e}=this;switch(e){case 2:this.resolveStaticStage();case 3:this.resolveEarlyRuntimeStage();case 4:this.resolveRuntimeStage();case 5:this.currentStage=7;return}}advanceStage(e){if(e<=this.currentStage)return;let t=this.currentStage;if(this.currentStage=e,t<3&&e>=3&&this.resolveStaticStage(),t<4&&e>=4&&this.resolveEarlyRuntimeStage(),t<5&&e>=5&&(this.staticStageEndTime=performance.now()+performance.timeOrigin,this.resolveRuntimeStage()),t<6&&e>=6){this.runtimeStageEndTime=performance.now()+performance.timeOrigin,this.resolveDynamicStage();return}}resolveStaticStage(){let e=this.staticStageListeners;for(let t=0;t<e.length;t++)e[t]();e.length=0,this.staticStagePromise.resolve()}resolveEarlyRuntimeStage(){let e=this.earlyRuntimeStageListeners;for(let t=0;t<e.length;t++)e[t]();e.length=0,this.earlyRuntimeStagePromise.resolve()}resolveRuntimeStage(){let e=this.runtimeStageListeners;for(let t=0;t<e.length;t++)e[t]();e.length=0,this.runtimeStagePromise.resolve()}resolveDynamicStage(){let e=this.dynamicStageListeners;for(let t=0;t<e.length;t++)e[t]();e.length=0,this.dynamicStagePromise.resolve()}getStagePromise(e){switch(e){case 3:return this.staticStagePromise.promise;case 4:return this.earlyRuntimeStagePromise.promise;case 5:return this.runtimeStagePromise.promise;case 6:return this.dynamicStagePromise.promise;default:throw Object.defineProperty(new o.InvariantError(`Invalid render stage: ${e}`),"__NEXT_ERROR_CODE",{value:"E881",enumerable:!1,configurable:!0})}}waitForStage(e){return this.getStagePromise(e)}delayUntilStage(e,t,r){var n,i,a;let o,s=(n=this.getStagePromise(e),i=t,a=r,o=new Promise((e,t)=>{n.then(e.bind(null,a),t)}),void 0!==i&&(o.displayName=i),o);return this.abortSignal&&s.catch(c),s}}function c(){}},40113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=(n=r(53436))&&n.__esModule?n:{default:n},o=r(43171);t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,o.C_START_CHAR+e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"valid",value:function(){return RegExp("^"+o.C_CHARS+"+$").test(this.data)}}]),t}(a.default)},40355:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.data=t,this.text=r.text||t,this.options=r}},40443:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();t.checksum=o;var i=a(r(66645));
1function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t,r=0;for(t=1;t<11;t+=2)r+=parseInt(e[t]);for(t=0;t<11;t+=2)r+=3*parseInt(e[t]);return(10-r%10)%10}t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");-1!==e.search(/^[0-9]{11}$/)&&(e+=o(e));var n=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return n.displayValue=r.displayValue,r.fontSize>10*r.width?n.fontSize=10*r.width:n.fontSize=r.fontSize,n.guardHeight=r.height+n.fontSize/2+r.textMargin,n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(t,[{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==o(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var e="";return e+="101",e+=(0,i.default)(this.data.substr(0,6),"LLLLLL"),e+="01010",e+=(0,i.default)(this.data.substr(6,6),"RRRRRR"),{data:e+="101",text:this.text}}},{key:"guardedEncoding",value:function(){var e=[];return this.displayValue&&e.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),e.push({data:"101"+(0,i.default)(this.data[0],"L"),options:{height:this.guardHeight}}),e.push({data:(0,i.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),e.push({data:"01010",options:{height:this.guardHeight}}),e.push({data:(0,i.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),e.push({data:(0,i.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&e.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),e}}]),t}(a(r(40355)).default)},40652:(e,t,r)=>{"use strict";var n=r(74180);r(67368);let i=["shift","alt","meta","mod","ctrl","control"],a={esc:"escape",return:"enter",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function o(e){return(a[e.trim()]||e.trim()).toLowerCase().replace(/key|digit|numpad/,"")}"u">typeof document&&(document.addEventListener("keydown",e=>{var t;let r;void 0!==e.code&&(r=Array.isArray(t=[o(e.code)])?t:[t],s.has("meta")&&s.forEach(e=>!i.includes(e)&&s.delete(e.toLowerCase())),r.forEach(e=>s.add(e.toLowerCase())))}),document.addEventListener("keyup",e=>{var t;let r;void 0!==e.code&&(r=Array.isArray(t=[o(e.code)])?t:[t],"meta"===t?s.clear():r.forEach(e=>s.delete(e.toLowerCase())))})),"u">typeof window&&(window.addEventListener("blur",()=>{s.clear()}),window.addEventListener("contextmenu",()=>{setTimeout(()=>{s.clear()},0)}));let s=new Set;(0,n.createContext)(void 0),(0,n.createContext)({hotkeys:[],activeScopes:[],toggleScope:()=>{},enableScope:()=>{},disableScope:()=>{}}),"u">typeof window?n.useLayoutEffect:n.useEffect},40758:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},40923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=r(65491)},41043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={get BLOCKS(){return a.BLOCKS},get EMPTY_DOCUMENT(){return l.EMPTY_DOCUMENT},get INLINES(){return o.INLINES},get MARKS(){return s.MARKS},get helpers(){return u},get validateRichTextDocument(){return c.validateRichTextDocument}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:Object.getOwnPropertyDescriptor(n,i).get});var a=r(23103),o=r(52113),s=r(99818);d(r(80302),t),d(r(48934),t),d(r(40758),t);
1var l=r(179),u=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(r(53122)),c=r(68986);function d(e,t){return Object.keys(e).forEach(function(r){"default"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),e}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}},41116:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){return e.sort(function(e,t){return e-t})},e.exports=t.default},41285:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={get enumError(){return l},get maxSizeError(){return s},get minSizeError(){return o},get requiredPropertyError(){return c},get typeMismatchError(){return a},get unknownPropertyError(){return u}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(r,n).get});function i(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}var a=function(e){var t=e.path,r=e.property,n=e.typeName,i=e.value;return{details:'The type of "'.concat(r,'" is incorrect, expected type: ').concat(n),name:"type",path:t.toArray(),type:n,value:i}},o=function(e){var t=e.min,r=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:r}},s=function(e){var t=e.max,r=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:r}},l=function(e){var t=e.expected,r=e.value,n=e.path;return{details:"Value must be one of expected values",name:"in",expected:((function(e){if(Array.isArray(e))return i(e)})(t)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e){if(e){if("string"==typeof e)return i(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).sort(),path:n.toArray(),value:r}},u=function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:r.toArray()}},c=function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:r.toArray()}}},41564: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:{one:"Ñимвол",few:"Ñимвола",many:"Ñимволов"},verb:"имеÑÑ"},file:{unit:{one:"байÑ",few:"байÑа",many:"байÑ"},verb:"имеÑÑ"},array:{unit:{one:"ÑлеменÑ",few:"ÑлеменÑа",many:"ÑлеменÑов"},verb:"имеÑÑ"},set:{unit:{one:"ÑлеменÑ",few:"ÑлеменÑа",many:"ÑлеменÑов"},verb:"имеÑÑ"}},t={regex:"ввод",email:"email адÑеÑ",url:"URL",emoji:"Ñмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO даÑа и вÑемÑ",date:"ISO даÑа",time:"ISO вÑемÑ",duration:"ISO длиÑелÑноÑÑÑ",ipv4:"IPv4 адÑеÑ",ipv6:"IPv6 адÑеÑ",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"ÑÑÑока в ÑоÑмаÑе base64",base64url:"ÑÑÑока в ÑоÑмаÑе base64url",json_string:"JSON ÑÑÑока",e164:"Ð½Ð¾Ð¼ÐµÑ E.164",jwt:"JWT",template_literal:"ввод"},r=>
1{switch(r.code){case"invalid_type":return`ÐевеÑнÑй ввод: ожидалоÑÑ ${r.expected}, полÑÑено ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"ÑиÑло";case"object":if(Array.isArray(e))return"маÑÑив";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`ÐевеÑнÑй ввод: ожидалоÑÑ ${o.stringifyPrimitive(r.values[0])}`;return`ÐевеÑнÑй ваÑианÑ: ожидалоÑÑ Ð¾Ð´Ð½Ð¾ из ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n){let e=s(Number(r.maximum),n.unit.one,n.unit.few,n.unit.many);return`СлиÑком болÑÑое знаÑение: ожидалоÑÑ, ÑÑо ${r.origin??"знаÑение"} бÑÐ´ÐµÑ Ð¸Ð¼ÐµÑÑ ${t}${r.maximum.toString()} ${e}`}return`СлиÑком болÑÑое знаÑение: ожидалоÑÑ, ÑÑо ${r.origin??"знаÑение"} бÑÐ´ÐµÑ ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n){let e=s(Number(r.minimum),n.unit.one,n.unit.few,n.unit.many);return`СлиÑком маленÑкое знаÑение: ожидалоÑÑ, ÑÑо ${r.origin} бÑÐ´ÐµÑ Ð¸Ð¼ÐµÑÑ ${t}${r.minimum.toString()} ${e}`}return`СлиÑком маленÑкое знаÑение: ожидалоÑÑ, ÑÑо ${r.origin} бÑÐ´ÐµÑ ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна наÑинаÑÑÑÑ Ñ "${r.prefix}"`;if("ends_with"===r.format)return`ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна заканÑиваÑÑÑÑ Ð½Ð° "${r.suffix}"`;if("includes"===r.format)return`ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна ÑодеÑжаÑÑ "${r.includes}"`;if("regex"===r.format)return`ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна ÑооÑвеÑÑÑвоваÑÑ ÑÐ°Ð±Ð»Ð¾Ð½Ñ ${r.pattern}`;return`ÐевеÑнÑй ${t[r.format]??r.format}`;case"not_multiple_of":return`ÐевеÑное ÑиÑло: должно бÑÑÑ ÐºÑаÑнÑм ${r.divisor}`;case"unrecognized_keys":return`ÐеÑаÑпознанн${r.keys.length>1?"Ñе":"Ñй"} клÑÑ${r.keys.length>1?"и":""}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`ÐевеÑнÑй клÑÑ Ð² ${r.origin}`;case"invalid_union":default:return"ÐевеÑнÑе вÑ
однÑе даннÑе";case"invalid_element":return`ÐевеÑное знаÑение в ${r.origin}`}})}};let o=a(r(3947));function s(e,t,r,n){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?n:1===a?t:a>=2&&a<=4?r:n}},42001: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"znaků",verb:"m\xedt"},file:{unit:"bajtů",verb:"m\xedt"},array:{unit:"prvků",verb:"m\xedt"},set:{unit:"prvků",verb:"m\xedt"}},t={regex:"regul\xe1rn\xed v\xfdraz",email:"e-mailov\xe1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a Äas ve form\xe1tu ISO",date:"datum ve form\xe1tu ISO",time:"Äas ve form\xe1tu ISO",duration:"doba trv\xe1n\xed ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"ÅetÄzec zak\xf3dovan\xfd ve form\xe1tu base64",base64url:"ÅetÄzec zak\xf3dovan\xfd ve form\xe1tu base64url",json_string:"ÅetÄzec ve form\xe1tu JSON",e164:"Ä\xedslo E.164",jwt:"JWT",template_literal:"vstup"},r=>
1{switch(r.code){case"invalid_type":return`Neplatn\xfd vstup: oÄek\xe1v\xe1no ${r.expected}, obdrženo ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"Ä\xedslo";case"string":return"ÅetÄzec";case"boolean":return"boolean";case"bigint":return"bigint";case"function":return"funkce";case"symbol":return"symbol";case"undefined":return"undefined";case"object":if(Array.isArray(e))return"pole";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Neplatn\xfd vstup: oÄek\xe1v\xe1no ${o.stringifyPrimitive(r.values[0])}`;return`Neplatn\xe1 možnost: oÄek\xe1v\xe1na jedna z hodnot ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Hodnota je pÅ\xedliÅ¡ velk\xe1: ${r.origin??"hodnota"} mus\xed m\xedt ${t}${r.maximum.toString()} ${n.unit??"prvků"}`;return`Hodnota je pÅ\xedliÅ¡ velk\xe1: ${r.origin??"hodnota"} mus\xed b\xfdt ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Hodnota je pÅ\xedliÅ¡ mal\xe1: ${r.origin??"hodnota"} mus\xed m\xedt ${t}${r.minimum.toString()} ${n.unit??"prvků"}`;return`Hodnota je pÅ\xedliÅ¡ mal\xe1: ${r.origin??"hodnota"} mus\xed b\xfdt ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Neplatn\xfd ÅetÄzec: mus\xed zaÄ\xednat na "${r.prefix}"`;if("ends_with"===r.format)return`Neplatn\xfd ÅetÄzec: mus\xed konÄit na "${r.suffix}"`;if("includes"===r.format)return`Neplatn\xfd ÅetÄzec: mus\xed obsahovat "${r.includes}"`;if("regex"===r.format)return`Neplatn\xfd ÅetÄzec: mus\xed odpov\xeddat vzoru ${r.pattern}`;return`Neplatn\xfd form\xe1t ${t[r.format]??r.format}`;case"not_multiple_of":return`Neplatn\xe9 Ä\xedslo: mus\xed b\xfdt n\xe1sobkem ${r.divisor}`;case"unrecognized_keys":return`Nezn\xe1m\xe9 kl\xedÄe: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Neplatn\xfd kl\xedÄ v ${r.origin}`;case"invalid_union":default:return"Neplatn\xfd vstup";case"invalid_element":return`Neplatn\xe1 hodnota v ${r.origin}`}})}};let o=a(r(3947))},43118:e=>{"use strict";function t(e,t){this._state=e,this._rawResults={};var r=this;e.params.forEach(function(e){var n=e.$$id;r[n]=t[n],r._rawResults[n]=t[n]})}t.prototype={constructor:t},e.exports=t},43171:(e,t)=>{"use strict";function r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0});var n,i=t.SET_A=0,a=t.SET_B=1,o=t.SET_C=2;t.SHIFT=98;var s=t.START_A=103,l=t.START_B=104,u=t.START_C=105;t.MODULO=103,t.STOP=106,t.FNC1=207,r(n={},s,i),r(n,l,a),r(n,u,o),t.SET_BY_CODE=n,t.SWAP={101:i,100:a,99:o},t.A_START_CHAR=String.fromCharCode(208),t.B_START_CHAR=String.fromCharCode(209),t.C_START_CHAR=String.fromCharCode(210),t.A_CHARS="[\0-_\xc8-\xcf]",t.B_CHARS="[ -\x7f\xc8-\xcf]",t.C_CHARS="(\xcf*[0-9]{2}\xcf*)",t.BARS=[0x2904e8b0c,0x28fb77b2c,0x28fb7774e,10010011e3,0x254a47ecc,0x2541b2a8c,10011001e3,0x254b3bd24,0x2541cad44,11001001e3,0x28fb5f0a4,0x28fa83504,0x25a9a86dc,0x254b3e81c,0x254b3c116,0x25aa9a20c,0x254b547ac,0x254b543ce,0x28fb79dfa,0x28fb61b9c,0x28fb5f496,0x290500dc4,0x28fb79e54,0x295ad5c36,0x295abd58c,0x2959e19ec,0x2959e160e,0x295ad5844,0x2959e3d14,0x2959e3cba,11011011e3,0x2904e872e,0x28fa85c1e,10100011e3,10001011e3,0x2541b26ae,10110001e3,10001101e3,0x2541cacea,11010001e3,11000101e3,0x28fa834aa,10110111e3,0x25a9a5fd6,0x2541cb136,10111011e3,0x25aa99e2e,0x2541cd45e,0x295ad7f5e,0x2903f48d6,0x28fa838f6,11011101e3,0x290500d6a,0x2905011b6,11101011e3,0x295abd1ae,0x2959cb67e,11101101e3,0x295ad57ea,0x2959cba02,0x295ad82e2,0x28fb5f04a,0x296352972,1010011e4,0x25a01c94c,1001011e4,0x254a47aee,0x2540d6eec,0x2540d6b0e,1011001e4,0x25a9a5be4,1001101e4,0x254b3bcca,0x2540d9214,0x2540d91ba,0x28fa6d51a,1100101e4,0x29636d722,0x28fa6d574,0x2541cd7e2,0x25a0376fc,0x254a62c7c,0x254a4a5e6,0x25aab24c4,0x254b56ad4,0x254b56a7a,0x29636ac84,0x296354cf4,0x296354c9a,0x2904eb226,0x2905034de,0x29636d39e,10101111e3,0
1x25a01f066,0x2541b51a6,10111101e3,0x25aab246a,11110101e3,0x29636ac2a,0x25aa9c926,0x25aab28b6,0x295abfca6,0x29636b076,0x2903f44e4,1101001e4,0x2903f6fdc,0x1001dc55b53]},43360:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),t}(((n=r(23208))&&n.__esModule?n:{default:n}).default)},43435:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CODE39=void 0;var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");e=e.toUpperCase(),r.mod43&&(e+=o[function(e){for(var t=0,r=0;r<e.length;r++)t+=u(e[r]);return t%43}(e)]);var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"encode",value:function(){for(var e=l("*"),t=0;t<this.data.length;t++)e+=l(this.data[t])+"0";return{data:e+=l("*"),text:this.text}}},{key:"valid",value:function(){return -1!==this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)}}]),t}(((n=r(40355))&&n.__esModule?n:{default:n}).default),o=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],s=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function l(e){return s[u(e)].toString(2)}function u(e){return o.indexOf(e)}t.CODE39=a},43573:(e,t,r)=>{"use strict";function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.map(function(e){var t;return"https://www.algolia.com/doc/api-reference/widgets/"+e.name+"/js/"+(void 0!==(t=e.connector)&&t?"#connector":"")}).join(", ");return function(e){return[e,"See documentation: ".concat(n)].filter(Boolean).join("\n\n")}}r.d(t,{V:()=>n})},44056:(e,t,r)=>{"use strict";let n;r.d(t,{Mz:()=>ek,UC:()=>eR,ZL:()=>eC,bL:()=>eA,l9:()=>eI});var i,a=r(74180),o=r(21538),s=r(71374),l=r(39392),u=r(83825),c=r(30285),d=r(52869),f=r(67368),h="dismissableLayer.update",p=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),m=a.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:l,onFocusOutside:m,onInteractOutside:v,onDismiss:b,...E}=e,_=a.useContext(p),[S,w]=a.useState(null),T=S?.ownerDocument??globalThis?.document,[,O]=a.useState({}),x=(0,s.s)(t,e=>
1w(e)),P=Array.from(_.layers),[A]=[..._.layersWithOutsidePointerEventsDisabled].slice(-1),k=P.indexOf(A),I=S?P.indexOf(S):-1,C=_.layersWithOutsidePointerEventsDisabled.size>0,R=I>=k,D=function(e,t=globalThis?.document){let r=(0,c.c)(e),n=a.useRef(!1),i=a.useRef(()=>{});return a.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){y("dismissableLayer.pointerDownOutside",r,a,{discrete:!0})},a={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=n,t.addEventListener("click",i.current,{once:!0})):n()}else t.removeEventListener("click",i.current);n.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[..._.branches].some(e=>e.contains(t));R&&!r&&(l?.(e),v?.(e),e.defaultPrevented||b?.())},T),N=function(e,t=globalThis?.document){let r=(0,c.c)(e),n=a.useRef(!1);return a.useEffect(()=>{let e=e=>{e.target&&!n.current&&y("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![..._.branches].some(e=>e.contains(t))&&(m?.(e),v?.(e),e.defaultPrevented||b?.())},T);return(0,d.U)(e=>{I===_.layers.size-1&&(n?.(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},T),a.useEffect(()=>{if(S)return r&&(0===_.layersWithOutsidePointerEventsDisabled.size&&(i=T.body.style.pointerEvents,T.body.style.pointerEvents="none"),_.layersWithOutsidePointerEventsDisabled.add(S)),_.layers.add(S),g(),()=>{r&&1===_.layersWithOutsidePointerEventsDisabled.size&&(T.body.style.pointerEvents=i)}},[S,T,r,_]),a.useEffect(()=>()=>{S&&(_.layers.delete(S),_.layersWithOutsidePointerEventsDisabled.delete(S),g())},[S,_]),a.useEffect(()=>{let e=()=>O({});return document.addEventListener(h,e),()=>document.removeEventListener(h,e)},[]),(0,f.jsx)(u.sG.div,{...E,ref:x,style:{pointerEvents:C?R?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.m)(e.onFocusCapture,N.onFocusCapture),onBlurCapture:(0,o.m)(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:(0,o.m)(e.onPointerDownCapture,D.onPointerDownCapture)})});function g(){let e=new CustomEvent(h);document.dispatchEvent(e)}function y(e,t,r,{discrete:n}){let i=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?(0,u.hO)(i,a):i.dispatchEvent(a)}m.displayName="DismissableLayer",a.forwardRef((e,t)=>{let r=a.useContext(p),n=a.useRef(null),i=(0,s.s)(t,n);return a.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,f.jsx)(u.sG.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var v=r(77350),b="focusScope.autoFocusOnMount",E="focusScope.autoFocusOnUnmount",_={bubbles:!1,cancelable:!0},S=a.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...l}
1=e,[d,h]=a.useState(null),p=(0,c.c)(i),m=(0,c.c)(o),g=a.useRef(null),y=(0,s.s)(t,e=>h(e)),v=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(n){let e=function(e){if(v.paused||!d)return;let t=e.target;d.contains(t)?g.current=t:O(g.current,{select:!0})},t=function(e){if(v.paused||!d)return;let t=e.relatedTarget;null!==t&&(d.contains(t)||O(g.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&O(d)});return d&&r.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,d,v.paused]),a.useEffect(()=>{if(d){x.add(v);let e=document.activeElement;if(!d.contains(e)){let t=new CustomEvent(b,_);d.addEventListener(b,p),d.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(O(n,{select:t}),document.activeElement!==r)return}(w(d).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&O(d))}return()=>{d.removeEventListener(b,p),setTimeout(()=>{let t=new CustomEvent(E,_);d.addEventListener(E,m),d.dispatchEvent(t),t.defaultPrevented||O(e??document.body,{select:!0}),d.removeEventListener(E,m),x.remove(v)},0)}}},[d,p,m,v]);let S=a.useCallback(e=>{if(!r&&!n||v.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){var a;let t,n=e.currentTarget,[o,s]=[T(t=w(a=n),a),T(t.reverse(),a)];o&&s?e.shiftKey||i!==s?e.shiftKey&&i===o&&(e.preventDefault(),r&&O(s,{select:!0})):(e.preventDefault(),r&&O(o,{select:!0})):i===n&&e.preventDefault()}},[r,n,v.paused]);return(0,f.jsx)(u.sG.div,{tabIndex:-1,...l,ref:y,onKeyDown:S})});function w(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function T(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function O(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}S.displayName="FocusScope";var x=(n=[],{add(e){let t=n[0];e!==t&&t?.pause(),(n=P(n,e)).unshift(e)},remove(e){n=P(n,e),n[0]?.resume()}});function P(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var A=r(83037),k=r(59388),I=r(77015),C=a.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...a}=e;return(0,f.jsx)(u.sG.svg,{...a,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,f.jsx)("polygon",{points:"0,0 30,0 15,10"})})});C.displayName="Arrow";var R=r(89133),D=r(7413),N="Popper",[j,M]=(0,l.A)(N),[L,$]=j(N),U=e=>{let{__scopePopper:t,children:r}=e,[n,i]=a.useState(null);return(0,f.jsx)(L,{scope:t,anchor:n,onAnchorChange:i,children:r})};U.displayName=N;var F="PopperAnchor",B=a.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...i}=e,o=$(F,r),l=a.useRef(null),c=(0,s.s)(t,l);return a.useEffect(()=>{o.onAnchorChange(n?.current||l.current)}),n?null:(0,f.jsx)(u.sG.div,{...i,ref:c})});B.displayName=F;var z="PopperContent",[H,q]=j(z),G=a.forwardRef((e,t)=>{let{__scopePopper:r,side:n="bottom",sideOffset:i=0,align:o="center",alignOffset:l=0,arrowPadding:d=0,avoidCollisions:h=!0,collisionBoundary:p=[],collisionPadding:m=0,sticky:g="partial",hideWhenDetached:y=!1,updatePositionStrategy:v="optimized",onPlaced:b,...E}=e,_=$(z,r),[S,w]=a.useState(null),T=(0,s.s)(t,e=>w(e)),[O,x]=a.useState(null),P=(0,D.X)(O),A=P?.width??0,C=P?.height??0,N="number"==typeof m?m:{top:0,right:0,bottom:0,left:0,...m},j=Array.isArray(p)?p:[p],M=j.length>0,L={padding:N,boundary:j.filter(Z),altBoundary:M},{refs:U,floatingStyles:F,placement:B,isPositioned:q,middlewareData:G}=(0,k.we)({strategy:"fixed",placement:n+("center"!==o?"-"+o:""),whileElementsMounted:(...e)=>(0,I.ll)(...e,{animationFrame:"always"===v}),elements:{reference:_.anchor},middleware:[(0,k.cY)({mainAxis:i+C,alignmentAxis:l}),h&&(0,k.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===g?(0,k.ER)():void 0,...L}),h&&(0,k.UU)({...L}),(0,k.Ej)({...L,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty("--radix-popper-available-width",`${r}px`),o.setProperty("--radix-popper-available-height",`${n}px`),o.setProperty("--radix-popper-anchor-width",`${i}px`),o.setProperty("--radix-popper-anchor-height",`${a}px`)}}),O&&(0,k.UE)({element:O,padding:d}),K({arrowWidth:A,arrowHeight:C}),y&&(0,k.jD)({strategy:"referenceHidden",...L})]}
1),[W,V]=X(B),Y=(0,c.c)(b);(0,R.N)(()=>{q&&Y?.()},[q,Y]);let Q=G.arrow?.x,J=G.arrow?.y,ee=G.arrow?.centerOffset!==0,[et,er]=a.useState();return(0,R.N)(()=>{S&&er(window.getComputedStyle(S).zIndex)},[S]),(0,f.jsx)("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...F,transform:q?F.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[G.transformOrigin?.x,G.transformOrigin?.y].join(" "),...G.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,f.jsx)(H,{scope:r,placedSide:W,onArrowChange:x,arrowX:Q,arrowY:J,shouldHideArrow:ee,children:(0,f.jsx)(u.sG.div,{"data-side":W,"data-align":V,...E,ref:T,style:{...E.style,animation:q?void 0:"none"}})})})});G.displayName=z;var W="PopperArrow",V={top:"bottom",right:"left",bottom:"top",left:"right"},Y=a.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=q(W,r),a=V[i.placedSide];return(0,f.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,f.jsx)(C,{...n,ref:t,style:{...n.style,display:"block"}})})});function Z(e){return null!==e}Y.displayName=W;var K=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[l,u]=X(r),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,h="",p="";return"bottom"===l?(h=a?c:`${d}px`,p=`${-s}px`):"top"===l?(h=a?c:`${d}px`,p=`${n.floating.height+s}px`):"right"===l?(h=`${-s}px`,p=a?c:`${f}px`):"left"===l&&(h=`${n.floating.width+s}px`,p=a?c:`${f}px`),{data:{x:h,y:p}}}});function X(e){let[t,r="center"]=e.split("-");return[t,r]}var Q=r(13957),J=a.forwardRef((e,t)=>{let{container:r,...n}=e,[i,o]=a.useState(!1);(0,R.N)(()=>o(!0),[]);let s=r||i&&globalThis?.document?.body;return s?Q.createPortal((0,f.jsx)(u.sG.div,{...n,ref:t}),s):null});J.displayName="Portal";var ee=r(36667),et=r(82458),er=r(62049),en=r(89499),ei=r(36756),ea="Popover",[eo,es]=(0,l.A)(ea,[M]),el=M(),[eu,ec]=eo(ea),ed=e=>{let{__scopePopover:t,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:s=!1}=e,l=el(t),u=a.useRef(null),[c,d]=a.useState(!1),[h,p]=(0,er.i)({prop:n,defaultProp:i??!1,onChange:o,caller:ea});return(0,f.jsx)(U,{...l,children:(0,f.jsx)(eu,{scope:t,contentId:(0,A.B)(),triggerRef:u,open:h,onOpenChange:p,onOpenToggle:a.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:c,onCustomAnchorAdd:a.useCallback(()=>d(!0),[]),onCustomAnchorRemove:a.useCallback(()=>d(!1),[]),modal:s,children:r})})};ed.displayName=ea;var ef="PopoverAnchor",eh=a.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=ec(ef,r),o=el(r),{onCustomAnchorAdd:s,onCustomAnchorRemove:l}=i;return a.useEffect(()=>(s(),()=>l()),[s,l]),(0,f.jsx)(B,{...o,...n,ref:t})});eh.displayName=ef;var ep="PopoverTrigger",em=a.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=ec(ep,r),a=el(r),l=(0,s.s)(t,i.triggerRef),c=(0,f.jsx)(u.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":eP(i.open),...n,ref:l,onClick:(0,o.m)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?c:(0,f.jsx)(B,{asChild:!0,...a,children:c})});em.displayName=ep;var eg="PopoverPortal",[ey,ev]=eo(eg,{forceMount:void 0}),eb=e=>{let{__scopePopover:t,forceMount:r,children:n,container:i}=e,a=ec(eg,t);return(0,f.jsx)(ey,{scope:t,forceMount:r,children:(0,f.jsx)(ee.C,{present:r||a.open,children:(0,f.jsx)(J,{asChild:!0,container:i,children:n})})})};eb.displayName=eg;var eE="PopoverContent",e_=a.forwardRef((e,t)=>{let r=ev(eE,e.__scopePopover),{forceMount:n=r.forceMount,...i}=e,a=ec(eE,e.__scopePopover);return(0,f.jsx)(ee.C,{present:n||a.open,children:a.modal?(0,f.jsx)(ew,{...i,ref:t}):(0,f.jsx)(eT,{...i,ref:t})})});e_.displayName=eE;var eS=(0,et.TL)("PopoverContent.RemoveScroll"),ew=a.forwardRef((e,t)=>
1{let r=ec(eE,e.__scopePopover),n=a.useRef(null),i=(0,s.s)(t,n),l=a.useRef(!1);return a.useEffect(()=>{let e=n.current;if(e)return(0,en.Eq)(e)},[]),(0,f.jsx)(ei.A,{as:eS,allowPinchZoom:!0,children:(0,f.jsx)(eO,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.m)(e.onCloseAutoFocus,e=>{e.preventDefault(),l.current||r.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;l.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),eT=a.forwardRef((e,t)=>{let r=ec(eE,e.__scopePopover),n=a.useRef(!1),i=a.useRef(!1);return(0,f.jsx)(eO,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let a=t.target;r.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),eO=a.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...d}=e,h=ec(eE,r),p=el(r);return(0,v.Oh)(),(0,f.jsx)(S,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,f.jsx)(m,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>h.onOpenChange(!1),children:(0,f.jsx)(G,{"data-state":eP(h.open),role:"dialog",id:h.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),ex="PopoverClose";function eP(e){return e?"open":"closed"}a.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=ec(ex,r);return(0,f.jsx)(u.sG.button,{type:"button",...n,ref:t,onClick:(0,o.m)(e.onClick,()=>i.onOpenChange(!1))})}).displayName=ex,a.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=el(r);return(0,f.jsx)(Y,{...i,...n,ref:t})}).displayName="PopoverArrow";var eA=ed,ek=eh,eI=em,eC=eb,eR=e_},44111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={PARAMETER_PATTERN:function(){return d},getDynamicParam:function(){return c},interpolateParallelRouteParams:function(){return u},parseMatchedParameter:function(){return h},parseParameter:function(){return f}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(42674),o=r(88163),s=r(54369),l=r(19495);function u(e,t,r,n){let i=structuredClone(t),u=[{tree:e,depth:0}],c=(0,s.parseAppRoute)(r,!0);for(;u.length>0;){let{tree:e,depth:t}=u.pop(),{segment:r,parallelRoutes:d}=(0,o.parseLoaderTree)(e),f=(0,s.parseAppRouteSegment)(r);if(f?.type==="dynamic"&&!i.hasOwnProperty(f.param.paramName)&&!n?.has(f.param.paramName)){let{paramName:e,paramType:r}=f.param,n=(0,l.resolveParamValue)(e,r,t,c,i);if(void 0!==n)i[e]=n;else if("optional-catchall"!==r)throw Object.defineProperty(new a.InvariantError(`Could not resolve param value for segment: ${e}`),"__NEXT_ERROR_CODE",{value:"E932",enumerable:!1,configurable:!0})}let h=t;for(let e of(f&&"route-group"!==f.type&&"parallel-route"!==f.type&&h++,Object.values(d)))u.push({tree:e,depth:h})}return i}function c(e,t,r,n,i){let o=function(e,t,r){let n=e[t];if(r?.has(t)){let[e]=r.get(t);n=e}else Array.isArray(n)?n=n.map(e=>encodeURIComponent(e)):"string"==typeof n&&(n=encodeURIComponent(n));return n}(e,t,n);if(!o||0===o.length){if("oc"===r)return{param:t,value:null,type:r,treeSegment:[t,"",r,i]};throw Object.defineProperty(new a.InvariantError(`Missing value for segment key: "${t}" with dynamic param type: ${r}
1`),"__NEXT_ERROR_CODE",{value:"E864",enumerable:!1,configurable:!0})}let s=Array.isArray(o)?o.join("/"):o;return{param:t,value:o,treeSegment:[t,s,r,i],type:r}}let d=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function f(e){let t=e.match(d);return t?h(t[2]):h(e)}function h(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}},44169:(e,t,r)=>{var n=r(97592);e.exports=function(){return n.Date.now()}},44493:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>d});let n="object"==typeof self?self:globalThis,i=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new n[e](t)},a=e=>{var t;let r,a;return(t=new Map,r=(e,r)=>(t.set(r,e),e),a=o=>{if(t.has(o))return t.get(o);let[s,l]=e[o];switch(s){case 0:case -1:return r(l,o);case 1:{let e=r([],o);for(let t of l)e.push(a(t));return e}case 2:{let e=r({},o);for(let[t,r]of l)e[a(t)]=a(r);return e}case 3:return r(new Date(l),o);case 4:{let{source:e,flags:t}=l;return r(new RegExp(e,t),o)}case 5:{let e=r(new Map,o);for(let[t,r]of l)e.set(a(t),a(r));return e}case 6:{let e=r(new Set,o);for(let t of l)e.add(a(t));return e}case 7:{let{name:e,message:t}=l;return r("function"==typeof n[e]?i(e,t):Error(t),o)}case 8:return r(BigInt(l),o);case"BigInt":return r(Object(BigInt(l)),o);case"ArrayBuffer":return r(new Uint8Array(l).buffer,l);case"DataView":{let{buffer:e}=new Uint8Array(l);return r(new DataView(e),l)}}return r(i(s,l),o)})(0)},{toString:o}={},{keys:s}=Object,l=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let r=o.call(e).slice(8,-1);switch(r){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,r]}return r.includes("Array")?[1,r]:e instanceof Error?[7,e.name||"Error"]:[2,r]},u=([e,t])=>0===e&&("function"===t||"symbol"===t),c=(e,{json:t,lossy:r}={})=>{var n,i,a;let o,c,d=[];return(n=!(t||r),i=!!t,a=new Map,o=(e,t)=>{let r=d.push(e)-1;return a.set(t,r),r},c=e=>{if(a.has(e))return a.get(e);let[t,r]=l(e);switch(t){case 0:{let i=e;switch(r){case"bigint":t=8,i=e.toString();break;case"function":case"symbol":if(n)throw TypeError("unable to serialize "+r);i=null;break;case"undefined":return o([-1],e)}return o([t,i],e)}case 1:{if(r){let t=e;return"DataView"===r?t=new Uint8Array(e.buffer):"ArrayBuffer"===r&&(t=new Uint8Array(e)),o([r,[...t]],e)}let n=[],i=o([t,n],e);for(let t of e)n.push(c(t));return i}case 2:{if(r)switch(r){case"BigInt":return o([r,e.toString()],e);case"Boolean":case"Number":case"String":return o([r,e.valueOf()],e)}if(i&&"toJSON"in e)return c(e.toJSON());let a=[],d=o([t,a],e);for(let t of s(e))(n||!u(l(e[t])))&&a.push([c(t),c(e[t])]);return d}case 3:return o([t,isNaN(e.getTime())?"":e.toISOString()],e);case 4:{let{source:r,flags:n}=e;return o([t,{source:r,flags:n}],e)}case 5:{let r=[],i=o([t,r],e);for(let[t,i]of e)(n||!(u(l(t))||u(l(i))))&&r.push([c(t),c(i)]);return i}case 6:{let r=[],i=o([t,r],e);for(let t of e)(n||!u(l(t)))&&r.push(c(t));return i}}let{message:d}=e;return o([t,{name:r,message:d}],e)})(e),d},d="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?a(c(e,t)):structuredClone(e):(e,t)=>a(c(e,t))},44716: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"merkki\xe4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xe4iv\xe4m\xe4\xe4r\xe4n"}},t={regex:"s\xe4\xe4nn\xf6llinen lauseke",email:"s\xe4hk\xf6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xe4iv\xe4m\xe4\xe4r\xe4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},r=>
1{switch(r.code){case"invalid_type":return`Virheellinen tyyppi: odotettiin ${r.expected}, oli ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Virheellinen sy\xf6te: t\xe4ytyy olla ${o.stringifyPrimitive(r.values[0])}`;return`Virheellinen valinta: t\xe4ytyy olla yksi seuraavista: ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Liian suuri: ${n.subject} t\xe4ytyy olla ${t}${r.maximum.toString()} ${n.unit}`.trim();return`Liian suuri: arvon t\xe4ytyy olla ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Liian pieni: ${n.subject} t\xe4ytyy olla ${t}${r.minimum.toString()} ${n.unit}`.trim();return`Liian pieni: arvon t\xe4ytyy olla ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Virheellinen sy\xf6te: t\xe4ytyy alkaa "${r.prefix}"`;if("ends_with"===r.format)return`Virheellinen sy\xf6te: t\xe4ytyy loppua "${r.suffix}"`;if("includes"===r.format)return`Virheellinen sy\xf6te: t\xe4ytyy sis\xe4lt\xe4\xe4 "${r.includes}"`;if("regex"===r.format)return`Virheellinen sy\xf6te: t\xe4ytyy vastata s\xe4\xe4nn\xf6llist\xe4 lauseketta ${r.pattern}`;return`Virheellinen ${t[r.format]??r.format}`;case"not_multiple_of":return`Virheellinen luku: t\xe4ytyy olla luvun ${r.divisor} monikerta`;case"unrecognized_keys":return`${r.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xf6te"}})}};let o=a(r(3947))},44821:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(74180),i=r(53769),a="function"==typeof IntersectionObserver,o=new Map,s=[];function l({rootRef:e,rootMargin:t,disabled:r}){let u=r||!a,[c,d]=(0,n.useState)(!1),f=(0,n.useRef)(null),h=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(a){if(u||c)return;let r=f.current;if(r&&r.tagName)return function(e,t,r){let{id:n,observer:i,elements:a}=function(e){let t,r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=o.get(n)))return t;let 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),o.set(r,t),t}(r);return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),o.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(r,e=>e&&d(e),{root:e?.current,rootMargin:t})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,t,e,c,f.current]),[h,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)},45082:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(51401))&&n.__esModule?n:{default:n},a=r(59110);function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=a.COMMENT,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e),t}(i.default),e.exports=t.default},45410:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uppercase=t.lowercase=t.undefined=t.null=t.boolean=t.number=t.integer=t.bigint=t.string=t.date=t.e164=t.domain=t.hostname=t.base64url=t.base64=t.cidrv6=t.cidrv4=t.ipv6=t.ipv4=t._emoji=t.browserEmail=t.unicodeEmail=t.rfc5322Email=t.html5Email=t.email=t.uuid7=t.uuid6=t.uuid4=t.uuid=t.guid=t.extendedDuration=t.duration=t.nanoid=t.ksuid=t.xid=t.ulid=t.cuid2=t.cuid=void 0,t.emoji=function(){return RegExp(t._emoji,"u")},t.time=function(e){return RegExp(`^${n(e)}$`)},t.datetime=function(e){let t=n({precision:e.precision}),i=["Z"];e.local&&i.push(""),e.offset&&i.push("([+-]\\d{2}:\\d{2})");let a=`${t}(?:${i.join("|")})`;return RegExp(`^${r}T(?:${a})$`)},t.cuid=/^[cC][^\s-]{8,}
1$/,t.cuid2=/^[0-9a-z]+$/,t.ulid=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,t.xid=/^[0-9a-vA-V]{20}$/,t.ksuid=/^[A-Za-z0-9]{27}$/,t.nanoid=/^[a-zA-Z0-9_-]{21}$/,t.duration=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,t.extendedDuration=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,t.guid=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,t.uuid=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$/,t.uuid4=(0,t.uuid)(4),t.uuid6=(0,t.uuid)(6),t.uuid7=(0,t.uuid)(7),t.email=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,t.html5Email=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,t.rfc5322Email=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,t.unicodeEmail=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,t.browserEmail=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,t._emoji="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",t.ipv4=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,t.ipv6=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/,t.cidrv4=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,t.cidrv6=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,t.base64=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,t.base64url=/^[A-Za-z0-9_-]*$/,t.hostname=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/,t.domain=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,t.e164=/^\+(?:[0-9]){6,14}[0-9]$/;let r="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function n(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}t.date=RegExp(`^${r}$`),t.string=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return RegExp(`^${t}$`)},t.bigint=/^\d+n?$/,t.integer=/^\d+$/,t.number=/^-?\d+(?:\.\d+)?/i,t.boolean=/true|false/i,t.null=/null/i,t.undefined=/undefined/i,t.lowercase=/^[^A-Z]*$/,t.uppercase=/^[^a-z]*$/},46018: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}}
1,t={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},r=>{switch(r.code){case"invalid_type":return`YanlıŠdÉyÉr: g\xf6zlÉnilÉn ${r.expected}, daxil olan ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`YanlıŠdÉyÉr: g\xf6zlÉnilÉn ${o.stringifyPrimitive(r.values[0])}`;return`YanlıŠse\xe7im: aÅaÄıdakılardan biri olmalıdır: ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`\xc7ox b\xf6y\xfck: g\xf6zlÉnilÉn ${r.origin??"dÉyÉr"} ${t}${r.maximum.toString()} ${n.unit??"element"}`;return`\xc7ox b\xf6y\xfck: g\xf6zlÉnilÉn ${r.origin??"dÉyÉr"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`\xc7ox ki\xe7ik: g\xf6zlÉnilÉn ${r.origin} ${t}${r.minimum.toString()} ${n.unit}`;return`\xc7ox ki\xe7ik: g\xf6zlÉnilÉn ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`YanlıŠmÉtn: "${r.prefix}" ilÉ baÅlamalıdır`;if("ends_with"===r.format)return`YanlıŠmÉtn: "${r.suffix}" ilÉ bitmÉlidir`;if("includes"===r.format)return`YanlıŠmÉtn: "${r.includes}" daxil olmalıdır`;if("regex"===r.format)return`YanlıŠmÉtn: ${r.pattern} Åablonuna uyÄun olmalıdır`;return`YanlıŠ${t[r.format]??r.format}`;case"not_multiple_of":return`YanlıŠÉdÉd: ${r.divisor} ilÉ b\xf6l\xfcnÉ bilÉn olmalıdır`;case"unrecognized_keys":return`Tanınmayan a\xe7ar${r.keys.length>1?"lar":""}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`${r.origin} daxilindÉ yanlıŠa\xe7ar`;case"invalid_union":default:return"YanlıŠdÉyÉr";case"invalid_element":return`${r.origin} daxilindÉ yanlıŠdÉyÉr`}})}};let o=a(r(3947))},46180:(e,t,r)=>{"use strict";function n(e){return e.filter(function(e,t,r){return r.indexOf(e)===t})}r.d(t,{s:()=>n})},46187:(e,t,r)=>{var n=r(86653),i=r(49528),a=r(11335),o=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return o;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=l.test(e);return r||u.test(e)?c(e.slice(2),r?2:8):s.test(e)?o:+e}},46188:(e,t,r)=>{"use strict";r.d(t,{a:()=>i});var n=r(26253);function i(){let e={};for(let t in n.UI)e[n.UI[t]]=`rdp-${n.UI[t]}`;for(let t in n.pL)e[n.pL[t]]=`rdp-${n.pL[t]}`;for(let t in n.wc)e[n.wc[t]]=`rdp-${n.wc[t]}`;for(let t in n.X5)e[n.X5[t]]=`rdp-${n.X5[t]}`;return e}},46576:(e,t,r)=>{"use strict";r.d(t,{x:()=>i});var n=r(69472);function i(e,...t){let r=n.w.bind(null,e||t.find(e=>"object"==typeof e));return t.map(r)}},46584:(e,t,r)=>{let n=r(55118),i=r(89894),a=i();e.exports={isUsableColor:(e,t)=>n(t)&&"gray"!==e&&t[600],commonTrailingPseudos(e){let t=a.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]}}},46635:(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.reduce(function(e,t){return Array.isArray(t)?e.concat(t):e.concat([t])},[]).filter(Boolean).join(" ")}r.d(t,{cx:()=>n})},47166:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var r={bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return s},createSnapshot:function(){return u}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class a{disable(){throw i}getStore(){}run(){throw i}exit(){throw i}enterWith(){throw i}static bind(e){return e}}let o="u">typeof globalThis&&globalThis.AsyncLocalStorage;function s(){return o?new o:new a}function l(e){return o?o.bind(e):a.bind(e)}function u(){return o?o.snapshot():function(e,...t){return e(...t)}}},47667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CODE93FullASCII=t.CODE93=void 0;var n=a(r(23208)),i=a(r(43360));function a(e){return e&&e.__esModule?e:{default:e}}t.CODE93=n.default,t.CODE93FullASCII=i.default},47849: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.parsedType=void 0,t.default=function(){let e,r;return{localeError:(e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"\xf6Äe",verb:"olmalı"},set:{unit:"\xf6Äe",verb:"olmalı"}},r={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xfcre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralıÄı",cidrv6:"IPv6 aralıÄı",base64:"base64 ile ÅifrelenmiÅ metin",base64url:"base64url ile ÅifrelenmiÅ metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Åablon dizesi"},n=>{switch(n.code){case"invalid_type":return`Ge\xe7ersiz deÄer: beklenen ${n.expected}, alınan ${(0,t.parsedType)(n.input)}`;case"invalid_value":if(1===n.values.length)return`Ge\xe7ersiz deÄer: beklenen ${o.stringifyPrimitive(n.values[0])}`;return`Ge\xe7ersiz se\xe7enek: aÅaÄıdakilerden biri olmalı: ${o.joinValues(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`\xc7ok b\xfcy\xfck: beklenen ${n.origin??"deÄer"} ${t}${n.maximum.toString()} ${r.unit??"\xf6Äe"}`;return`\xc7ok b\xfcy\xfck: beklenen ${n.origin??"deÄer"} ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`\xc7ok k\xfc\xe7\xfck: beklenen ${n.origin} ${t}${n.minimum.toString()} ${r.unit}`;return`\xc7ok k\xfc\xe7\xfck: beklenen ${n.origin} ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Ge\xe7ersiz metin: "${n.prefix}" ile baÅlamalı`;if("ends_with"===n.format)return`Ge\xe7ersiz metin: "${n.suffix}" ile bitmeli`;if("includes"===n.format)return`Ge\xe7ersiz metin: "${n.includes}" i\xe7ermeli`;if("regex"===n.format)return`Ge\xe7ersiz metin: ${n.pattern} desenine uymalı`;return`Ge\xe7ersiz ${r[n.format]??n.format}`;case"not_multiple_of":return`Ge\xe7ersiz sayı: ${n.divisor} ile tam b\xf6l\xfcnebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${n.keys.length>1?"lar":""}: ${o.joinValues(n.keys,", ")}`;case"invalid_key":return`${n.origin} i\xe7inde ge\xe7ersiz anahtar`;case"invalid_union":default:return"Ge\xe7ersiz deÄer";case"invalid_element":return`${n.origin} i\xe7inde ge\xe7ersiz deÄer`}})}};let o=a(r(3947));t.parsedType=e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}},48137:()=>{},48520:(e,t,r)=>{e=r.nmd(e);var n,i,a,o,s,l,u,c,d,f,h,p="__lodash_hash_undefined__",m="[object Arguments]",g="[object Function]",y="[object Object]",v=/^\[object .+?Constructor\]$/,b=/^(?:0|[1-9]\d*)$/,E={};
vendor: 9,087 bytes, line 1
1E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E[m]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object Boolean]"]=E["[object DataView]"]=E["[object Date]"]=E["[object Error]"]=E[g]=E["[object Map]"]=E["[object Number]"]=E[y]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object WeakMap]"]=!1;var _="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,S="object"==typeof self&&self&&self.Object===Object&&self,w=_||S||Function("return this")(),T=t&&!t.nodeType&&t,O=T&&e&&!e.nodeType&&e,x=O&&O.exports===T,P=x&&_.process,A=function(){try{var e=O&&O.require&&O.require("util").types;if(e)return e;return P&&P.binding&&P.binding("util")}catch(e){}}(),k=A&&A.isTypedArray,I=Array.prototype,C=Function.prototype,R=Object.prototype,D=w["__core-js_shared__"],N=C.toString,j=R.hasOwnProperty,M=(u=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",L=R.toString,$=N.call(Object),U=RegExp("^"+N.call(j).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),F=x?w.Buffer:void 0,B=w.Symbol,z=w.Uint8Array,H=F?F.allocUnsafe:void 0,q=(c=Object.getPrototypeOf,d=Object,function(e){return c(d(e))}),G=Object.create,W=R.propertyIsEnumerable,V=I.splice,Y=B?B.toStringTag:void 0,Z=function(){try{var e=eh(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),K=F?F.isBuffer:void 0,X=Math.max,Q=Date.now,J=eh(w,"Map"),ee=eh(Object,"create"),et=function(){function e(){}return function(t){if(!eO(t))return{};if(G)return G(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 ea(e){var t=this.__data__=new en(e);this.size=t.size}function eo(e,t,r){(void 0===r||ev(e[t],r))&&(void 0!==r||t in e)||el(e,t,r)}function es(e,t){for(var r=e.length;r--;)if(ev(e[r][0],t))return r;return -1}function el(e,t,r){"__proto__"==t&&Z?Z(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,t},er.prototype.get=function(e){var t=this.__data__;if(ee){var r=t[e];return r===p?void 0:r}return j.call(t,e)?t[e]:void 0},er.prototype.has=function(e){var t=this.__data__;return ee?void 0!==t[e]:j.call(t,e)},er.prototype.set=function(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=ee&&void 0===t?p: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():V.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(J||en),string:new er}},ei.prototype.delete=function(e){var t=ef(this,e).delete(e);return this.size-=!!t,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),this},ea.prototype.clear=function(){this.__data__=new en,this.size=0},ea.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},ea.prototype.get=function(e){return this.__data__.get(e)},ea.prototype.has=function(e){return this.__data__.has(e)},ea.prototype.set=function(e,t){var r=this.__data__;if(r instanceof en){var n=r.__data__;if(!J||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),a=r(e),o=a.length;o--;){var s=a[++n];if(!1===t(i[s],s,i))break}return e};function ec(e){var t;return null==e?void 0===e?"[object Undefined]":"[object Null]":Y&&Y in Object(e)?function(e){var t=j.call(e,Y),r=e[Y];try{e[Y]=void 0;var n=!0}catch(e){}var i=L.call(e);return n&&(t?e[Y]=r:delete e[Y]),i}(e):(t=e,L.call(t))}function ed(e){return ex(e)&&ec(e)==m}function ef(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function eh(e,t){var r,n=null==e?void 0:e[t];return!(!eO(n)||(r=n,M&&M in r))&&(ew(n)?U:v).test(function(e){if(null!=e){try{return N.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(n))?n:void 0}function ep(e,t){var r=typeof e;return!!(t=null==t?0x1fffffffffffff: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||R)}function eg(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ey=(n=Z?function(e,t){var r;return Z(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0})}:eI,i=0,a=0,function(){var e=Q(),t=16-(e-a);if(a=e,t>0){if(++i>=800)return arguments[0]}else i=0;return n.apply(void 0,arguments)});function ev(e,t){return e===t||e!=e&&t!=t}var eb=ed(function(){return arguments}())?ed:function(e){return ex(e)&&j.call(e,"callee")&&!W.call(e,"callee")},eE=Array.isArray;function e_(e){return null!=e&&eT(e.length)&&!ew(e)}var eS=K||function(){return!1};function ew(e){if(!eO(e))return!1;var t=ec(e);return t==g||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eT(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function eO(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ex(e){return null!=e&&"object"==typeof e}var eP=k?function(e){return k(e)}:function(e){return ex(e)&&eT(e.length)&&!!E[ec(e)]};function eA(e){return e_(e)?function(e,t){var r=eE(e),n=!r&&eb(e),i=!r&&!n&&eS(e),a=!r&&!n&&!i&&eP(e),o=r||n||i||a,s=o?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||j.call(e,u))&&!(o&&("length"==u||i&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ep(u,l)))&&s.push(u);return s}(e,!0):function(e){if(!eO(e)){var t=e,r=[];if(null!=t)for(var n in Object(t))r.push(n);return r}var i=em(e),a=[];for(var o in e)"constructor"==o&&(i||!j.call(e,o))||a.push(o);return a}(e)}var ek=(f=function(e,t,r){!function e(t,r,n,i,a){t!==r&&eu(r,function(o,s){if(a||(a=new ea),eO(o))!function(e,t,r,n,i,a,o){var s=eg(e,r),l=eg(t,r),u=o.get(l);if(u)return eo(e,r,u);var c=a?a(s,l,r+"",e,t,o):void 0,d=void 0===c;if(d){var f,h,p,m,g,v,b,E=eE(l),_=!E&&eS(l),S=!E&&!_&&eP(l);c=l,E||_||S?eE(s)?c=s:ex(f=s)&&e_(f)?c=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}(s):_?(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)):S?(d=!1,h=l,g=(new z(m=new(p=h.buffer).constructor(p.byteLength)).set(new z(p)),m),c=new h.constructor(g,h.byteOffset,h.length)):c=[]:function(e){if(!ex(e)||ec(e)!=y)return!1;var t=q(e);if(null===t)return!0;var r=j.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&N.call(r)==$}(l)||eb(l)?(c=s,eb(s)?c=function(e,t,r){var n=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var o=t[i],s=void 0;void 0===s&&(s=e[o]),n?el(r,o,s):function(e,t,r){var n=e[t];j.call(e,t)&&ev(n,r)&&(void 0!==r||t in e)||el(e,t,r)}(r,o,s)}return r}(v=s,eA(v)):(!eO(s)||ew(s))&&(c="function"!=typeof(b=l).constructor||em(b)?{}:et(q(b)))):d=!1}d&&(o.set(l,c),i(c,l,n,a,o),o.delete(l)),eo(e,r,c)}(t,r,s,n,e,i,a);else{var l=i?i(eg(t,s),o,s+"",t,r,a):void 0;void 0===l&&(l=o),eo(t,s,l)}},eA)}(e,t,r)},ey((o=h=function(e,t){var r=-1,n=t.length,i=n>1?t[n-1]:void 0,a=n>2?t[2]:void 0;for(i=f.length>3&&"function"==typeof i?(n--,i):void 0,a&&function(e,t,r){if(!eO(r))return!1;var n=typeof t;return("number"==n?!!(e_(r)&&ep(t,r.length)):"string"==n&&t in r)&&ev(r[t],e)}(t[0],t[1],a)&&(i=n<3?void 0:i,n=1),e=Object(e);++r<n;){var o=t[r];o&&f(e,o,r,i)}return e},s=void 0,l=eI,s=X(void 0===s?o.length-1:s,0),function(){for(var e=arguments,t=-1,r=X(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];i[s]=l(n);switch(i.length){case 0:return o.call(this);case 1:return o.call(this,i[0]);case 2:return o.call(this,i[0],i[1]);case 3:return o.call(this,i[0],i[1],i[2])}return o.apply(this,i)}),h+""));function eI(e){return e}e.exports=ek},48843: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);
1(!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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TimePrecision=void 0,t._string=function(e,t){return new e({type:"string",...l.normalizeParams(t)})},t._coercedString=function(e,t){return new e({type:"string",coerce:!0,...l.normalizeParams(t)})},t._email=function(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._guid=function(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._uuid=function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._uuidv4=function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...l.normalizeParams(t)})},t._uuidv6=function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...l.normalizeParams(t)})},t._uuidv7=function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...l.normalizeParams(t)})},t._url=function(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._emoji=function(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._nanoid=function(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._cuid=function(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._cuid2=function(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._ulid=function(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._xid=function(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._ksuid=function(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._ipv4=function(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._ipv6=function(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._cidrv4=function(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._cidrv6=function(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._base64=function(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._base64url=function(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._e164=function(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._jwt=function(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...l.normalizeParams(t)})},t._isoDateTime=function(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...l.normalizeParams(t)})},t._isoDate=function(e,t){return new e({type:"string",format:"date",check:"string_format",...l.normalizeParams(t)})},t._isoTime=function(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...l.normalizeParams(t)})},t._isoDuration=function(e,t){return new e({type:"string",format:"duration",check:"string_format",...l.normalizeParams(t)})},t._number=function(e,t){return new e({type:"number",checks:[],...l.normalizeParams(t)})},t._coercedNumber=function(e,t){return new e({type:"number",coerce:!0,checks:[],...l.normalizeParams(t)})},t._int=function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...l.normalizeParams(t)})},t._float32=function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...l.normalizeParams(t)})},t._float64=function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...l.normalizeParams(t)})},t._int32=function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...l.normalizeParams(t)})},t._uint32=function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...l.normalizeParams(t)})},t._boolean=function(e,t){return new e({type:"boolean",...l.normalizeParams(t)})},t._coercedBoolean=function(e,t){return new e({type:"boolean",coerce:!0,...l.normalizeParams(t)})},t._bigint=function(e,t){return new e({type:"bigint",...l.normalizeParams(t)})},t._coercedBigint=function(e,t){return new e({type:"bigint",coerce:!0,...l.normalizeParams(t)})},t._int64=function(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...l.normalizeParams(t)})},t._uint64=function(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...l.normalizeParams(t)})},t._symbol=function(e,t){return new e({type:"symbol",...l.normalizeParams(t)})},t._undefined=function(e,t){return new e({type:"undefined",...l.normalizeParams(t)})},t._null=function(e,t){return new e({type:"null",...l.normalizeParams(t)})},t._any=function(e){return new e({type:"any"})},t._unknown=function(e){return new e({type:"unknown"})},t._never=function(e,t){return new e({type:"never",...l.normalizeParams(t)})},t._void=function(e,t){return new e({type:"void",...l.normalizeParams(t)})},t._date=function(e,t){return new e({type:"date",...l.normalizeParams(t)})},t._coercedDate=function(e,t){return new e({type:"date",coerce:!0,...l.normalizeParams(t)})},t._nan=function(e,t){return new e({type:"nan",...l.normalizeParams(t)})},t._lt=u,t._lte=c,t._max=c,t._lte=c,t._max=c,t._gt=d,t._gte=f,t._min=f,t._gte=f,t._min=f,t._positive=function(e){return d(0,e)},t._negative=function(e){return u(0,e)},t._nonpositive=function(e){return c(0,e)},t._nonnegative=function(e){return f(0,e)},t._multipleOf=function(e,t){return new o.$ZodCheckMultipleOf({check:"multiple_of",...l.normalizeParams(t),value:e})},t._maxSize=function(e,t){return new o.$ZodCheckMaxSize({check:"max_size",...l.normalizeParams(t),maximum:e})},t._minSize=function(e,t){return new o.$ZodCheckMinSize({check:"min_size",...l.normalizeParams(t),minimum:e})},t._size=function(e,t){return new o.$ZodCheckSizeEquals({check:"size_equals",...l.normalizeParams(t),size:e})},t._maxLength=function(e,t){return new o.$ZodCheckMaxLength({check:"max_length",...l.normalizeParams(t),maximum:e})},t._minLength=function(e,t){return new o.$ZodCheckMinLength({check:"min_length",...l.normalizeParams(t),minimum:e})},t._length=function(e,t){return new o.$ZodCheckLengthEquals({check:"length_equals",...l.normalizeParams(t),length:e})},t._regex=function(e,t){return new o.$ZodCheckRegex({check:"string_format",format:"regex",...l.normalizeParams(t),pattern:e})},t._lowercase=function(e){return new o.$ZodCheckLowerCase({check:"string_format",format:"lowercase",...l.normalizeParams(e)})},t._uppercase=function(e){return new o.$ZodCheckUpperCase({check:"string_format",format:"up
1percase",...l.normalizeParams(e)})},t._includes=function(e,t){return new o.$ZodCheckIncludes({check:"string_format",format:"includes",...l.normalizeParams(t),includes:e})},t._startsWith=function(e,t){return new o.$ZodCheckStartsWith({check:"string_format",format:"starts_with",...l.normalizeParams(t),prefix:e})},t._endsWith=function(e,t){return new o.$ZodCheckEndsWith({check:"string_format",format:"ends_with",...l.normalizeParams(t),suffix:e})},t._property=function(e,t,r){return new o.$ZodCheckProperty({check:"property",property:e,schema:t,...l.normalizeParams(r)})},t._mime=function(e,t){return new o.$ZodCheckMimeType({check:"mime_type",mime:e,...l.normalizeParams(t)})},t._overwrite=h,t._normalize=function(e){return h(t=>t.normalize(e))},t._trim=function(){return h(e=>e.trim())},t._toLowerCase=function(){return h(e=>e.toLowerCase())},t._toUpperCase=function(){return h(e=>e.toUpperCase())},t._array=function(e,t,r){return new e({type:"array",element:t,...l.normalizeParams(r)})},t._union=function(e,t,r){return new e({type:"union",options:t,...l.normalizeParams(r)})},t._discriminatedUnion=function(e,t,r,n){return new e({type:"union",options:r,discriminator:t,...l.normalizeParams(n)})},t._intersection=function(e,t,r){return new e({type:"intersection",left:t,right:r})},t._tuple=function(e,t,r,n){let i=r instanceof s.$ZodType,a=i?n:r;return new e({type:"tuple",items:t,rest:i?r:null,...l.normalizeParams(a)})},t._record=function(e,t,r,n){return new e({type:"record",keyType:t,valueType:r,...l.normalizeParams(n)})},t._map=function(e,t,r,n){return new e({type:"map",keyType:t,valueType:r,...l.normalizeParams(n)})},t._set=function(e,t,r){return new e({type:"set",valueType:t,...l.normalizeParams(r)})},t._enum=function(e,t,r){return new e({type:"enum",entries:Array.isArray(t)?Object.fromEntries(t.map(e=>[e,e])):t,...l.normalizeParams(r)})},t._nativeEnum=function(e,t,r){return new e({type:"enum",entries:t,...l.normalizeParams(r)})},t._literal=function(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...l.normalizeParams(r)})},t._file=function(e,t){return new e({type:"file",...l.normalizeParams(t)})},t._transform=function(e,t){return new e({type:"transform",transform:t})},t._optional=function(e,t){return new e({type:"optional",innerType:t})},t._nullable=function(e,t){return new e({type:"nullable",innerType:t})},t._default=function(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return"function"==typeof r?r():r}})},t._nonoptional=function(e,t,r){return new e({type:"nonoptional",innerType:t,...l.normalizeParams(r)})},t._success=function(e,t){return new e({type:"success",innerType:t})},t._catch=function(e,t,r){return new e({type:"catch",innerType:t,catchValue:"function"==typeof r?r:()=>r})},t._pipe=function(e,t,r){return new e({type:"pipe",in:t,out:r})},t._readonly=function(e,t){return new e({type:"readonly",innerType:t})},t._templateLiteral=function(e,t,r){return new e({type:"template_literal",parts:t,...l.normalizeParams(r)})},t._lazy=function(e,t){return new e({type:"lazy",getter:t})},t._promise=function(e,t){return new e({type:"promise",innerType:t})},t._custom=function(e,t,r){let n=l.normalizeParams(r);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:t,...n})},t._refine=function(e,t,r){return new e({type:"custom",check:"custom",fn:t,...l.normalizeParams(r)})},t._stringbool=function(e,t){let r=l.normalizeParams(t),n=r.truthy??["true","1","yes","on","y","enabled"],i=r.falsy??["false","0","no","off","n","disabled"];"sensitive"!==r.case&&(n=n.map(e=>"string"==typeof e?e.toLowerCase():e),i=i.map(e=>"string"==typeof e?e.toLowerCase():e));let a=new Set(n),o=new Set(i),u=e.Pipe??s.$ZodPipe,c=e.Boolean??s.$ZodBoolean,d=e.String??s.$ZodString,f=new(e.Transform??s.$ZodTransform)({type:"transform",transform:(e,t)=>{let n=e;return"sensitive"!==r.case&&(n=n.toLowerCase()),!!a.has(n)||!o.has(n)&&(t.issues.push({code:"invalid_value",expected:"stringbool",values:[...a,...o],input:t.value,inst:f}),{})},error:r.error}),h=new u({type:"pipe",in:new d({type:"string",error:r.error}),out:f,error:r.error});return new u({type:"pipe",in:h,out:new c({type:"boolean",error:r.error}),error:r.error})},t._stringFormat=function(e,t,r,n={}){let i=l.normalizeParams(n),a={...l.normalizeParams(n),check:"string_format",type:"string",format:t,fn:"function"==typeof r?r:e=>r.test(e),...i};return r instanceof RegExp&&(a.pattern=r),new e(a)};let o=a(r(6112)),s=a(r(50767)),l=a(r(3947));function u(e,t){return new o.$ZodCheckLessThan({check:"less_than",...l.normalizeParams(t),value:e,inclusive:!1})}function c(e,t){return new o.$ZodCheckLessThan({check:"less_than",...l.normalizeParams(t),value:e,inclusive:!0})}function d(e,t){return new o.$ZodCheckGreaterThan({check:"greater_than",...l.normalizeParams(t),value:e,inclusive:!1})}function f(e,t){return new o.$ZodCheckGreaterThan({check:"greater_than",...l.normalizeParams(t),value:e,inclusive:!0})}function h(e){return new o.$ZodCheckOverwrite({check:"overwrite",tx:e})}t.TimePrecision={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}},48872:(e,t,r)=>{"use strict";r.d(t,{E:()=>o});var n=r(95072),i=r(54589);let a=Object.keys(i);class o extends n.R{constructor(e,t,r,n){let o=-1;if(super(e,t),function(e,t,r){r&&(e[t]=r)}(this,"space",n),"number"==typeof r)for(;++o<a.length;){const e=a[o];!function(e,t,r){r&&(e[t]=r)}(this,a[o],(r&i[e])===i[e])}}}o.prototype.defined=!0},48934:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0})},49040:(e,t,r)=>{"use strict";e.exports=function(e){return function(t,r){var n,u,c,d,f,h=e.hierarchicalFacets[r],p=e.hierarchicalFacetsRefinements[h.name]&&e.hierarchicalFacetsRefinements[h.name][0]||"",m=e._getHierarchicalFacetSeparator(h),g=e._getHierarchicalRootPath(h),y=e._getHierarchicalShowParentLevel(h),v=a(e._getHierarchicalFacetSortBy(h)),b=t.every(function(e){return e.exhaustive}),E=(n=v,u=m,c=g,d=y,f=p,function(e,t,r){var a=e;if(r>0){var h=0;for(a=e;h<r;)a=i(a&&Array.isArray(a.data)?a.data:[],function(e){return e.isRefined}),h++}if(a){var p=Object.keys(t.data).map(function(e){return[e,t.data[e]]}).filter(function(e){var t,r,n,i,o,s;return t=e[0],r=a.path||c,n=f,i=u,o=c,s=d,(!o||0===t.indexOf(o)&&o!==t)&&(!o&&-1===t.indexOf(i)||o&&t.split(i).length-o.split(i).length==1||-1===t.indexOf(i)&&-1===n.indexOf(i)||0===n.indexOf(t)||0===t.indexOf(r+i)&&(s||0===t.indexOf(n)))});a.data=o(p.map(function(e){var r,n,i,a,o,c,d=e[0];return r=e[1],n=d,i=u,a=l(f),o=t.exhaustive,{name:(c=n.split(i))[c.length-1].trim(),path:n,escapedValue:s(n),count:r,isRefined:a===n||0===a.indexOf(n+i),exhaustive:o,data:null}}),n[0],n[1])}return e}),_=t;return g&&(_=t.slice(g.split(m).length)),_.reduce(E,{name:e.hierarchicalFacets[r].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:b,data:null})}};var n=r(4116),i=r(65320),a=r(5800),o=r(73192),s=n.escapeFacetValue,l=n.unescapeFacetValue},49237:(e,t,r)=>{"use strict";var n=r(84961);function i(e){return Object.keys(e).sort().reduce(function(t,r){return t[r]=e[r],t},{})}var a={_getQueries:function(e,t){var r=[];return r.push({indexName:e,params:a._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach(function(n){r.push({indexName:e,params:a._getDisjunctiveFacetSearchParams(t,n)})}),t.getRefinedHierarchicalFacets().forEach(function(n){var i=t.getHierarchicalFacetByName(n),o=t.getHierarchicalRefinement(n),s=t._getHierarchicalFacetSeparator(i);if(o.length>0&&o[0].split(s).length>1){var l=o[0].split(s).slice(0,-1).reduce(function(e,t,r){return e.concat({attribute:i.attributes[r],value:0===r?t:[e[e.length-1].value,t].join(s)})},[]);l.forEach(function(n,o){var s=a._getDisjunctiveFacetSearchParams(t,n.attribute,0===o);function u(e){return i.attributes.some(function(t){return t===e.split(":")[0]})}var c=(s.facetFilters||[]).reduce(function(e,t){if(Array.isArray(t)){var r=t.filter(function(e){return!u(e)});r.length>0&&e.push(r)}return"string"!=typeof t||u(t)||e.push(t),e},[]),d=l[o-1];o>0?s.facetFilters=c.concat(d.attribute+":"+d.value):c.length>0?s.facetFilters=c:delete s.facetFilters,r.push({indexName:e,params:s})})}}),r},_getCompositionQueries:function(e){return[{compositionID:e.index,requestBody:{params:a._getCompositionHitsSearchParams(e)}}]},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(a._getHitsHierarchicalFacetsAttributes(e)).sort(),r=a._getFacetFilters(e),o=a._getNumericFilters(e),s=a._getTagFilters(e),l={};return t.length>0&&(l.facets=t.indexOf("*")>-1?["*"]:t),s.length>0&&(l.tagFilters=s),r.length>0&&(l.facetFilters=r),o.length>0&&(l.numericFilters=o),i(n({},e.getQueryParams(),l))},_getCompositionHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets.map(function(e){return"disjunctive("+e+")"})).concat(a._getHitsHierarchicalFacetsAttributes(e)).sort(),r=a._getFacetFilters(e),o=a._getNumericFilters(e),s=a._getTagFilters(e),l={};t.length>0&&(l.facets=t.indexOf("*")>-1?["*"]:t),s.length>0&&(l.tagFilters=s),r.length>0&&(l.facetFilters=r),o.length>0&&(l.numericFilters=o);var u=e.getQueryParams();return delete u.highlightPreTag,delete u.highlightPostTag,delete u.index,i(n({},u,l))},_getDisjunctiveFacetSearchParams:function(e,t,r){var o=a._getFacetFilters(e,t,r),s=a._getNumericFilters(e,t),l=a._getTagFilters(e),u={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};l.length>0&&(u.tagFilters=l);var c=e.getHierarchicalFacetByName(t);return c?u.facets=a._getDisjunctiveHierarchicalFacetAttribute(e,c,r):u.facets=t,s.length>0&&(u.numericFilters=s),o.length>0&&(u.facetFilters=o),i(n({},e.getQueryParams(),u))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var r=[];
1return Object.keys(e.numericRefinements).forEach(function(n){var i=e.numericRefinements[n]||{};Object.keys(i).forEach(function(e){var a=i[e]||[];t!==n&&a.forEach(function(t){if(Array.isArray(t)){var i=t.map(function(t){return n+e+t});r.push(i)}else r.push(n+e+t)})})}),r},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,r){var n=[],i=e.facetsRefinements||{};Object.keys(i).sort().forEach(function(e){(i[e]||[]).slice().sort().forEach(function(t){n.push(e+":"+t)})});var a=e.facetsExcludes||{};Object.keys(a).sort().forEach(function(e){(a[e]||[]).sort().forEach(function(t){n.push(e+":-"+t)})});var o=e.disjunctiveFacetsRefinements||{};Object.keys(o).sort().forEach(function(e){var r=o[e]||[];if(e!==t&&r&&0!==r.length){var i=[];r.slice().sort().forEach(function(t){i.push(e+":"+t)}),n.push(i)}});var s=e.hierarchicalFacetsRefinements||{};return Object.keys(s).sort().forEach(function(i){var a,o,l=(s[i]||[])[0];if(void 0!==l){var u=e.getHierarchicalFacetByName(i),c=e._getHierarchicalFacetSeparator(u),d=e._getHierarchicalRootPath(u);if(t===i){if(-1===l.indexOf(c)||!d&&!0===r||d&&d.split(c).length===l.split(c).length)return;d?(o=d.split(c).length-1,l=d):(o=l.split(c).length-2,l=l.slice(0,l.lastIndexOf(c))),a=u.attributes[o]}else o=l.split(c).length-1,a=u.attributes[o];a&&n.push([a+":"+l])}}),n},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce(function(t,r){var n=e.getHierarchicalRefinement(r.name)[0];if(!n)return t.push(r.attributes[0]),t;var i=e._getHierarchicalFacetSeparator(r),a=n.split(i).length,o=r.attributes.slice(0,a+1);return t.concat(o)},[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,r){var n=e._getHierarchicalFacetSeparator(t);if(!0===r){var i=e._getHierarchicalRootPath(t),a=0;return i&&(a=i.split(n).length),[t.attributes[a]]}var o=(e.getHierarchicalRefinement(t.name)[0]||"").split(n).length-1;return t.attributes.slice(0,o+1)},getSearchForFacetQuery:function(e,t,r,o){var s=o.isDisjunctiveFacet(e)?o.clearRefinements(e):o,l={facetQuery:t,facetName:e};return"number"==typeof r&&(l.maxFacetHits=r),i(n({},a._getHitsSearchParams(s),l))}};e.exports=a},49243:(e,t,r)=>{"use strict";r.d(t,{Z:()=>v});var n=r(58326),i=r(43573),a=r(7005),o=r(97208),s=r(27868);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){var n;return(n=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==l(n)?n:String(n))in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=(0,i.V)({name:"configure",connector:!0});function h(e,t){return e.setQueryParameters(Object.keys(t.searchParameters).reduce(function(e,t){return c(c({},e),{},d({},t,void 0))},{}))}let p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.l;return function(r){if(!r||!(0,o.Q)(r.searchParameters))throw Error(f("The `searchParameters` option expects an object."));var i={};return{$$type:"ais.configure",init:function(t){var r=t.instantSearchInstance;e(c(c({},this.getWidgetRenderState(t)),{},{instantSearchInstance:r}),!0)},render:function(t){var r=t.instantSearchInstance;e(c(c({},this.getWidgetRenderState(t)),{},{instantSearchInstance:r}),!1)},dispose:function(e){var n=e.state;return t(),h(n,r)},getRenderState:function(e,t){var r,i=this.getWidgetRenderState(t);return c(c({},e),{},{configure:c(c({},i),{},{widgetParams:c(c({},i.widgetParams),{},{searchParameters:(0,s.p)(new n.SearchParameters(null==(r=e.configure)?void 0:r.widgetParams.searchParameters),new n.SearchParameters(i.widgetParams.searchParameters)).getQueryParams()})})})},getWidgetRenderState:function(e){var t=e.helper;return i.refine||(i.refine=function(e){var i=h(t.state,r),a=(0,s.p)(i,new n.SearchParameters(e));r.searchParameters=e,t.setState(a).search()}),{refine:i.refine,widgetParams:r}},getWidgetSearchParameters:function(e,t){var i=t.uiState;return(0,s.p)(e,new n.SearchParameters(c(c({},i.configure),r.searchParameters)))},getWidgetUiState:function(e){return c(c({},e),{},{configure:c(c({},e.configure),r.searchParameters)})}}}};var m=r(80488);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){var t,r;return t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?y(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=g(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=g(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==g(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e),r={$$widgetType:"ais.configure"},(0,m.Z)(p,{searchParameters:t},r),null}},49528:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},49711:(e,t,r)=>{"use strict";r.d(t,{t:()=>a});var n=r(4574);function i(e,t,r,i){var a,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s={type:t,attribute:r,name:i,escapedValue:"number"==typeof i&&i<0||"string"==typeof i?String(i).replace(/^-/,"\\-"):i},l=(0,n.I)(o,function(e){return e.name===r});if("hierarchical"===t){for(var u=e.getHierarchicalFacetByName(r),c=i.split(u.separator),d=function(e){var t;l=l&&l.data&&(0,n.I)(Object.keys(l.data).map((t=l.data,function(e){return t[e]})),function(t){return t.name===c[e]})},f=0;void 0!==l&&f<c.length;++f)d(f);a=l&&l.count}else a=l&&l.data&&l.data[s.name];return void 0!==a&&(s.count=a),l&&void 0!==l.exhaustive&&(s.exhaustive=l.exhaustive),s}function a(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e||{},a=[],o=t.facetsRefinements,s=void 0===o?{}:o,l=t.facetsExcludes,u=void 0===l?{}:l,c=t.disjunctiveFacetsRefinements,d=void 0===c?{}:c,f=t.hierarchicalFacetsRefinements,h=void 0===f?{}:f,p=t.numericRefinements,m=void 0===p?{}:p,g=t.tagRefinements;return Object.keys(s).forEach(function(e){s[e].forEach(function(r){a.push(i(t,"facet",e,r,n.facets))})}),Object.keys(u).forEach(function(e){u[e].forEach(function(t){a.push({type:"exclude",attribute:e,name:t,exclude:!0})})}),Object.keys(d).forEach(function(e){d[e].forEach(function(r){a.push(i(t,"disjunctive",e,"string"==typeof r?r.replace(/^\\-/,"-"):r,n.disjunctiveFacets))})}),Object.keys(h).forEach(function(e){h[e].forEach(function(r){a.push(i(t,"hierarchical",e,r,n.hierarchicalFacets))})}),Object.keys(m).forEach(function(e){var t=m[e];Object.keys(t).forEach(function(r){var n=t[r];(Array.isArray(n)?n:[n]).forEach(function(t){a.push({type:"numeric",attribute:e,name:"".concat(t),numericValue:t,operator:r})})})}),(void 0===g?[]:g).forEach(function(e){a.push({type:"tag",attribute:"_tags",name:e})}),r&&t.query&&t.query.trim()&&a.push({attribute:"query",type:"query",name:t.query,query:t.query}),a}},49903:e=>{"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},50258:(e,t,r)=>{"use strict";r.d(t,{C1:()=>eo,q7:()=>ea,bL:()=>ei});var n=r(74180),i=r.t(n,2);function a(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}var o=r(23085),s=r(67368);function l(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return i.scopeName=e,[function(t,i){let a=n.createContext(i),o=r.length;r=[...r,i];let l=t=>{let{scope:r,children:i,...l}=t,u=r?.[e]?.[o]||a,c=n.useMemo(()=>l,Object.values(l));return(0,s.jsx)(u.Provider,{value:c,children:i})};return l.displayName=t+"Provider",[l,function(r,s){let l=s?.[e]?.[o]||a,u=n.useContext(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(i,...t)]}r(13957);var u=r(47644),c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>
1{let r=n.forwardRef((e,r)=>{let{asChild:n,...i}=e,a=n?u.DX:t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(a,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),d=globalThis?.document?n.useLayoutEffect:()=>{},f=i["useId".toString()]||(()=>void 0),h=0;function p(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}function m({prop:e,defaultProp:t,onChange:r=()=>{}}){let[i,a]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[i]=r,a=n.useRef(i),o=p(t);return n.useEffect(()=>{a.current!==i&&(o(i),a.current=i)},[i,a,o]),r}({defaultProp:t,onChange:r}),o=void 0!==e,s=o?e:i,l=p(r);return[s,n.useCallback(t=>{if(o){let r="function"==typeof t?t(e):t;r!==e&&l(r)}else a(t)},[o,e,a,l])]}var g=n.createContext(void 0);function y(e){let t=n.useContext(g);return e||t||"ltr"}var v="rovingFocusGroup.onEntryFocus",b={bubbles:!1,cancelable:!0},E="RovingFocusGroup",[_,S,w]=function(e){let t=e+"CollectionProvider",[r,i]=l(t),[a,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,i=n.useRef(null),o=n.useRef(new Map).current;return(0,s.jsx)(a,{scope:t,itemMap:o,collectionRef:i,children:r})};d.displayName=t;let f=e+"CollectionSlot",h=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=c(f,r),a=(0,o.s)(t,i.collectionRef);return(0,s.jsx)(u.DX,{ref:a,children:n})});h.displayName=f;let p=e+"CollectionItemSlot",m="data-radix-collection-item",g=n.forwardRef((e,t)=>{let{scope:r,children:i,...a}=e,l=n.useRef(null),d=(0,o.s)(t,l),f=c(p,r);return n.useEffect(()=>(f.itemMap.set(l,{ref:l,...a}),()=>void f.itemMap.delete(l))),(0,s.jsx)(u.DX,{...{[m]:""},ref:d,children:i})});return g.displayName=p,[{Provider:d,Slot:h,ItemSlot:g},function(t){let r=c(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},i]}(E),[T,O]=l(E,[w]),[x,P]=T(E),A=n.forwardRef((e,t)=>(0,s.jsx)(_.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,s.jsx)(_.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,s.jsx)(k,{...e,ref:t})})}));A.displayName=E;var k=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:i,loop:l=!1,dir:u,currentTabStopId:d,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:h,onEntryFocus:g,preventScrollOnEntryFocus:E=!1,..._}=e,w=n.useRef(null),T=(0,o.s)(t,w),O=y(u),[P=null,A]=m({prop:d,defaultProp:f,onChange:h}),[k,I]=n.useState(!1),C=p(g),R=S(r),N=n.useRef(!1),[j,M]=n.useState(0);return n.useEffect(()=>{let e=w.current;if(e)return e.addEventListener(v,C),()=>e.removeEventListener(v,C)},[C]),(0,s.jsx)(x,{scope:r,orientation:i,dir:O,loop:l,currentTabStopId:P,onItemFocus:n.useCallback(e=>A(e),[A]),onItemShiftTab:n.useCallback(()=>I(!0),[]),onFocusableItemAdd:n.useCallback(()=>M(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>M(e=>e-1),[]),children:(0,s.jsx)(c.div,{tabIndex:k||0===j?-1:0,"data-orientation":i,..._,ref:T,style:{outline:"none",...e.style},onMouseDown:a(e.onMouseDown,()=>{N.current=!0}),onFocus:a(e.onFocus,e=>{let t=!N.current;if(e.target===e.currentTarget&&t&&!k){let t=new CustomEvent(v,b);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=R().filter(e=>e.focusable);D([e.find(e=>e.active),e.find(e=>e.id===P),...e].filter(Boolean).map(e=>e.ref.current),E)}}N.current=!1}),onBlur:a(e.onBlur,()=>I(!1))})})}),I="RovingFocusGroupItem",C=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:i=!0,active:o=!1,tabStopId:l,...u}=e,p=function(){let[e,t]=n.useState(f());return d(()=>{t(e=>e??String(h++))},[void 0]),e?`radix-${e}`:""}(),m=l||p,g=P(I,r),y=g.currentTabStopId===m,v=S(r),{onFocusableItemAdd:b,onFocusableItemRemove:E}=g;return n.useEffect(()=>{if(i)return b(),()=>E()},[i,b,E]),(0,s.jsx)(_.ItemSlot,{scope:r,id:m,focusable:i,active:o,children:(0,s.jsx)(c.span,{tabIndex:y?0:-1,"data-orientation":g.orientation,...u,ref:t,onMouseDown:a(e.onMouseDown,e=>{i?g.onItemFocus(m):e.preventDefault()}),onFocus:a(e.onFocus,()=>g.onItemFocus(m)),onKeyDown:a(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void g.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return R[i]}(e,g.orientation,g.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=v().filter(e=>
1e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&i.reverse();let a=i.indexOf(e.currentTarget);i=g.loop?(r=i,n=a+1,r.map((e,t)=>r[(n+t)%r.length])):i.slice(a+1)}setTimeout(()=>D(i))}})})})});C.displayName=I;var R={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function D(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var N=e=>{var t;let r,i,{present:a,children:s}=e,l=function(e){var t,r;let[i,a]=n.useState(),o=n.useRef({}),s=n.useRef(e),l=n.useRef("none"),[u,c]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>r[e][t]??e,t));return n.useEffect(()=>{let e=j(o.current);l.current="mounted"===u?e:"none"},[u]),d(()=>{let t=o.current,r=s.current;if(r!==e){let n=l.current,i=j(t);e?c("MOUNT"):"none"===i||t?.display==="none"?c("UNMOUNT"):r&&n!==i?c("ANIMATION_OUT"):c("UNMOUNT"),s.current=e}},[e,c]),d(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=j(o.current).includes(r.animationName);if(r.target===i&&n&&(c("ANIMATION_END"),!s.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(l.current=j(o.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}c("ANIMATION_END")},[i,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:n.useCallback(e=>{e&&(o.current=getComputedStyle(e)),a(e)},[])}}(a),u="function"==typeof s?s({present:l.isPresent}):n.Children.only(s),c=(0,o.s)(l.ref,(t=u,(i=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(i=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof s||l.isPresent?n.cloneElement(u,{ref:c}):null};function j(e){return e?.animationName||"none"}N.displayName="Presence";var M="Radio",[L,$]=l(M),[U,F]=L(M),B=n.forwardRef((e,t)=>{let{__scopeRadio:r,name:i,checked:l=!1,required:u,disabled:d,value:f="on",onCheck:h,form:p,...m}=e,[g,y]=n.useState(null),v=(0,o.s)(t,e=>y(e)),b=n.useRef(!1),E=!g||p||!!g.closest("form");return(0,s.jsxs)(U,{scope:r,checked:l,disabled:d,children:[(0,s.jsx)(c.button,{type:"button",role:"radio","aria-checked":l,"data-state":G(l),"data-disabled":d?"":void 0,disabled:d,value:f,...m,ref:v,onClick:a(e.onClick,e=>{l||h?.(),E&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})}),E&&(0,s.jsx)(q,{control:g,bubbles:!b.current,name:i,value:f,checked:l,required:u,disabled:d,form:p,style:{transform:"translateX(-100%)"}})]})});B.displayName=M;var z="RadioIndicator",H=n.forwardRef((e,t)=>{let{__scopeRadio:r,forceMount:n,...i}=e,a=F(z,r);return(0,s.jsx)(N,{present:n||a.checked,children:(0,s.jsx)(c.span,{"data-state":G(a.checked),"data-disabled":a.disabled?"":void 0,...i,ref:t})})});H.displayName=z;var q=e=>{let t,{control:r,checked:i,bubbles:a=!0,...o}=e,l=n.useRef(null),u=(t=n.useRef({value:i,previous:i}),n.useMemo(()=>(t.current.value!==i&&(t.current.previous=t.current.value,t.current.value=i),t.current.previous),[i])),c=function(e){let[t,r]=n.useState(void 0);return d(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(r);return n.useEffect(()=>{let e=l.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(u!==i&&t){let r=new Event("click",{bubbles:a});t.call(e,i),e.dispatchEvent(r)}},[u,i,a]),(0,s.jsx)("input",{type:"radio","aria-hidden":!0,defaultChecked:i,...o,tabIndex:-1,ref:l,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function G(e){return e?"checked":"unchecked"}var W=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],V="RadioGroup",[Y,Z]=l(V,[O,$]),K=O(),X=$(),[Q,J]=Y(V),ee=n.forwardRef((e,t)=>
1{let{__scopeRadioGroup:r,name:n,defaultValue:i,value:a,required:o=!1,disabled:l=!1,orientation:u,dir:d,loop:f=!0,onValueChange:h,...p}=e,g=K(r),v=y(d),[b,E]=m({prop:a,defaultProp:i,onChange:h});return(0,s.jsx)(Q,{scope:r,name:n,required:o,disabled:l,value:b,onValueChange:E,children:(0,s.jsx)(A,{asChild:!0,...g,orientation:u,dir:v,loop:f,children:(0,s.jsx)(c.div,{role:"radiogroup","aria-required":o,"aria-orientation":u,"data-disabled":l?"":void 0,dir:v,...p,ref:t})})})});ee.displayName=V;var et="RadioGroupItem",er=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,disabled:i,...l}=e,u=J(et,r),c=u.disabled||i,d=K(r),f=X(r),h=n.useRef(null),p=(0,o.s)(t,h),m=u.value===l.value,g=n.useRef(!1);return n.useEffect(()=>{let e=e=>{W.includes(e.key)&&(g.current=!0)},t=()=>g.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,s.jsx)(C,{asChild:!0,...d,focusable:!c,active:m,children:(0,s.jsx)(B,{disabled:c,required:u.required,checked:m,...f,...l,name:u.name,ref:p,onCheck:()=>u.onValueChange(l.value),onKeyDown:a(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:a(l.onFocus,()=>{g.current&&h.current?.click()})})})});er.displayName=et;var en=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,...n}=e,i=X(r);return(0,s.jsx)(H,{...i,...n,ref:t})});en.displayName="RadioGroupIndicator";var ei=ee,ea=er,eo=en},50386:(e,t,r)=>{"use strict";r.d(t,{I:()=>o});var n=r(74180),i=r(80017),a=r(37446);function o(){a.r.current||(0,i.U)();let[e]=(0,n.useState)(a.O.current);return e}},50600:(e,t,r)=>{"use strict";r.d(t,{Jq:()=>p,Ij:()=>m,xI:()=>h,_R:()=>v,U1:()=>y,s3:()=>a,FJ:()=>o,Vx:()=>u,dK:()=>d,WO:()=>g,GP:()=>f});var n=r(78998),i=r(54797);function a({swiper:e,extendParams:t,on:r,emit:o}){let s=(0,n.g)(),l=(0,n.a)();function u(t){if(!e.enabled)return;let{rtlTranslate:r}=e,n=t;n.originalEvent&&(n=n.originalEvent);let a=n.keyCode||n.charCode,u=e.params.keyboard.pageUpDown,c=u&&33===a,d=u&&34===a,f=37===a,h=39===a,p=38===a,m=40===a;if(!e.allowSlideNext&&(e.isHorizontal()&&h||e.isVertical()&&m||d)||!e.allowSlidePrev&&(e.isHorizontal()&&f||e.isVertical()&&p||c))return!1;if(n.shiftKey||n.altKey||n.ctrlKey||n.metaKey||s.activeElement&&(s.activeElement.isContentEditable||s.activeElement.nodeName&&("input"===s.activeElement.nodeName.toLowerCase()||"textarea"===s.activeElement.nodeName.toLowerCase())))return;if(e.params.keyboard.onlyInViewport&&(c||d||f||h||p||m)){let t=!1;if((0,i.d)(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&0===(0,i.d)(e.el,`.${e.params.slideActiveClass}`).length)return;let n=e.el,a=n.clientWidth,o=n.clientHeight,s=l.innerWidth,u=l.innerHeight,c=(0,i.f)(n);r&&(c.left-=n.scrollLeft);let d=[[c.left,c.top],[c.left+a,c.top],[c.left,c.top+o],[c.left+a,c.top+o]];for(let e=0;e<d.length;e+=1){let r=d[e];if(r[0]>=0&&r[0]<=s&&r[1]>=0&&r[1]<=u){if(0===r[0]&&0===r[1])continue;t=!0}}if(!t)return}let g=e.params.keyboard.speed;e.isHorizontal()?((c||d||f||h)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),((d||h)&&!r||(c||f)&&r)&&e.slideNext(g),((c||f)&&!r||(d||h)&&r)&&e.slidePrev(g)):((c||d||p||m)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),(d||m)&&e.slideNext(g),(c||p)&&e.slidePrev(g)),o("keyPress",a)}function c(){e.keyboard.enabled||(s.addEventListener("keydown",u),e.keyboard.enabled=!0)}function d(){e.keyboard.enabled&&(s.removeEventListener("keydown",u),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0,speed:void 0}}),r("init",()=>{e.params.keyboard.enabled&&c()}),r("destroy",()=>{e.keyboard.enabled&&d()}),Object.assign(e.keyboard,{enable:c,disable:d})}function o({swiper:e,extendParams:t,on:r,emit:a}){let s,l,u=(0,n.a)();t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let c=(0,i.h)(),d=[];function f(){e.enabled&&(e.mouseEntered=!0)}function h(){e.enabled&&(e.mouseEntered=!1)}function p(t){return!(e.params.mousewheel.thresholdDelta&&t.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&(0,i.h)()-c<e.params.mousewheel.thresholdTime)&&(!!(t.delta>=6&&(0,i.h)()-c<60)||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),a("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),a("scroll",t.raw)),c=new u.Date().getTime(),!1))}function m(t){var r;let n,o,u,c,f=t;if(!e.enabled||t.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;let h=e.params.mousewheel;e.params.cssMode&&f.preventDefault();let m=e.el;"container"!==e.params.mousewheel.eventsTarget&&(m=document.querySelector(e.params.mousewheel.eventsTarget));let g=m&&m.contains(f.target);if(!e.mouseEntered&&!g&&!h.releaseOnEdges)return!0;f.originalEvent&&(f=f.originalEvent);let y=0,v=e.rtlTranslate?-1:1,b=(n=0,o=0,u=0,c=0,"detail"in(r=f)&&(o=r.detail),"wheelDelta"in r&&(o=-r.wheelDelta/120),"wheelDeltaY"in r&&(o=-r.wheelDeltaY/120
1),"wheelDeltaX"in r&&(n=-r.wheelDeltaX/120),"axis"in r&&r.axis===r.HORIZONTAL_AXIS&&(n=o,o=0),u=10*n,c=10*o,"deltaY"in r&&(c=r.deltaY),"deltaX"in r&&(u=r.deltaX),r.shiftKey&&!u&&(u=c,c=0),(u||c)&&r.deltaMode&&(1===r.deltaMode?(u*=40,c*=40):(u*=800,c*=800)),u&&!n&&(n=u<1?-1:1),c&&!o&&(o=c<1?-1:1),{spinX:n,spinY:o,pixelX:u,pixelY:c});if(h.forceToAxis)if(e.isHorizontal())if(!(Math.abs(b.pixelX)>Math.abs(b.pixelY)))return!0;else y=-b.pixelX*v;else{if(!(Math.abs(b.pixelY)>Math.abs(b.pixelX)))return!0;y=-b.pixelY}else y=Math.abs(b.pixelX)>Math.abs(b.pixelY)?-b.pixelX*v:-b.pixelY;if(0===y)return!0;h.invert&&(y=-y);let E=e.getTranslate()+y*h.sensitivity;if(E>=e.minTranslate()&&(E=e.minTranslate()),E<=e.maxTranslate()&&(E=e.maxTranslate()),(e.params.loop||E!==e.minTranslate()&&E!==e.maxTranslate())&&e.params.nested&&f.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){let t={time:(0,i.h)(),delta:Math.abs(y),direction:Math.sign(y)},r=l&&t.time<l.time+500&&t.delta<=l.delta&&t.direction===l.direction;if(!r){l=void 0;let n=e.getTranslate()+y*h.sensitivity,o=e.isBeginning,u=e.isEnd;if(n>=e.minTranslate()&&(n=e.minTranslate()),n<=e.maxTranslate()&&(n=e.maxTranslate()),e.setTransition(0),e.setTranslate(n),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!o&&e.isBeginning||!u&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:t.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(s),s=void 0,d.length>=15&&d.shift();let r=d.length?d[d.length-1]:void 0,n=d[0];if(d.push(t),r&&(t.delta>r.delta||t.direction!==r.direction))d.splice(0);else if(d.length>=15&&t.time-n.time<500&&n.delta-t.delta>=1&&t.delta<=6){let r=y>0?.8:.2;l=t,d.splice(0),s=(0,i.n)(()=>{!e.destroyed&&e.params&&e.slideToClosest(e.params.speed,!0,void 0,r)},0)}s||(s=(0,i.n)(()=>{e.destroyed||!e.params||(l=t,d.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5))},500))}if(r||a("scroll",f),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),h.releaseOnEdges&&(n===e.minTranslate()||n===e.maxTranslate()))return!0}}else{let r={time:(0,i.h)(),delta:Math.abs(y),direction:Math.sign(y),raw:t};d.length>=2&&d.shift();let n=d.length?d[d.length-1]:void 0;if(d.push(r),n?(r.direction!==n.direction||r.delta>n.delta||r.time>n.time+150)&&p(r):p(r),function(t){let r=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&r.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&r.releaseOnEdges)return!0;return!1}(r))return!0}return f.preventDefault?f.preventDefault():f.returnValue=!1,!1}function g(t){let r=e.el;"container"!==e.params.mousewheel.eventsTarget&&(r=document.querySelector(e.params.mousewheel.eventsTarget)),r[t]("mouseenter",f),r[t]("mouseleave",h),r[t]("wheel",m)}function y(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):!e.mousewheel.enabled&&(g("addEventListener"),e.mousewheel.enabled=!0,!0)}function v(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):!!e.mousewheel.enabled&&(g("removeEventListener"),e.mousewheel.enabled=!1,!0)}r("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&v(),e.params.mousewheel.enabled&&y()}),r("destroy",()=>{e.params.cssMode&&y(),e.mousewheel.enabled&&v()}),Object.assign(e.mousewheel,{enable:y,disable:v})}function s(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach(a=>{if(!r[a]&&!0===r.auto){let o=(0,i.e)(e.el,`.${n[a]}`)[0];o||((o=(0,i.c)("div",n[a])).className=n[a],e.el.append(o)),r[a]=o,t[a]=o}}),r}let l='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function u({swiper:e,extendParams:t,on:r,emit:n}){function a(t){let r;return t&&"string"==typeof t&&e.isElement&&(r=e.el.querySelector(t)||e.hostEl.querySelector(t))?r:(t&&("string"==typeof t&&(r=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&r&&r.length>1&&1===e.el.querySelectorAll(t).length?r=e.el.querySelector(t):r&&1===r.length&&(r=r[0])),t&&!r)?t:r}function o(t,r){let n=e.params.navigation;
1(t=(0,i.m)(t)).forEach(t=>{t&&(t.classList[r?"add":"remove"](...n.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=r),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](n.lockClass))})}function c(){let{nextEl:t,prevEl:r}=e.navigation;if(e.params.loop){o(r,!1),o(t,!1);return}o(r,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function d(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),n("navigationPrev"))}function f(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),n("navigationNext"))}function h(){let t=e.params.navigation;if(e.params.navigation=s(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(t.nextEl||t.prevEl))return;let r=a(t.nextEl),n=a(t.prevEl);Object.assign(e.navigation,{nextEl:r,prevEl:n}),r=(0,i.m)(r),n=(0,i.m)(n);let o=(r,n)=>{if(r){if(t.addIcons&&r.matches(".swiper-button-next,.swiper-button-prev")&&!r.querySelector("svg")){let e=document.createElement("div");(0,i.s)(e,l),r.appendChild(e.querySelector("svg")),e.remove()}r.addEventListener("click","next"===n?f:d)}!e.enabled&&r&&r.classList.add(...t.lockClass.split(" "))};r.forEach(e=>
1o(e,"next")),n.forEach(e=>o(e,"prev"))}function p(){let{nextEl:t,prevEl:r}=e.navigation;t=(0,i.m)(t),r=(0,i.m)(r);let n=(t,r)=>{t.removeEventListener("click","next"===r?f:d),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach(e=>n(e,"next")),r.forEach(e=>n(e,"prev"))}t({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:l},r("init",()=>{!1===e.params.navigation.enabled?m():(h(),c())}),r("toEdge fromEdge lock unlock",()=>{c()}),r("destroy",()=>{p()}),r("enable disable",()=>{let{nextEl:t,prevEl:r}=e.navigation;(t=(0,i.m)(t),r=(0,i.m)(r),e.enabled)?c():[...t,...r].filter(e=>!!e).forEach(t=>t.classList.add(e.params.navigation.lockClass))}),r("click",(t,r)=>{let{nextEl:a,prevEl:o}=e.navigation;a=(0,i.m)(a),o=(0,i.m)(o);let s=r.target,l=o.includes(s)||a.includes(s);if(e.isElement&&!l){let e=r.path||r.composedPath&&r.composedPath();e&&(l=e.find(e=>a.includes(e)||o.includes(e)))}if(e.params.navigation.hideOnClick&&!l){let t;if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===s||e.pagination.el.contains(s)))return;a.length?t=a[0].classList.contains(e.params.navigation.hiddenClass):o.length&&(t=o[0].classList.contains(e.params.navigation.hiddenClass)),!0===t?n("navigationShow"):n("navigationHide"),[...a,...o].filter(e=>!!e).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});let m=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),h(),c()},disable:m,update:c,init:h,destroy:p})}function c(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function d({swiper:e,extendParams:t,on:r,emit:n}){let a,o="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let l=0;function u(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function f(t,r){let{bulletActiveClass:n}=e.params.pagination;t&&(t=t[`${"prev"===r?"previous":"next"}ElementSibling`])&&(t.classList.add(`${n}-${r}`),(t=t[`${"prev"===r?"previous":"next"}ElementSibling`])&&t.classList.add(`${n}-${r}-${r}`))}function h(t){let r=t.target.closest(c(e.params.pagination.bulletClass));if(!r)return;t.preventDefault();let n=(0,i.j)(r)*e.params.slidesPerGroup;if(e.params.loop){var a,o,s;if(e.realIndex===n)return;let t=(a=e.realIndex,o=n,(a%=s=e.slides.length,(o%=s)===a+1)?"next":o===a-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(n)}else e.slideTo(n)}function p(){let t,r,o=e.rtl,s=e.params.pagination;if(u())return;let d=e.pagination.el;d=(0,i.m)(d);let h=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,p=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(r=e.previousRealIndex||0,t=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(t=e.snapIndex,r=e.previousSnapIndex):(r=e.previousIndex||0,t=e.activeIndex||0),"bullets"===s.type&&e.pagination.bullets&&e.pagination.bullets.length>0){let n,u,c,h=e.pagination.bullets;if(s.dynamicBullets&&(a=(0,i.i)(h[0],e.isHorizontal()?"width":"height",!0),d.forEach(t=>{t.style[e.isHorizontal()?"width":"height"]=`${a*(s.dynamicMainBullets+4)}px`}),s.dynamicMainBullets>1&&void 0!==r&&((l+=t-(r||0))>s.dynamicMainBullets-1?l=s.dynamicMainBullets-1:l<0&&(l=0)),c=((u=(n=Math.max(t-l,0))+(Math.min(h.length,s.dynamicMainBullets)-1))+n)/2),h.forEach(e
1=>{let t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${s.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),d.length>1)h.forEach(r=>{let a=(0,i.j)(r);a===t?r.classList.add(...s.bulletActiveClass.split(" ")):e.isElement&&r.setAttribute("part","bullet"),s.dynamicBullets&&(a>=n&&a<=u&&r.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),a===n&&f(r,"prev"),a===u&&f(r,"next"))});else{let r=h[t];if(r&&r.classList.add(...s.bulletActiveClass.split(" ")),e.isElement&&h.forEach((e,r)=>{e.setAttribute("part",r===t?"bullet-active":"bullet")}),s.dynamicBullets){let e=h[n],t=h[u];for(let e=n;e<=u;e+=1)h[e]&&h[e].classList.add(...`${s.bulletActiveClass}-main`.split(" "));f(e,"prev"),f(t,"next")}}if(s.dynamicBullets){let t=Math.min(h.length,s.dynamicMainBullets+4),r=(a*t-a)/2-c*a,n=o?"right":"left";h.forEach(t=>{t.style[e.isHorizontal()?n:"top"]=`${r}px`})}}d.forEach((r,a)=>{if("fraction"===s.type&&(r.querySelectorAll(c(s.currentClass)).forEach(e=>{e.textContent=s.formatFractionCurrent(t+1)}),r.querySelectorAll(c(s.totalClass)).forEach(e=>{e.textContent=s.formatFractionTotal(p)})),"progressbar"===s.type){let n;n=s.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";let i=(t+1)/p,a=1,o=1;"horizontal"===n?a=i:o=i,r.querySelectorAll(c(s.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${o})`,t.style.transitionDuration=`${e.params.speed}ms`})}"custom"===s.type&&s.renderCustom?((0,i.s)(r,s.renderCustom(e,t+1,p)),0===a&&n("paginationRender",r)):(0===a&&n("paginationRender",r),n("paginationUpdate",r)),e.params.watchOverflow&&e.enabled&&r.classList[e.isLocked?"add":"remove"](s.lockClass)})}function m(){let t=e.params.pagination;if(u())return;let r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length,a=e.pagination.el;a=(0,i.m)(a);let o="";if("bullets"===t.type){let n=e.params.loop?Math.ceil(r/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&n>r&&(n=r);for(let r=0;r<n;r+=1)t.renderBullet?o+=t.renderBullet.call(e,r,t.bulletClass):o+=`<${t.bulletElement} ${e.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}"fraction"===t.type&&(o=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),"progressbar"===t.type&&(o=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],a.forEach(r=>{"custom"!==t.type&&(0,i.s)(r,o||""),"bullets"===t.type&&e.pagination.bullets.push(...r.querySelectorAll(c(t.bulletClass)))}),"custom"!==t.type&&n("paginationRender",a[0])}function g(){let t;e.params.pagination=s(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let r=e.params.pagination;!r.el||("string"==typeof r.el&&e.isElement&&(t=e.el.querySelector(r.el)),t||"string"!=typeof r.el||(t=[...document.querySelectorAll(r.el)]),t||(t=r.el),t&&0!==t.length&&(e.params.uniqueNavElements&&"string"==typeof r.el&&Array.isArray(t)&&t.length>1&&(t=[...e.el.querySelectorAll(r.el)]).length>1&&(t=t.find(t=>(0,i.d)(t,".swiper")[0]===e.el)),Array.isArray(t)&&1===t.length&&(t=t[0]),Object.assign(e.pagination,{el:t}),(t=(0,i.m)(t)).forEach(t=>{"bullets"===r.type&&r.clickable&&t.classList.add(...(r.clickableClass||"").split(" ")),t.classList.add(r.modifierClass+r.type),t.classList.add(e.isHorizontal()?r.horizontalClass:r.verticalClass),"bullets"===r.type&&r.dynamicBullets&&(t.classList.add(`${r.modifierClass}${r.type}-dynamic`),l=0,r.dynamicMainBullets<1&&(r.dynamicMainBullets=1)),"progressbar"===r.type&&r.progressbarOpposite&&t.classList.add(r.progressbarOppositeClass),r.clickable&&t.addEventListener("click",h),e.enabled||t.classList.add(r.lockClass)})))}function y(){let t=e.params.pagination;if(u())return;let r=e.pagination.el;
1r&&(r=(0,i.m)(r)).forEach(r=>{r.classList.remove(t.hiddenClass),r.classList.remove(t.modifierClass+t.type),r.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(r.classList.remove(...(t.clickableClass||"").split(" ")),r.removeEventListener("click",h))}),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;let t=e.params.pagination,{el:r}=e.pagination;(r=(0,i.m)(r)).forEach(r=>{r.classList.remove(t.horizontalClass,t.verticalClass),r.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),r("init",()=>{!1===e.params.pagination.enabled?v():(g(),m(),p())}),r("activeIndexChange",()=>{void 0===e.snapIndex&&p()}),r("snapIndexChange",()=>{p()}),r("snapGridLengthChange",()=>{m(),p()}),r("destroy",()=>{y()}),r("enable disable",()=>{let{el:t}=e.pagination;t&&(t=(0,i.m)(t)).forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass))}),r("lock unlock",()=>{p()}),r("click",(t,r)=>{let a=r.target,o=(0,i.m)(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&o&&o.length>0&&!a.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&a===e.navigation.nextEl||e.navigation.prevEl&&a===e.navigation.prevEl))return;!0===o[0].classList.contains(e.params.pagination.hiddenClass)?n("paginationShow"):n("paginationHide"),o.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});let v=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=(0,i.m)(t)).forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass)),y()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=(0,i.m)(t)).forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass)),g(),m(),p()},disable:v,render:m,update:p,init:g,destroy:y})}function f({swiper:e,extendParams:t,on:r,emit:a}){let o,s,l,u=(0,n.a)();t({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let c=1,d=!1,h=!1,p={x:0,y:0},m=[],g={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},y={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},v={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},b=1;function E(){if(m.length<2)return 1;let e=m[0].pageX,t=m[0].pageY;return Math.sqrt((m[1].pageX-e)**2+(m[1].pageY-t)**2)}function _(){let t=e.params.zoom,r=g.imageWrapEl.getAttribute("data-swiper-zoom")||t.maxRatio;return t.limitToOriginalSize&&g.imageEl&&g.imageEl.naturalWidth?Math.min(g.imageEl.naturalWidth/g.imageEl.offsetWidth,r):r}function S(t){let r=e.isElement?"swiper-slide":`.${e.params.slideClass}`;return!!t.target.matches(r)||!!(e.slides.filter(e=>e.contains(t.target)).length>0)}function w(t){let r=`.${e.params.zoom.containerClass}`;return!!t.target.matches(r)||!!([...e.hostEl.querySelectorAll(r)].filter(e=>e.contains(t.target)).length>0)}function T(t){if("mouse"===t.pointerType&&m.splice(0,m.length),!S(t))return;let r=e.params.zoom;if(o=!1,s=!1,m.push(t),!(m.length<2)){if(o=!0,g.scaleStart=E(),!g.slideEl){g.slideEl=t.target.closest(`.${e.params.slideClass}, swiper-slide`),g.slideEl||(g.slideEl=e.slides[e.activeIndex]);let n=g.slideEl.querySelector(`.${r.containerClass}`);if(n&&(n=n.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),g.imageEl=n,n?g.imageWrapEl=(0,i.d)(g.imageEl,`.${r.containerClass}`)[0]:g.imageWrapEl=void 0,!g.imageWrapEl){g.imageEl=void 0;return}g.maxRatio=_()}if(g.imageEl){let[e,t]=function(){if(m.length<2)return{x:null,y:null};let e=g.imageEl.getBoundingClientRect();return[(m[0].pageX+(m[1].pageX-m[0].pageX)/2-e.x-u.scrollX)/c,(m[0].pageY+(m[1].pageY-m[0].pageY)/2-e.y-u.scrollY)/c]}();g.originX=e,g.originY=t,g.imageEl.style.transitionDuration="0ms"}d=!0}}function O(t){if(!S(t))return;let r=e.params.zoom,n=e.zoom,i=m.findIndex(e=>e.pointerId===t.pointerId);i>=0&&(m[i]=t),m.length<2||(s=!0,g.scaleMove=E(),g.imageEl&&(n.scale=g.scaleMove/g.scaleStart*c,n.scale>g.maxRatio&&(n.scale=g.maxRatio-1+(n.scale-g.maxRatio+1)**.5),n.scale<r.minRatio&&(n.scale=r.minRatio+1-(r.minRatio-n.scale+1)**.5),g.imageEl.style.transform=`translate3d(0,
vendor: 6,162 bytes, line 1
10,0) scale(${n.scale})`))}function x(t){if(!S(t)||"mouse"===t.pointerType&&"pointerout"===t.type)return;let r=e.params.zoom,n=e.zoom,i=m.findIndex(e=>e.pointerId===t.pointerId);i>=0&&m.splice(i,1),o&&s&&(o=!1,s=!1,g.imageEl&&(n.scale=Math.max(Math.min(n.scale,g.maxRatio),r.minRatio),g.imageEl.style.transitionDuration=`${e.params.speed}ms`,g.imageEl.style.transform=`translate3d(0,0,0) scale(${n.scale})`,c=n.scale,d=!1,n.scale>1&&g.slideEl?g.slideEl.classList.add(`${r.zoomedSlideClass}`):n.scale<=1&&g.slideEl&&g.slideEl.classList.remove(`${r.zoomedSlideClass}`),1===n.scale&&(g.originX=0,g.originY=0,g.slideEl=void 0)))}function P(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function A(t){let r="mouse"===t.pointerType&&e.params.zoom.panOnMouseMove;if(!S(t)||!w(t))return;let n=e.zoom;if(!g.imageEl)return;if(!y.isTouched||!g.slideEl){r&&I(t);return}if(r)return void I(t);y.isMoved||(y.width=g.imageEl.offsetWidth||g.imageEl.clientWidth,y.height=g.imageEl.offsetHeight||g.imageEl.clientHeight,y.startX=(0,i.l)(g.imageWrapEl,"x")||0,y.startY=(0,i.l)(g.imageWrapEl,"y")||0,g.slideWidth=g.slideEl.offsetWidth,g.slideHeight=g.slideEl.offsetHeight,g.imageWrapEl.style.transitionDuration="0ms");let a=y.width*n.scale,o=y.height*n.scale;if(y.minX=Math.min(g.slideWidth/2-a/2,0),y.maxX=-y.minX,y.minY=Math.min(g.slideHeight/2-o/2,0),y.maxY=-y.minY,y.touchesCurrent.x=m.length>0?m[0].pageX:t.pageX,y.touchesCurrent.y=m.length>0?m[0].pageY:t.pageY,Math.max(Math.abs(y.touchesCurrent.x-y.touchesStart.x),Math.abs(y.touchesCurrent.y-y.touchesStart.y))>5&&(e.allowClick=!1),!y.isMoved&&!d&&(e.isHorizontal()&&(Math.floor(y.minX)===Math.floor(y.startX)&&y.touchesCurrent.x<y.touchesStart.x||Math.floor(y.maxX)===Math.floor(y.startX)&&y.touchesCurrent.x>y.touchesStart.x)||!e.isHorizontal()&&(Math.floor(y.minY)===Math.floor(y.startY)&&y.touchesCurrent.y<y.touchesStart.y||Math.floor(y.maxY)===Math.floor(y.startY)&&y.touchesCurrent.y>y.touchesStart.y))){y.isTouched=!1,P();return}t.cancelable&&t.preventDefault(),t.stopPropagation(),clearTimeout(l),e.touchEventsData.preventTouchMoveFromPointerMove=!0,l=setTimeout(()=>{e.destroyed||P()}),y.isMoved=!0;let s=(n.scale-c)/(g.maxRatio-e.params.zoom.minRatio),{originX:u,originY:f}=g;y.currentX=y.touchesCurrent.x-y.touchesStart.x+y.startX+s*(y.width-2*u),y.currentY=y.touchesCurrent.y-y.touchesStart.y+y.startY+s*(y.height-2*f),y.currentX<y.minX&&(y.currentX=y.minX+1-(y.minX-y.currentX+1)**.8),y.currentX>y.maxX&&(y.currentX=y.maxX-1+(y.currentX-y.maxX+1)**.8),y.currentY<y.minY&&(y.currentY=y.minY+1-(y.minY-y.currentY+1)**.8),y.currentY>y.maxY&&(y.currentY=y.maxY-1+(y.currentY-y.maxY+1)**.8),v.prevPositionX||(v.prevPositionX=y.touchesCurrent.x),v.prevPositionY||(v.prevPositionY=y.touchesCurrent.y),v.prevTime||(v.prevTime=Date.now()),v.x=(y.touchesCurrent.x-v.prevPositionX)/(Date.now()-v.prevTime)/2,v.y=(y.touchesCurrent.y-v.prevPositionY)/(Date.now()-v.prevTime)/2,2>Math.abs(y.touchesCurrent.x-v.prevPositionX)&&(v.x=0),2>Math.abs(y.touchesCurrent.y-v.prevPositionY)&&(v.y=0),v.prevPositionX=y.touchesCurrent.x,v.prevPositionY=y.touchesCurrent.y,v.prevTime=Date.now(),g.imageWrapEl.style.transform=`translate3d(${y.currentX}px, ${y.currentY}px,0)`}function k(){let t=e.zoom;g.slideEl&&e.activeIndex!==e.slides.indexOf(g.slideEl)&&(g.imageEl&&(g.imageEl.style.transform="translate3d(0,0,0) scale(1)"),g.imageWrapEl&&(g.imageWrapEl.style.transform="translate3d(0,0,0)"),g.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),t.scale=1,c=1,g.slideEl=void 0,g.imageEl=void 0,g.imageWrapEl=void 0,g.originX=0,g.originY=0)}function I(e){if(c<=1||!g.imageWrapEl||!S(e)||!w(e))return;let t=u.getComputedStyle(g.imageWrapEl).transform,r=new u.DOMMatrix(t);if(!h){h=!0,p.x=e.clientX,p.y=e.clientY,y.startX=r.e,y.startY=r.f,y.width=g.imageEl.offsetWidth||g.imageEl.clientWidth,y.height=g.imageEl.offsetHeight||g.imageEl.clientHeight,g.slideWidth=g.slideEl.offsetWidth,g.slideHeight=g.slideEl.offsetHeight;return}let n=-((e.clientX-p.x)*3),i=-((e.clientY-p.y)*3),a=y.width*c,o=y.height*c,s=g.slideWidth,l=g.slideHeight,d=Math.min(s/2-a/2,0),f=Math.min(l/2-o/2,0),m=Math.max(Math.min(y.startX+n,-d),d),v=Math.max(Math.min(y.startY+i,-f),f);g.imageWrapEl.style.transitionDuration="0ms",g.imageWrapEl.style.transform=`translate3d(${m}px, ${v}px, 0)`,p.x=e.clientX,p.y=e.clientY,y.startX=m,y.startY=v,y.currentX=m,y.currentY=v}function C(t){let r,n,a,o,s,l,d,f,h,p,m,v,b,E,S,w,T,O,x=e.zoom,P=e.params.zoom;if(!g.slideEl){t&&t.target&&(g.slideEl=t.target.closest(`.${e.params.slideClass}, swiper-slide`)),g.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?g.slideEl=(0,i.e)(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:g.slideEl=e.slides[e.activeIndex]);let r=g.slideEl.querySelector(`.${P.containerClass}`);r&&(r=r.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),g.imageEl=r,r?g.imageWrapEl=(0,i.d)(g.imageEl,`.${P.containerClass}`)[0]:g.imageWrapEl=void 0}if(!g.imageEl||!g.imageWrapEl)return;g.maxRatio=_(),e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),g.slideEl.classList.add(`${P.zoomedSlideClass}`),void 0===y.touchesStart.x&&t?(r=t.pageX,n=t.pageY):(r=y.touchesStart.x,n=y.touchesStart.y);let A=c,k="number"==typeof t?t:null;1===c&&k&&(r=void 0,n=void 0,y.touchesStart.x=void 0,y.touchesStart.y=void 0);let I=_();x.scale=k||I,c=k||I,t&&!(1===c&&k)?(T=g.slideEl.offsetWidth,O=g.slideEl.offsetHeight,a=(0,i.f)(g.slideEl).left+u.scrollX,o=(0,i.f)(g.slideEl).top+u.scrollY,s=a+T/2-r,l=o+O/2-n,h=g.imageEl.offsetWidth||g.imageEl.clientWidth,p=g.imageEl.offsetHeight||g.imageEl.clientHeight,m=h*x.scale,v=p*x.scale,b=Math.min(T/2-m/2,0),E=Math.min(O/2-v/2,0),S=-b,w=-E,A>0&&k&&"number"==typeof y.currentX&&"number"==typeof y.currentY?(d=y.currentX*x.scale/A,f=y.currentY*x.scale/A):(d=s*x.scale,f=l*x.scale),d<b&&(d=b),d>S&&(d=S),f<E&&(f=E),f>w&&(f=w)):(d=0,f=0),k&&1===x.scale&&(g.originX=0,g.originY=0),y.currentX=d,y.currentY=f,g.imageWrapEl.style.transitionDuration="300ms",g.imageWrapEl.style.transform=`translate3d(${d}px, ${f}px,0)`,g.imageEl.style.transitionDuration="300ms",g.imageEl.style.transform=`translate3d(0,
10,0) scale(${x.scale})`}function R(){let t=e.zoom,r=e.params.zoom;if(!g.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?g.slideEl=(0,i.e)(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:g.slideEl=e.slides[e.activeIndex];let t=g.slideEl.querySelector(`.${r.containerClass}`);t&&(t=t.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),g.imageEl=t,t?g.imageWrapEl=(0,i.d)(g.imageEl,`.${r.containerClass}`)[0]:g.imageWrapEl=void 0}g.imageEl&&g.imageWrapEl&&(g.maxRatio=_(),e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,c=1,y.currentX=void 0,y.currentY=void 0,y.touchesStart.x=void 0,y.touchesStart.y=void 0,g.imageWrapEl.style.transitionDuration="300ms",g.imageWrapEl.style.transform="translate3d(0,0,0)",g.imageEl.style.transitionDuration="300ms",g.imageEl.style.transform="translate3d(0,0,0) scale(1)",g.slideEl.classList.remove(`${r.zoomedSlideClass}`),g.slideEl=void 0,g.originX=0,g.originY=0,e.params.zoom.panOnMouseMove&&(p={x:0,y:0},h&&(h=!1,y.startX=0,y.startY=0)))}function D(t){let r=e.zoom;r.scale&&1!==r.scale?R():C(t)}function N(){return{passiveListener:!!e.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!e.params.passiveListeners||{passive:!1,capture:!0}}}function j(){let t=e.zoom;if(t.enabled)return;t.enabled=!0;let{passiveListener:r,activeListenerWithCapture:n}=N();e.wrapperEl.addEventListener("pointerdown",T,r),e.wrapperEl.addEventListener("pointermove",O,n),["pointerup","pointercancel","pointerout"].forEach(t=>{e.wrapperEl.addEventListener(t,x,r)}),e.wrapperEl.addEventListener("pointermove",A,n)}function M(){let t=e.zoom;if(!t.enabled)return;t.enabled=!1;let{passiveListener:r,activeListenerWithCapture:n}=N();e.wrapperEl.removeEventListener("pointerdown",T,r),e.wrapperEl.removeEventListener("pointermove",O,n),["pointerup","pointercancel","pointerout"].forEach(t=>{e.wrapperEl.removeEventListener(t,x,r)}),e.wrapperEl.removeEventListener("pointermove",A,n)}Object.defineProperty(e.zoom,"scale",{get:()=>b,set(e){b!==e&&a("zoomChange",e,g.imageEl,g.slideEl),b=e}}),r("init",()=>{e.params.zoom.enabled&&j()}),r("destroy",()=>{M()}),r("touchStart",(t,r)=>{e.zoom.enabled&&function(t){let r=e.device;if(!g.imageEl||y.isTouched)return;r.android&&t.cancelable&&t.preventDefault(),y.isTouched=!0;let n=m.length>0?m[0]:t;y.touchesStart.x=n.pageX,y.touchesStart.y=n.pageY}(r)}),r("touchEnd",(t,r)=>{e.zoom.enabled&&function(){let t=e.zoom;if(m.length=0,!g.imageEl)return;if(!y.isTouched||!y.isMoved){y.isTouched=!1,y.isMoved=!1;return}y.isTouched=!1,y.isMoved=!1;let r=300,n=300,i=v.x*r,a=y.currentX+i,o=v.y*n,s=y.currentY+o;0!==v.x&&(r=Math.abs((a-y.currentX)/v.x)),0!==v.y&&(n=Math.abs((s-y.currentY)/v.y));let l=Math.max(r,n);y.currentX=a,y.currentY=s;let u=y.width*t.scale,c=y.height*t.scale;y.minX=Math.min(g.slideWidth/2-u/2,0),y.maxX=-y.minX,y.minY=Math.min(g.slideHeight/2-c/2,0),y.maxY=-y.minY,y.currentX=Math.max(Math.min(y.currentX,y.maxX),y.minX),y.currentY=Math.max(Math.min(y.currentY,y.maxY),y.minY),g.imageWrapEl.style.transitionDuration=`${l}ms`,g.imageWrapEl.style.transform=`translate3d(${y.currentX}px, ${y.currentY}px,0)`}()}),r("doubleTap",(t,r)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&D(r)}),r("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&k()}),r("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&k()}),Object.assign(e.zoom,{enable:j,disable:M,in:C,out:R,toggle:D})}function h({swiper:e,extendParams:t,on:r}){function n(e,t){let r,n,i,a,o;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(r=(n=((e,t)=>{for(a=-1,i=e.length;i-a>1;)e[o=i+a>>1]<=t?a=o:i=o;return i})(this.x,e))-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this}function a(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},r("beforeInit",()=>{"u">typeof window&&("string"==typeof e.params.controller.control||e.params.controller.control instanceof HTMLElement)?("string"==typeof e.params.controller.control?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEac
1h(t=>{if(e.controller.control||(e.controller.control=[]),t&&t.swiper)e.controller.control.push(t.swiper);else if(t){let r=`${e.params.eventsPrefix}init`,n=i=>{e.controller.control.push(i.detail[0]),e.update(),t.removeEventListener(r,n)};t.addEventListener(r,n)}}):e.controller.control=e.params.controller.control}),r("update",()=>{a()}),r("resize",()=>{a()}),r("observerUpdate",()=>{a()}),r("setTranslate",(t,r,n)=>{e.controller.control&&!e.controller.control.destroyed&&e.controller.setTranslate(r,n)}),r("setTransition",(t,r,n)=>{e.controller.control&&!e.controller.control.destroyed&&e.controller.setTransition(r,n)}),Object.assign(e.controller,{setTranslate:function(t,r){let i,a,o=e.controller.control,s=e.constructor;function l(t){if(t.destroyed)return;let r=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(e.controller.spline=e.params.loop?new n(e.slidesGrid,t.slidesGrid):new n(e.snapGrid,t.snapGrid),a=-e.controller.spline.interpolate(-r));a&&"container"!==e.params.controller.by||((Number.isNaN(i=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()))||!Number.isFinite(i))&&(i=1),a=(r-e.minTranslate())*i+t.minTranslate()),e.params.controller.inverse&&(a=t.maxTranslate()-a),t.updateProgress(a),t.setTranslate(a,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(o))for(let e=0;e<o.length;e+=1)o[e]!==r&&o[e]instanceof s&&l(o[e]);else o instanceof s&&r!==o&&l(o)},setTransition:function(t,r){let n,a=e.constructor,o=e.controller.control;function s(r){r.destroyed||(r.setTransition(t,e),0!==t&&(r.transitionStart(),r.params.autoHeight&&(0,i.n)(()=>{r.updateAutoHeight()}),(0,i.o)(r.wrapperEl,()=>{o&&r.transitionEnd()})))}if(Array.isArray(o))for(n=0;n<o.length;n+=1)o[n]!==r&&o[n]instanceof a&&s(o[n]);else o instanceof a&&r!==o&&s(o)}})}function p({swiper:e,extendParams:t,on:r}){let a,o;t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),e.a11y={clicked:!1};let s=null,l=new Date().getTime();function u(e){let t=s;0!==t.length&&(0,i.s)(t,e)}function d(e){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function f(e){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function h(e,t){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("role",t)})}function m(e,t){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function g(e,t){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function y(e){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function v(e){(e=(0,i.m)(e)).forEach(e=>{e.removeAttribute("aria-disabled")})}function b(t){if(13!==t.keyCode&&32!==t.keyCode)return;let r=e.params.a11y,n=t.target;if(!(e.pagination&&e.pagination.el&&(n===e.pagination.el||e.pagination.el.contains(t.target)))||t.target.matches(c(e.params.pagination.bulletClass))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){let t=(0,i.m)(e.navigation.prevEl);(0,i.m)(e.navigation.nextEl).includes(n)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?u(r.lastSlideMessage):u(r.nextSlideMessage)),t.includes(n)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?u(r.firstSlideMessage):u(r.prevSlideMessage))}e.pagination&&n.matches(c(e.params.pagination.bulletClass))&&n.click()}}function E(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function _(){return E()&&e.params.pagination.clickable}let S=(e,t,r)=>{d(e),"BUTTON"!==e.tagName&&(h(e,"button"),e.addEventListener("keydown",b)),g(e,r)},w=t=>
1{o&&o!==t.target&&!o.contains(t.target)&&(a=!0),e.a11y.clicked=!0},T=()=>{a=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},O=e=>{l=new Date().getTime()},x=t=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-l<100)return;let r=t.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!r||!e.slides.includes(r))return;o=r;let n=e.virtual&&e.params.virtual.enabled,i=(n?parseInt(r.getAttribute("data-swiper-slide-index"),10):e.slides.indexOf(r))===e.activeIndex,s=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(r);i||s||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{a||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(r.getAttribute("data-swiper-slide-index"))),0):n?e.slideTo(e.getSlideIndexWhenGrid(parseInt(r.getAttribute("data-swiper-slide-index"),10)),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(r)),0),a=!1)}))},P=()=>{let t=e.params.a11y;t.itemRoleDescriptionMessage&&m(e.slides,t.itemRoleDescriptionMessage),t.slideRole&&h(e.slides,t.slideRole);let r=e.slides.length;t.slideLabelMessage&&e.slides.forEach((n,i)=>{let a=e.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):i;g(n,t.slideLabelMessage.replace(/\{\{index\}\}/,a+1).replace(/\{\{slidesLength\}\}/,r))})};r("beforeInit",()=>{(s=(0,i.c)("span",e.params.a11y.notificationClass)).setAttribute("aria-live","assertive"),s.setAttribute("aria-atomic","true")}),r("afterInit",()=>{e.params.a11y.enabled&&(()=>{var t,r;let a=e.params.a11y;e.el.append(s);let o=e.el;a.containerRoleDescriptionMessage&&m(o,a.containerRoleDescriptionMessage),a.containerMessage&&g(o,a.containerMessage),a.containerRole&&h(o,a.containerRole);let l=e.wrapperEl,u=a.id||l.getAttribute("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`;if(t=l,(t=(0,i.m)(t)).forEach(e=>{e.setAttribute("id",u)}),a.wrapperLiveRegion){let t=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";r=l,(r=(0,i.m)(r)).forEach(e=>{e.setAttribute("aria-live",t)})}P();let{nextEl:c,prevEl:d}=e.navigation?e.navigation:{};c=(0,i.m)(c),d=(0,i.m)(d),c&&c.forEach(e=>S(e,u,a.nextSlideMessage)),d&&d.forEach(e=>S(e,u,a.prevSlideMessage)),_()&&(0,i.m)(e.pagination.el).forEach(e=>{e.addEventListener("keydown",b)}),(0,n.g)().addEventListener("visibilitychange",O),e.el.addEventListener("focus",x,!0),e.el.addEventListener("pointerdown",w,!0),e.el.addEventListener("pointerup",T,!0)})()}),r("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&P()}),r("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;let{nextEl:t,prevEl:r}=e.navigation;r&&(e.isBeginning?(y(r),f(r)):(v(r),d(r))),t&&(e.isEnd?(y(t),f(t)):(v(t),d(t)))}()}),r("paginationUpdate",()=>{if(e.params.a11y.enabled){let t;t=e.params.a11y,E()&&e.pagination.bullets.forEach(r=>{e.params.pagination.clickable&&(d(r),e.params.pagination.renderBullet||(h(r,"button"),g(r,t.paginationBulletMessage.replace(/\{\{index\}\}/,(0,i.j)(r)+1)))),r.matches(c(e.params.pagination.bulletActiveClass))?r.setAttribute("aria-current","true"):r.removeAttribute("aria-current")})}}),r("destroy",()=>{e.params.a11y.enabled&&function(){s&&s.remove();let{nextEl:t,prevEl:r}=e.navigation?e.navigation:{};t=(0,i.m)(t),r=(0,i.m)(r),t&&t.forEach(e=>e.removeEventListener("keydown",b)),r&&r.forEach(e=>e.removeEventListener("keydown",b)),_()&&(0,i.m)(e.pagination.el).forEach(e=>{e.removeEventListener("keydown",b)}),(0,n.g)().removeEventListener("visibilitychange",O),e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("focus",x,!0),e.el.removeEventListener("pointerdown",w,!0),e.el.removeEventListener("pointerup",T,!0))}()})}function m({swiper:e,extendParams:t,on:r,emit:i,params:a}){let o,s,l,u,c,d,f,h,p;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let g=a&&a.autoplay?a.autoplay.delay:3e3,y=a&&a.autoplay?a.autoplay.delay:3e3,v=new Date().getTime();function b(t){!e||e.destroyed||!e.wrapperEl||t.target!==e.wrapperEl||(e.wrapperEl.removeEventListener("transitionend",b),p||t.detail&&t.detail.bySwiperTouchMove||x())}let E=()=>
1{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?u=!0:u&&(y=l,u=!1);let t=e.autoplay.paused?l:v+y-new Date().getTime();e.autoplay.timeLeft=t,i("autoplayTimeLeft",t,t/g),s=requestAnimationFrame(()=>{E()})},_=()=>{let t=e.params.autoplay.delay,r=(()=>{let t;if(t=e.virtual&&e.params.virtual.enabled?e.slides.find(e=>e.classList.contains("swiper-slide-active")):e.slides[e.activeIndex])return parseInt(t.getAttribute("data-swiper-autoplay"),10)})();return!Number.isNaN(r)&&r>0&&(t=r),t},S=t=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),E();let r=t;void 0===r&&(g=r=_(),y=r),l=r;let n=e.params.speed,a=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(n,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,n,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(n,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,n,!0,!0),i("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{S()})))};return r>0?(clearTimeout(o),o=setTimeout(()=>{a()},r)):requestAnimationFrame(()=>{a()}),r},w=()=>{v=new Date().getTime(),e.autoplay.running=!0,S(),i("autoplayStart")},T=()=>{e.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(s),i("autoplayStop")},O=(t,r)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(o),t||(h=!0);let n=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):x()};(e.autoplay.paused=!0,r)?n():(l=(l||e.params.autoplay.delay)-(new Date().getTime()-v),e.isEnd&&l<0&&!e.params.loop||(l<0&&(l=0),n()))},x=()=>{e.isEnd&&l<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),h?(h=!1,S(l)):S(),e.autoplay.paused=!1,i("autoplayResume"))},P=()=>{if(e.destroyed||!e.autoplay.running)return;let t=(0,n.g)();"hidden"===t.visibilityState&&(h=!0,O(!0)),"visible"===t.visibilityState&&x()},A=t=>{"mouse"!==t.pointerType||(h=!0,p=!0,e.animating||e.autoplay.paused||O(!0))},k=t=>{"mouse"===t.pointerType&&(p=!1,e.autoplay.paused&&x())};r("init",()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",A),e.el.addEventListener("pointerleave",k)),(0,n.g)().addEventListener("visibilitychange",P),w())}),r("destroy",()=>{e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("pointerenter",A),e.el.removeEventListener("pointerleave",k)),(0,n.g)().removeEventListener("visibilitychange",P),e.autoplay.running&&T()}),r("_freeModeStaticRelease",()=>{(d||h)&&x()}),r("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?T():O(!0,!0)}),r("beforeTransitionStart",(t,r,n)=>{!e.destroyed&&e.autoplay.running&&(n||!e.params.autoplay.disableOnInteraction?O(!0,!0):T())}),r("sliderFirstMove",()=>{if(!e.destroyed&&e.autoplay.running){if(e.params.autoplay.disableOnInteraction)return void T();c=!0,d=!1,h=!1,f=setTimeout(()=>{h=!0,d=!0,O(!0)},200)}}),r("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&c){if(clearTimeout(f),clearTimeout(o),e.params.autoplay.disableOnInteraction){d=!1,c=!1;return}d&&e.params.cssMode&&x(),d=!1,c=!1}}),r("slideChange",()=>{!e.destroyed&&e.autoplay.running&&e.autoplay.paused&&(l=_(),g=_())}),Object.assign(e.autoplay,{start:w,stop:T,pause:O,resume:x})}function g({swiper:e,extendParams:t,on:r}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let a=!1,o=!1;function s(){let t=e.thumbs.swiper;return!!t&&!t.destroyed&&t.params.virtual&&t.params.virtual.enabled}function l(){let t,r=e.thumbs.swiper;if(!r||r.destroyed)return;let n=r.clickedIndex,i=r.clickedSlide;i&&i.classList.contains(e.params.thumbs.slideThumbActiveClass)||null!=n&&(t=r.params.loop?parseInt(r.clickedSlide.getAttribute("data-swiper-slide-index"),10):n,e.params.loop?e.slideToLoop(t):e.slideTo(t))}function u(){let{thumbs:t}=e.params;if(a)return!1;a=!0;let r=e.constructor;if(t.swiper instanceof r){if(t.swiper.destroyed)return a=!1,!1;e.thumbs.swiper=t.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}
1),e.thumbs.swiper.update()}else if((0,i.p)(t.swiper)){let n=Object.assign({},t.swiper);Object.assign(n,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new r(n),o=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",l),s()&&e.thumbs.swiper.on("virtualUpdate",()=>{c(!1,{autoScroll:!1})}),!0}function c(t,r){let n=e.thumbs.swiper;if(!n||n.destroyed)return;let a=1,o=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(a=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(a=1),a=Math.floor(a),n.slides.forEach(e=>e.classList.remove(o)),n.params.loop||s())for(let t=0;t<a;t+=1)(0,i.e)(n.slidesEl,`[data-swiper-slide-index="${e.realIndex+t}"]`).forEach(e=>{e.classList.add(o)});else for(let t=0;t<a;t+=1)n.slides[e.realIndex+t]&&n.slides[e.realIndex+t].classList.add(o);(r?.autoScroll??!0)&&function(t){let r=e.thumbs.swiper;if(!r||r.destroyed)return;let n="auto"===r.params.slidesPerView?r.slidesPerViewDynamic():r.params.slidesPerView,i=e.params.thumbs.autoScrollOffset,a=i&&!r.params.loop;if(e.realIndex!==r.realIndex||a){let o,s,l=r.activeIndex;if(r.params.loop){let t=r.slides.find(t=>t.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);o=r.slides.indexOf(t),s=e.activeIndex>e.previousIndex?"next":"prev"}else s=(o=e.realIndex)>e.previousIndex?"next":"prev";a&&(o+="next"===s?i:-1*i),r.visibleSlidesIndexes&&0>r.visibleSlidesIndexes.indexOf(o)&&(r.params.centeredSlides?o=o>l?o-Math.floor(n/2)+1:o+Math.floor(n/2)-1:o>l&&r.params.slidesPerGroup,r.slideTo(o,t))}}(t?0:void 0)}e.thumbs={swiper:null},r("beforeInit",()=>{let{thumbs:t}=e.params;if(t&&t.swiper)if("string"==typeof t.swiper||t.swiper instanceof HTMLElement){let r=(0,n.g)(),i=()=>{e.destroyed||(()=>{let n="string"==typeof t.swiper?r.querySelector(t.swiper):t.swiper;if(n&&n.swiper)t.swiper=n.swiper,u(),c(!0);else if(n){let r=`${e.params.eventsPrefix}init`,i=a=>{t.swiper=a.detail[0],n.removeEventListener(r,i),u(),c(!0),t.swiper.update(),e.update()};n.addEventListener(r,i)}return n})()||requestAnimationFrame(i)};requestAnimationFrame(i)}else u(),c(!0)}),r("slideChange update resize observerUpdate",()=>{c()}),r("setTransition",(t,r)=>{let n=e.thumbs.swiper;n&&!n.destroyed&&n.setTransition(r)}),r("beforeDestroy",()=>{let t=e.thumbs.swiper;t&&!t.destroyed&&o&&t.destroy()}),Object.assign(e.thumbs,{init:u,update:c})}function y({swiper:e,extendParams:t,emit:r,once:n}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){if(e.params.cssMode)return;let t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){if(e.params.cssMode)return;let{touchEventsData:t,touches:r}=e;0===t.velocities.length&&t.velocities.push({position:r[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:r[e.isHorizontal()?"currentX":"currentY"],time:(0,i.h)()})},onTouchEnd:function({currentPos:t}){if(e.params.cssMode)return;let{params:a,wrapperEl:o,rtlTranslate:s,snapGrid:l,touchEventsData:u}=e,c=(0,i.h)()-u.touchStartTime;if(t<-e.minTranslate())return void e.slideTo(e.activeIndex);if(t>-e.maxTranslate())return void(e.slides.length<l.length?e.slideTo(l.length-1):e.slideTo(e.slides.length-1));if(a.freeMode.momentum){let t,c;if(u.velocities.length>1){let t=u.velocities.pop(),r=u.velocities.pop(),n=t.position-r.position,o=t.time-r.time;e.velocity=n/o,e.velocity/=2,Math.abs(e.velocity)<a.freeMode.minimumVelocity&&(e.velocity=0),(o>150||(0,i.h)()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=a.freeMode.momentumVelocityRatio,u.velocities.length=0;let d=1e3*a.freeMode.momentumRatio,f=e.velocity*d,h=e.translate+f;s&&(h=-h);let p=!1,m=20*Math.abs(e.velocity)*a.freeMode.momentumBounceRatio;if(h<e.maxTranslate())a.freeMode.momentumBounce?(h+e.maxTranslate()<-m&&(h=e.maxTranslate()-m),t=e.maxTranslate(),p=!0,u.allowMomentumBounce
1=!0):h=e.maxTranslate(),a.loop&&a.centeredSlides&&(c=!0);else if(h>e.minTranslate())a.freeMode.momentumBounce?(h-e.minTranslate()>m&&(h=e.minTranslate()+m),t=e.minTranslate(),p=!0,u.allowMomentumBounce=!0):h=e.minTranslate(),a.loop&&a.centeredSlides&&(c=!0);else if(a.freeMode.sticky){let t;for(let e=0;e<l.length;e+=1)if(l[e]>-h){t=e;break}h=-(h=Math.abs(l[t]-h)<Math.abs(l[t-1]-h)||"next"===e.swipeDirection?l[t]:l[t-1])}if(c&&n("transitionEnd",()=>{e.loopFix()}),0!==e.velocity){if(d=s?Math.abs((-h-e.translate)/e.velocity):Math.abs((h-e.translate)/e.velocity),a.freeMode.sticky){let t=Math.abs((s?-h:h)-e.translate),r=e.slidesSizesGrid[e.activeIndex];d=t<r?a.speed:t<2*r?1.5*a.speed:2.5*a.speed}}else if(a.freeMode.sticky)return void e.slideToClosest();a.freeMode.momentumBounce&&p?(e.updateProgress(t),e.setTransition(d),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,(0,i.o)(o,()=>{e&&!e.destroyed&&u.allowMomentumBounce&&(r("momentumBounce"),e.setTransition(a.speed),setTimeout(()=>{e.setTranslate(t),(0,i.o)(o,()=>{e&&!e.destroyed&&e.transitionEnd()})},0))})):e.velocity?(r("_freeModeNoMomentumRelease"),e.updateProgress(h),e.setTransition(d),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,(0,i.o)(o,()=>{e&&!e.destroyed&&e.transitionEnd()}))):e.updateProgress(h),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(a.freeMode.sticky)return void e.slideToClosest();a.freeMode&&r("_freeModeNoMomentumRelease")}(!a.freeMode.momentum||c>=a.longSwipesMs)&&(r("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}})}function v({swiper:e,extendParams:t,on:r}){t({fadeEffect:{crossFade:!1}}),!function(e){let t,{effect:r,swiper:n,on:i,setTranslate:a,setTransition:o,overwriteParams:s,perspective:l,recreateShadows:u,getEffectParams:c}=e;i("beforeInit",()=>{if(n.params.effect!==r)return;n.classNames.push(`${n.params.containerModifierClass}${r}`),l&&l()&&n.classNames.push(`${n.params.containerModifierClass}3d`);let e=s?s():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)}),i("setTranslate _virtualUpdated",()=>{n.params.effect===r&&a()}),i("setTransition",(e,t)=>{n.params.effect===r&&o(t)}),i("transitionEnd",()=>{n.params.effect===r&&u&&c&&c().slideShadows&&(n.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),u())}),i("virtualUpdate",()=>{n.params.effect===r&&(n.slides.length||(t=!0),requestAnimationFrame(()=>{t&&n.slides&&n.slides.length&&(a(),t=!1)}))})}({effect:"fade",swiper:e,on:r,setTranslate:()=>{let{slides:t}=e;e.params.fadeEffect;for(let r=0;r<t.length;r+=1){let t=e.slides[r],n=-t.swiperSlideOffset;e.params.virtualTranslate||(n-=e.translate);let a=0;e.isHorizontal()||(a=n,n=0);let o=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t.progress),0):1+Math.min(Math.max(t.progress,-1),0),s=function(e){let t=(0,i.g)(e);return t!==e&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}(t);s.style.opacity=o,s.style.transform=`translate3d(${n}px, ${a}px, 0px)`}},setTransition:t=>{let r=e.slides.map(e=>(0,i.g)(e));r.forEach(e=>{e.style.transitionDuration=`${t}ms`}),function({swiper:e,duration:t,transformElements:r,allSlides:n}){let{activeIndex:a}=e;if(e.params.virtualTranslate&&0!==t){let t=!1;(n?r:r.filter(t=>{let r=t.classList.contains("swiper-slide-transform")?t.parentElement?t.parentElement:e.slides.find(e=>e.shadowRoot&&e.shadowRoot===t.parentNode):t;return e.getSlideIndex(r)===a})).forEach(r=>{(0,i.o)(r,()=>{if(t||!e||e.destroyed)return;t=!0,e.animating=!1;let r=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(r)})})}}({swiper:e,duration:t,transformElements:r,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},50719:(e,t,r)=>{"use strict";let n,i,a;function o(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function s(e){let t=[{},{}];
1return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function l(e,t,r,n){if("function"==typeof t){let[i,a]=s(n);t=t(void 0!==r?r:e.custom,i,a)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,a]=s(n);t=t(void 0!==r?r:e.custom,i,a)}return t}function u(e,t,r){let n=e.getProps();return l(n,t,void 0!==r?r:n.custom,e)}r.d(t,{P:()=>ah});let c=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],d=new Set(c),f=new Set(["width","height","top","left","right","bottom",...c]),h=e=>Array.isArray(e),p=e=>h(e)?e[e.length-1]||0:e,m=["read","resolveKeyframes","update","preRender","render","postRender"],g={skipAnimations:!1,useManualTiming:!1};function y(e,t){let r=!1,n=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>r=!0,o=m.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,n=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){o.has(t)&&(c.schedule(t),e()),l++,t(s)}let c={schedule:(e,t=!1,a=!1)=>{let s=a&&i?r:n;return t&&o.add(e),s.has(e)||s.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0,[r,n]=[n,r],r.forEach(u),t,l=0,r.clear(),i=!1,a&&(a=!1,c.process(e))}};return c}(a,t?r:void 0),e),{}),{read:s,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=o,h=()=>{let a=g.useManualTiming?i.timestamp:performance.now();r=!1,g.useManualTiming||(i.delta=n?1e3/60:Math.max(Math.min(a-i.timestamp,40),1)),i.timestamp=a,i.isProcessing=!0,s.process(i),l.process(i),u.process(i),c.process(i),d.process(i),f.process(i),i.isProcessing=!1,r&&t&&(n=!1,e(h))};return{schedule:m.reduce((t,a)=>{let s=o[a];return t[a]=(t,a=!1,o=!1)=>(!r&&(r=!0,n=!0,i.isProcessing||e(h)),s.schedule(t,a,o)),t},{}),cancel:e=>{for(let t=0;t<m.length;t++)o[m[t]].cancel(e)},state:i,steps:o}}let v=e=>e,{schedule:b,cancel:E,state:_,steps:S}=y("u">typeof requestAnimationFrame?requestAnimationFrame:v,!0);function w(){n=void 0}let T={now:()=>(void 0===n&&T.set(_.isProcessing||g.useManualTiming?_.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(w)}};function O(e,t){-1===e.indexOf(t)&&e.push(t)}function x(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class P{constructor(){this.subscriptions=[]}add(e){return O(this.subscriptions,e),()=>x(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}}class A{constructor(e,t={}){this.version="12.7.3",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let r=T.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=T.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(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 P);let r=this.events[e].add(t);return"change"===e?()=>{r(),b.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 a&&a.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=T.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 k(e,t){return new A(e,t)}let I=e=>!!(e&&e.getVelocity);function C(e,t){let r=e.getValue("willChange");if(I(r)&&r.add)return r.add(t);if(!r&&g.WillChange){let r=new g.WillChange("auto");e.addValue("willChange",r),r.add(t)}}let R=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),D="data-"+R("framerAppearId"),N=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function j(e,t,r,n){return e===t&&r===n?v:i=>0===i||1===i?i:N(function(e,t,r,n,i){let a,o,s=0;do(a=N(o=t+(r-t)/2,n,i)-e)>0?r=o:t=o;while(Math.abs(a)>1e-7&&++s<12);return o}(i,0,1,e,r),t,n)}let M=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,L=e=>t=>1-e(1-t),$=j(.33,1.53,.69,.99),U=L($),F=M(U),B=e=>(e*=2)<1?.5*U(e):.5*(2-Math.pow(2,-10*(e-1))),z=e=>1-Math.sin(Math.acos(e)),H=L(z),q=M(z),G=(e,t,r)=>r>t?t:r<e?e:r,W={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},V={...W,transform:e=>G(0,1,e)},Y={...W,default:1},Z=e=>Math.round(1e5*e)/1e5,K=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,X=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Q=(e,t)=>r=>!!("string"==typeof r&&X.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),J=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[i,a,o,s]=n.match(K);return{[e]:parseFloat(i),[t]:parseFloat(a),[r]:parseFloat(o),alpha:void 0!==s?parseFloat(s):1}},ee={...W,transform:e=>Math.round(G(0,255,e))},et={test:Q("rgb","red"),parse:J("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+ee.transform(e)+", "+ee.transform(t)+", "+ee.transform(r)+", "+Z(V.transform(n))+")"},er={test:Q("#"),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),alph
1a:i?parseInt(i,16)/255:1}},transform:et.transform},en=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),ei=en("deg"),ea=en("%"),eo=en("px"),es=en("vh"),el=en("vw"),eu={...ea,parse:e=>ea.parse(e)/100,transform:e=>ea.transform(100*e)},ec={test:Q("hsl","hue"),parse:J("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+ea.transform(Z(t))+", "+ea.transform(Z(r))+", "+Z(V.transform(n))+")"},ed={test:e=>et.test(e)||er.test(e)||ec.test(e),parse:e=>et.test(e)?et.parse(e):ec.test(e)?ec.parse(e):er.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?et.transform(e):ec.transform(e)},ef=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eh="number",ep="color",em=/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 eg(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[],a=0,o=t.replace(em,e=>(ed.test(e)?(n.color.push(a),i.push(ep),r.push(ed.parse(e))):e.startsWith("var(")?(n.var.push(a),i.push("var"),r.push(e)):(n.number.push(a),i.push(eh),r.push(parseFloat(e))),++a,"${}")).split("${}");return{values:r,split:o,indexes:n,types:i}}function ey(e){return eg(e).values}function ev(e){let{split:t,types:r}=eg(e),n=t.length;return e=>{let i="";for(let a=0;a<n;a++)if(i+=t[a],void 0!==e[a]){let t=r[a];t===eh?i+=Z(e[a]):t===ep?i+=ed.transform(e[a]):i+=e[a]}return i}}let eb=e=>"number"==typeof e?0:e,eE={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(K)?.length||0)+(e.match(ef)?.length||0)>0},parse:ey,createTransformer:ev,getAnimatableNone:function(e){let t=ey(e);return ev(e)(t.map(eb))}},e_=new Set(["brightness","contrast","saturate","opacity"]);function eS(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(K)||[];if(!n)return e;let i=r.replace(n,""),a=+!!e_.has(t);return n!==r&&(a*=100),t+"("+a+i+")"}let ew=/\b([a-z-]*)\(.*?\)/gu,eT={...eE,getAnimatableNone:e=>{let t=e.match(ew);return t?t.map(eS).join(" "):e}},eO={...W,transform:Math.round},ex={borderWidth:eo,borderTopWidth:eo,borderRightWidth:eo,borderBottomWidth:eo,borderLeftWidth:eo,borderRadius:eo,radius:eo,borderTopLeftRadius:eo,borderTopRightRadius:eo,borderBottomRightRadius:eo,borderBottomLeftRadius:eo,width:eo,maxWidth:eo,height:eo,maxHeight:eo,top:eo,right:eo,bottom:eo,left:eo,padding:eo,paddingTop:eo,paddingRight:eo,paddingBottom:eo,paddingLeft:eo,margin:eo,marginTop:eo,marginRight:eo,marginBottom:eo,marginLeft:eo,backgroundPositionX:eo,backgroundPositionY:eo,rotate:ei,rotateX:ei,rotateY:ei,rotateZ:ei,scale:Y,scaleX:Y,scaleY:Y,scaleZ:Y,skew:ei,skewX:ei,skewY:ei,distance:eo,translateX:eo,translateY:eo,translateZ:eo,x:eo,y:eo,z:eo,perspective:eo,transformPerspective:eo,opacity:V,originX:eu,originY:eu,originZ:eo,zIndex:eO,size:eo,fillOpacity:V,strokeOpacity:V,numOctaves:eO},eP={...ex,color:ed,backgroundColor:ed,outlineColor:ed,fill:ed,stroke:ed,borderColor:ed,borderTopColor:ed,borderRightColor:ed,borderBottomColor:ed,borderLeftColor:ed,filter:eT,WebkitFilter:eT},eA=e=>eP[e];function ek(e,t){let r=eA(e);return r!==eT&&(r=eE),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let eI=new Set(["auto","none","0"]),eC=e=>180*e/Math.PI,eR=e=>eN(eC(Math.atan2(e[1],e[0]))),eD={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:eR,rotateZ:eR,skewX:e=>eC(Math.atan(e[1])),skewY:e=>eC(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},eN=e=>((e%=360)<0&&(e+=360),e),ej=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),eM=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),eL={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ej,scaleY:eM,scale:e=>(ej(e)+eM(e))/2,rotateX:e=>eN(eC(Math.atan2(e[6],e[5]))),rotateY:e=>eN(eC(Math.atan2(-e[2],e[0]))),rotateZ:eR,rotate:eR,skewX:e=>eC(Math.atan(e[4])),skewY:e=>eC(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function e$(e){return+!!e.includes("scale")}function eU(e,t){let r,n;if(!e||"none"===e)return e$(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)r=eL,n=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=eD,n=t}if(!n)return e$(t);let a=r[t],o=n[1].split(",").map(eF);return"function"==typeof a?a(o):o[a]}function eF(e){return parseFloat(e.trim())}let eB=e=>e===W||e===eo,ez=new Set(["x","y","z"]),eH=c.filter(e=>!ez.has(e)),eq={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:(e,{transform:t})=>eU(t,"x"),y:(e,{transform:t})=>eU(t,"y")};eq.translateX=eq.x,eq.translateY=eq.y;let eG=new Set,eW=!1,eV=!1;function eY(){if(eV){let e=Array.from(eG).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;
1t.forEach(e=>{let t,n=(t=[],eH.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t);n.length&&(r.set(e,n),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eV=!1,eW=!1,eG.forEach(e=>e.complete()),eG.clear()}function eZ(){eG.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eV=!0)})}class eK{constructor(e,t,r,n,i,a=!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=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(eG.add(this),eW||(eW=!0,b.read(eZ),b.resolveKeyframes(eY))):(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=n?.get(),a=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,a);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=a),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),eG.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,eG.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let eX=e=>t=>"string"==typeof t&&t.startsWith(e),eQ=eX("--"),eJ=eX("var(--"),e0=e=>!!eJ(e)&&e1.test(e.split("/*")[0].trim()),e1=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,e2=()=>{},e4=()=>{},e6=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,e3=e=>t=>t.test(e),e5=[W,eo,ea,ei,el,es,{test:e=>"auto"===e,parse:e=>e}],e8=e=>e5.find(e3(e));class e9 extends eK{constructor(e,t,r,n,i){super(e,t,r,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&e0(n=n.trim())){let i=function e(t,r,n=1){e4(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,a]=function(e){let t=e6.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${r??n}`,i]}(t);if(!i)return;let o=window.getComputedStyle(r).getPropertyValue(i);if(o){let e=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return e0(a)?e(a,r,n+1):a}(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!f.has(r)||2!==e.length)return;let[n,i]=e,a=e8(n),o=e8(i);if(a!==o)if(eB(a)&&eB(o))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++)(function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)})(e[t])&&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&&!eI.has(t)&&eg(t).values.length&&(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=ek(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eq[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(){let{element:e,name:t,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let i=r.length-1,a=r[i];r[i]=eq[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}let e7=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eE.test(e)||"0"===e)&&!e.startsWith("url("));function te(e){return"function"==typeof e&&"applyToOptions"in e}let tt=e=>null!==e;function tr(e,{repeat:t,repeatType:r="loop"},n){let i=e.filter(tt),a=t&&"loop"!==r&&t%2==1?0:i.length-1;return a&&void 0!==n?n:i[a]}class tn{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:a="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=T.now(),this.options={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:a,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(eZ(),eY()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=T.now(),this.hasAttemptedResolve=!0;let{name:r,type:n,velocity:i,delay:a,onComplete:o,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 a=e[e.length-1],o=e7(i,t),s=e7(a,t);return e2(o===s,`You are trying to animate ${t} from "${i}" to "${a}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${a} via the \`style\` property.`),!!o&&!!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||te(r))&&n)}(e,r,n,i))if(a)this.options.duration=0;else{s&&s(tr(e,this.options,t)),o&&o(),this.resolveFinishedPromise();return}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)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}let ti=(e,t,r)=>e+(t-e)*r;function ta(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}function to(e,t){return r=>r>0?t:e}let ts=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},tl=[er,et,ec];function tu(e){let t=tl.find(t=>t.test(e));if(e2(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let r=t.parse(e);return t===ec&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,a=0,o=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;i=ta(s,n,e+1/3),a=ta(s,n,e),o=ta(s,n,e-1/3)}else i=a=o=r;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*o),alpha:n}}(r)),r}let tc=(e,t)=>{let r=tu(e),n=tu(t);if(!r||!n)return to(e,t);let i={...r};return e=>(i.red=ts(r.red,n.red,e),i.green=ts(r.green,n.green,e),i.blue=ts(r.blue,n.blue,e),i.alpha=ti(r.alpha,n.alpha,e),et.transform(i))},td=(e,t)=>r=>t(e(r)),tf=(...e)=>e.reduce(td),th=new Set(["none","hidden"]);function tp(e,t){return r=>ti(e,t,r)}function tm(e){return"number"==typeof e?tp:"string"==typeof e?e0(e)?to:ed.test(e)?tc:tv:Array.isArray(e)?tg:"object"==typeof e?ed.test(e)?tc:ty:to}function tg(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>tm(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function ty(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=tm(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let tv=(e,t)=>{let r=eE.createTransformer(t),n=eg(e),i=eg(t);if(!(n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length))return e2(!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.`),to(e,t);if(th.has(e)&&!i.values.length||th.has(t)&&!n.values.length)return th.has(e)?r=>r<=0?e:t:r=>r>=1?t:e;return tf(tg(function(e,t){let r=[],n={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][n[a]],s=e.values[o]??0;r[i]=s,n[a]++}return r}(n,i),i.values),r)};function tb(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?ti(e,t,r):tm(e)(e,t)}function tE(e,t,r){var n,i;let a=Math.max(t-5,0);return n=r-e(a),(i=t-a)?1e3/i*n:0}let t_=.01,tS=2,tw=.005,tT=.5,tO=e=>1e3*e;function tx(e,t){return e*Math.sqrt(1-t*t)}function tP(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}let tA={};function tk(e){let t;return()=>(void 0===t&&(t=e()),t)}let tI=(i=tk(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),()=>tA.linearEasing??i()),tC=(e,t,r=10)=>{let n="",i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)n+=e(t/(i-1))+", ";return`linear(${n.substring(0,n.length-2)})`},tR=["duration","bounce"],tD=["stiffness","damping","mass"];function tN(e,t){return t.some(t=>void 0!==e[t])}function tj(e=.3,t=.3){let r,n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:a}=n,o=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:c,mass:d,duration:f,velocity:h,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!tN(e,tD)&&tN(e,tR))if(e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,i=2*G(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:i}}else{let r=function({duration:e=800,bounce:t=.3,velocity:r=0,mass:n=1}){let i,a;e2(e<=tO(10),"Spring duration must be 10 seconds or less");let o=1-t;o=G(.05,1,o),e=G(.01,10,e/1e3),o<1?(i=t=>{let n=t*o,i=n*e;return .001-(n-r)/tx(t,o)*Math.exp(-i)},a=t=>{let n=t*o*e,a=Math.pow(o,2)*Math.pow(t,2)*e,s=Math.exp(-n),l=tx(Math.pow(t,2),o);return(n*r+r-a)*s*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),a=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,a,5/e);if(e=tO(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*n;return{stiffness:t,damping:2*o*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...n,velocity:-((n.velocity||0)/1e3)}),m=h||0,g=c/(2*Math.sqrt(u*d)),y=s-o,v=Math.sqrt(u/d)/1e3,b=5>Math.abs(y);if(i||(i=b?t_:tS),a||(a=b?tw:tT),g<1){let e=tx(v,g);r=t=>s-Math.exp(-g*v*t)*((m+g*v*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}else if(1===g)r=e=>s-Math.exp(-v*e)*(y+(m+v*y)*e);else{let e=v*Math.sqrt(g*g-1);r=t=>{let r=Math.exp(-g*v*t),n=Math.min(e*t,300);return s-r*((m+g*v*y)*Math.sinh(n)+e*y*Math.cosh(n))/e}}let E={calculatedDuration:p&&f||null,next:e=>{let t=r(e);if(p)l.done=e>=f;else{let n=0;g<1&&(n=0===e?tO(m):tE(r,e,t));let o=Math.abs(s-t)<=a;l.done=Math.abs(n)<=i&&o}return l.value=l.done?s:t,l},toString:()=>{let e=Math.min(tP(E),2e4),t=tC(t=>E.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return E}function tM({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d,f,h=e[0],p={done:!1,value:h},m=r*t,g=h+m,y=void 0===o?g:o(g);y!==g&&(m=y-h);let v=e=>-m*Math.exp(-e/n),b=e=>y+v(e),E=e=>{let t=v(e),r=b(e);p.done=Math.abs(t)<=u,p.value=p.done?y:r},_=e=>{let t;if(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l){var r;d=e,f=tj({keyframes:[p.value,(r=p.value,void 0===s?l:void 0===l||Math.abs(s-r)<Math.abs(l-r)?s:l)],velocity:tE(b,e,p.value),damping:i,stiffness:a,restDelta:u,restSpeed:c})}};return _(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==d||(t=!0,E(e),_(e)),void 0!==d&&e>=d)?f.next(e-d):(t||E(e),p)}}}tj.applyToOptions=e=>{let t=function(e,t=100,r){let n=r({...e,keyframes:[0,t]}),i=Math.min(tP(n),2e4);return{type:"keyframes",ease:e=>n.next(i*e).value/t,duration:i/1e3}}(e,100,tj);return e.ease=tI()?t.ease:"easeOut",e.duration=tO(t.duration),e.type="keyframes",e};let tL=j(.42,0,1,1),t$=j(0,0,.58,1),tU=j(.42,0,.58,1),tF=e=>Array.isArray(e)&&"number"==typeof e[0],tB={linear:v,easeIn:tL,easeInOut:tU,easeOut:t$,circIn:z,circInOut:q,circOut:H,backIn:U,backInOut:F,backOut:$,anticipate:B},tz=e=>{if(tF(e)){e4(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,i]=e;return j(t,r,n,i)}return"string"==typeof e?(e4(void 0!==tB[e],`Invalid easing type '${e}'`),tB[e]):e},tH=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n};function tq({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){var i;let a,o=Array.isArray(n)&&"number"!=typeof n[0]?n.map(tz):tz(n),s={done:!1,value:t[0]},l=function(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let a=e.length;if(e4(a===t.length,"Both input and output ranges must be the same length"),1===a)return()=>t[0];if(2===a&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=function(e,t,r){let n=[],i=r||tb,a=e.length-1;for(let r=0;r<a;r++){let a=i(e[r],e[r+1]);t&&(a=tf(Array.isArray(t)?t[r]||v:t,a)),n.push(a)}return n}(t,n,i),l=s.length,u=r=>{if(o&&r<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(r<e[n+1]);n++);let i=tH(e[n],e[n+1],r);return s[n](i)};return r?t=>u(G(e[0],e[a-1],t)):u}((i=r&&r.length===t.length?r:(!function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=tH(0,t,n);e.push(ti(r,1,i))}}(a=[0],t.length-1),a),i.map(t=>t*e)),t,{ease:Array.isArray(o)?o:t.map(()=>o||tU).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=l(t),s.done=t>=e,s)}}
1let tG=e=>{let t=({timestamp:t})=>e(t);return{start:()=>b.update(t,!0),stop:()=>E(t),now:()=>_.isProcessing?_.timestamp:T.now()}},tW={layout:0,mainThread:0,waapi:0},tV={decay:tM,inertia:tM,tween:tq,keyframes:tq,spring:tj},tY=e=>e/100;class tZ extends tn{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,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()};const{name:t,motionValue:r,element:n,keyframes:i}=this.options,a=n?.KeyframeResolver||eK,o=(e,t)=>this.onKeyframesResolved(e,t);this.resolver=new a(i,o,t,r,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let t,r,{type:n="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:o,velocity:s=0}=this.options,l=te(n)?n:tV[n]||tq;l!==tq&&"number"!=typeof e[0]&&(t=tf(tY,tb(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===o&&(r=l({...this.options,keyframes:[...e].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=tP(u));let{calculatedDuration:c}=u,d=c+a;return{generator:u,mirroredGenerator:r,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(i+1)-a}}onPostResolved(){let{autoplay:e=!0}=this.options;tW.mainThread++,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:a,mapPercentToKeyframes:o,keyframes:s,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=r;if(null===this.startTime)return i.next(0);let{delay:d,repeat:f,repeatType:h,repeatDelay:p,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),y=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let v=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"===h?(r=1-r,p&&(r-=p/c)):"mirror"===h&&(b=a)),v=G(0,1,r)*c}let E=y?{done:!1,value:s[0]}:b.next(v);o&&(E.value=o(E.value));let{done:_}=E;y||null===l||(_=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&_);return S&&void 0!==n&&(E.value=tr(s,this.options,n)),m&&m(E.value),S&&this.finish(),E}get duration(){let{resolved:e}=this;return e?e.calculatedDuration/1e3:0}get time(){return this.currentTime/1e3}set time(e){e=tO(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=this.currentTime/1e3)}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=tG,onPlay:t,startTime:r}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=n):this.startTime=r??this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=this.currentTime??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.updateFinishedProm
1ise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel(),tW.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}get finished(){return this.currentFinishedPromise}}let tK=new Set(["opacity","clipPath","filter","transform"]),tX=tk(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tQ=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,tJ={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tQ([0,.65,.55,1]),circOut:tQ([.55,0,1,.45]),backIn:tQ([.31,.01,.66,-.59]),backOut:tQ([.33,1.53,.69,.99])};function t0(e,t){e.timeline=t,e.onfinish=null}let t1={anticipate:B,backInOut:F,circInOut:q};class t2 extends tn{constructor(e){super(e);const{name:t,motionValue:r,element:n,keyframes:i}=this.options;this.resolver=new e9(i,(e,t)=>this.onKeyframesResolved(e,t),t,r,n),this.resolver.scheduleResolve()}initPlayback(e,t){var r;let{duration:n=300,times:i,ease:a,type:o,motionValue:s,name:l,startTime:u}=this.options;if(!s.owner||!s.owner.current)return!1;if("string"==typeof a&&tI()&&a in t1&&(a=t1[a]),te((r=this.options).type)||"spring"===r.type||!function e(t){return!!("function"==typeof t&&tI()||!t||"string"==typeof t&&(t in tJ||tI())||tF(t)||Array.isArray(t)&&t.every(e))}(r.ease)){let{onComplete:t,onUpdate:r,motionValue:s,element:l,...u}=this.options,c=function(e,t){let r=new tZ({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},i=[],a=0;for(;!n.done&&a<2e4;)i.push((n=r.sample(a)).value),a+=10;return{times:void 0,keyframes:i,duration:a-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),n=c.duration,i=c.times,a=c.ease,o="keyframes"}let c=function(e,t,r,{delay:n=0,duration:i=300,repeat:a=0,repeatType:o="loop",ease:s="easeInOut",times:l}={}){let u={[t]:r};l&&(u.offset=l);let c=function e(t,r){if(t)return"function"==typeof t&&tI()?tC(t,r):tF(t)?tQ(t):Array.isArray(t)?t.map(t=>e(t,r)||tJ.easeOut):tJ[t]}(s,i);Array.isArray(c)&&(u.easing=c);let d=e.animate(u,{delay:n,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:a+1,direction:"reverse"===o?"alternate":"normal",pseudoElement:void 0});return d}(s.owner.current,l,e,{...this.options,duration:n,times:i,ease:a});return c.startTime=u??this.calcStartTime(),this.pendingTimeline?(t0(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:r}=this.options;s.set(tr(e,this.options,t)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:i,type:o,ease:a,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return t/1e3}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return(t.currentTime||0)/1e3}set time(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.currentTime=tO(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}get finished(){return this.resolved.animation.finished}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}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return v;let{animation:r}=t;t0(r,e)}else this.pendingTimeline=e;return v}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;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:r,duration:n,type:i,ease:a,times:o}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:s,element:l,...u}=this.options,c=new tZ({...u,keyframes:r,duration:n,type:i,ease:a,times:o,isGenerator:!0}),d=tO(this.time);e.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}let{onStop:s}=this.options;s&&s(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}
1static supports(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:a,type:o}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;let{onUpdate:s,transformTemplate:l}=t.owner.getProps();return tX()&&r&&tK.has(r)&&("transform"!==r||!l)&&!s&&!n&&"mirror"!==i&&0!==a&&"inertia"!==o}}let t4={type:"spring",stiffness:500,damping:25,restSpeed:10},t6={type:"keyframes",duration:.8},t3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};function t5(e,t){return e?.[t]??e?.default??e}let t8=tk(()=>void 0!==window.ScrollTimeline);class t9{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}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,t){let r=this.animations.map(r=>t8()&&r.attachTimeline?r.attachTimeline(e):"function"==typeof t?t(r):void 0);return()=>{r.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 startTime(){return this.getAll("startTime")}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]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class t7 extends t9{then(e,t){return this.finished.finally(e).then(()=>{})}}let re=(e,t,r,n={},i,a)=>o=>{let s=t5(n,e)||{},l=s.delay||n.delay||0,{elapsed:u=0}=n;u-=tO(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:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:a,repeatType:o,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&(c={...c,...((e,{keyframes:t})=>t.length>2?t6:d.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:t4:t3)(e,c)}),c.duration&&(c.duration=tO(c.duration)),c.repeatDelay&&(c.repeatDelay=tO(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let f=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0===c.delay&&(f=!0)),g.skipAnimations&&(f=!0,c.duration=0,c.delay=0),c.allowFlatten=!s.type&&!s.ease,f&&!a&&void 0!==t.get()){let e=tr(c.keyframes,s);if(void 0!==e)return b.update(()=>{c.onUpdate(e),c.onComplete()}),new t7([])}return!a&&t2.supports(c)?new t2(c):new tZ(c)};function rt(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:o,...s}=t;n&&(a=n);let l=[],c=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let n=e.getValue(t,e.latestValues[t]??null),i=s[t];if(void 0===i||c&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(c,t))continue;let o={delay:r,...t5(a||{},t)},u=!1;if(window.MotionHandoffAnimation){let r=e.props[D];if(r){let e=window.MotionHandoffAnimation(r,t,b);null!==e&&(o.startTime=e,u=!0)}}C(e,t),n.start(re(t,n,i,e.shouldReduceMotion&&f.has(t)?{type:!1}:o,e,u));let d=n.animation;d&&l.push(d)}return o&&Promise.all(l).then(()=>{b.update(()=>{o&&function(e,t){let{transitionEnd:r={},transition:n={},...i}=u(e,t)||{};for(let t in i={...i,...r}){let r=p(i[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,k(r))}}(e,o)})}),l}function rr(e,t,r={}){let n=u(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let a=n?()=>Promise.all(rt(e,n,r)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return function(e,t,r=0,n=0,i=1,a){let o=[],s=(e.variantChildren.size-1)*n,l=1===i?(e=0)=>e*n:(e=0)=>s-e*n;
1return Array.from(e.variantChildren).sort(rn).forEach((e,n)=>{e.notify("AnimationStart",t),o.push(rr(e,t,{...a,delay:r+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(o)}(e,t,a+n,o,s,r)}:()=>Promise.resolve(),{when:s}=i;if(!s)return Promise.all([a(),o(r.delay)]);{let[e,t]="beforeChildren"===s?[a,o]:[o,a];return e().then(()=>t())}}function rn(e,t){return e.sortNodePosition(t)}function ri(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 ra(e){return"string"==typeof e||Array.isArray(e)}let ro=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],rs=["initial",...ro],rl=rs.length,ru=[...ro].reverse(),rc=ro.length;function rd(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rf(){return{animate:rd(!0),whileInView:rd(),whileHover:rd(),whileTap:rd(),whileDrag:rd(),whileFocus:rd(),exit:rd()}}class rh{constructor(e){this.isMounted=!1,this.node=e}update(){}}class rp 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=>rr(e,t,r)));else if("string"==typeof t)n=rr(e,t,r);else{let i="function"==typeof t?u(e,t,r.custom):t;n=Promise.all(rt(e,i,r))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=rf(),n=!0,i=t=>(r,n)=>{let i=u(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function a(a){let{props:s}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<rl;e++){let n=rs[e],i=t.props[n];(ra(i)||!1===i)&&(r[n]=i)}return r}(e.parent)||{},c=[],d=new Set,f={},p=1/0;for(let t=0;t<rc;t++){var m,g;let u=ru[t],y=r[u],v=void 0!==s[u]?s[u]:l[u],b=ra(v),E=u===a?y.isActive:null;!1===E&&(p=t);let _=v===l[u]&&v!==s[u]&&b;if(_&&n&&e.manuallyAnimateOnMount&&(_=!1),y.protectedKeys={...f},!y.isActive&&null===E||!v&&!y.prevProp||o(v)||"boolean"==typeof v)continue;let S=(m=y.prevProp,"string"==typeof(g=v)?g!==m:!!Array.isArray(g)&&!ri(g,m)),w=S||u===a&&y.isActive&&!_&&b||t>p&&b,T=!1,O=Array.isArray(v)?v:[v],x=O.reduce(i(u),{});!1===E&&(x={});let{prevResolvedValues:P={}}=y,A={...P,...x},k=t=>{w=!0,d.has(t)&&(T=!0,d.delete(t)),y.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in A){let t=x[e],r=P[e];if(!f.hasOwnProperty(e))(h(t)&&h(r)?ri(t,r):t===r)?void 0!==t&&d.has(e)?k(e):y.protectedKeys[e]=!0:null!=t?k(e):d.add(e)}y.prevProp=v,y.prevResolvedValues=x,y.isActive&&(f={...f,...x}),n&&e.blockInitialAnimation&&(w=!1);let I=!(_&&S)||T;w&&I&&c.push(...O.map(e=>({animation:e,options:{type:u}})))}if(d.size){let t={};if("boolean"!=typeof s.initial){let r=u(e,Array.isArray(s.initial)?s.initial[0]:s.initial);r&&r.transition&&(t.transition=r.transition)}d.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=n??null}),c.push({animation:t})}let y=!!c.length;return n&&(!1===s.initial||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(y=!1),n=!1,y?t(c):Promise.resolve()}return{animateChanges:a,setActive:function(t,n){if(r[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),r[t].isActive=n;let i=a(t);for(let e in r)r[e].protectedKeys={};return i},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=rf(),n=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();o(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let rm=0;class rg extends rh{constructor(){super(...arguments),this.id=rm++}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(()=>
1{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),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 rv=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function rb(e){return{point:{x:e.pageX,y:e.pageY}}}function rE(e,t,r,n){return ry(e,t,e=>rv(e)&&r(e,rb(e)),n)}function r_({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function rS(e){return e.max-e.min}function rw(e,t,r,n=.5){e.origin=n,e.originPoint=ti(t.min,t.max,e.origin),e.scale=rS(r)/rS(t),e.translate=ti(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function rT(e,t,r,n){rw(e.x,t.x,r.x,n?n.originX:void 0),rw(e.y,t.y,r.y,n?n.originY:void 0)}function rO(e,t,r){e.min=r.min+t.min,e.max=e.min+rS(t)}function rx(e,t,r){e.min=t.min-r.min,e.max=e.min+rS(t)}function rP(e,t,r){rx(e.x,t.x,r.x),rx(e.y,t.y,r.y)}let rA=()=>({translate:0,scale:1,origin:0,originPoint:0}),rk=()=>({x:rA(),y:rA()}),rI=()=>({min:0,max:0}),rC=()=>({x:rI(),y:rI()});function rR(e){return[e("x"),e("y")]}function rD(e){return void 0===e||1===e}function rN({scale:e,scaleX:t,scaleY:r}){return!rD(e)||!rD(t)||!rD(r)}function rj(e){return rN(e)||rM(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function rM(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function rL(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function r$(e,t=0,r=1,n,i){e.min=rL(e.min,t,r,n,i),e.max=rL(e.max,t,r,n,i)}function rU(e,{x:t,y:r}){r$(e.x,t.translate,t.scale,t.originPoint),r$(e.y,r.translate,r.scale,r.originPoint)}function rF(e,t){e.min=e.min+t,e.max=e.max+t}function rB(e,t,r,n,i=.5){let a=ti(e.min,e.max,i);r$(e,t,r,a,n)}function rz(e,t){rB(e.x,t.x,t.scaleX,t.scale,t.originX),rB(e.y,t.y,t.scaleY,t.scale,t.originY)}function rH(e,t){return r_(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))}let rq=({current:e})=>e?e.ownerDocument.defaultView:null;function rG(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let rW=(e,t)=>Math.abs(e-t);class rV{constructor(e,t,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=rK(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=(e=r.offset,t={x:0,y:0},Math.sqrt(rW(e.x,t.x)**2+rW(e.y,t.y)**2)>=3);if(!n&&!i)return;let{point:a}=r,{timestamp:o}=_;this.history.push({...a,timestamp:o});let{onStart:s,onMove:l}=this.handlers;n||(s&&s(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=rY(t,this.transformPagePoint),b.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=rK("pointercancel"===e.type?this.lastMoveEventInfo:rY(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,a),n&&n(e,a)},!rv(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=r,this.contextWindow=n||window;const a=rY(rb(e),this.transformPagePoint),{point:o}=a,{timestamp:s}=_;this.history=[{...o,timestamp:s}];const{onSessionStart:l}=t;l&&l(e,rK(a,this.history)),this.removeListeners=tf(rE(this.contextWindow,"pointermove",this.handlePointerMove),rE(this.contextWindow,"pointerup",this.handlePointerUp),rE(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),E(this.updatePoint)}}function rY(e,t){return t?{point:t(e.point)}:e}function rZ(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rK({point:e},t){return{point:e,delta:rZ(e,rX(t)),offset:rZ(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,r=null,n=rX(e);for(;t>=0&&(r=e[t],!(n.timestamp-r.timestamp>tO(.1)));)t--;if(!r)return{x:0,y:0};let i=(n.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};let a={x:(n.x-r.x)/i,y:(n.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t)}}function rX(e){return e[e.length-1]}function rQ(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function rJ(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function r0(e,t,r){return{min:r1(e,t),max:r1(e,r)}}function r1(e,t){return"number"==typeof e?e:e[t]||0}let r2={x:!1,y:!1},r4=new WeakMap;class r6{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rC(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=e=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(rb(e).point)},i=(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"
1y"===e)if(r2[e])return null;else return r2[e]=!0,()=>{r2[e]=!1};return r2.x||r2.y?null:(r2.x=r2.y=!0,()=>{r2.x=r2.y=!1})}(r),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rR(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ea.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=rS(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&b.postRender(()=>i(e,t)),C(this.visualElement,"transform");let{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},a=(e,t)=>{let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:a}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:o}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(o),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),a&&a(e,t)},o=(e,t)=>this.stop(e,t),s=()=>rR(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:l}=this.getProps();this.panSession=new rV(e,{onSessionStart:n,onStart:i,onMove:a,onSessionEnd:o,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:rq(this.visualElement)})}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&b.postRender(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!r3(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(a=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?ti(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?ti(r,e,n.max):Math.min(e,r)),e}(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&rG(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:rQ(e.x,r,i),y:rQ(e.y,t,n)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:r0(e,"left","right"),y:r0(e,"top","bottom")}}(t),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&rR(e=>{var t,n;let i;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=r.layoutBox[e],n=this.constraints[e],i={},void 0!==n.min&&(i.min=n.min-t.min),void 0!==n.max&&(i.max=n.max-t.min),i))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!rG(t))return!1;let n=t.current;e4(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let a=function(e,t,r){let n=rH(e,r),{scroll:i}=t;return i&&(rF(n.x,i.offset.x),rF(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),o=(e=i.layout.layoutBox,{x:rJ(e.x,a.x),y:rJ(e.y,a.y)});if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=r_(e))}return o}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{};return Promise.all(rR(o=>{if(!r3(o,t,this.currentDirection))return;let l=s&&s[o]||{};a&&(l={min:0,max:0});
1let u={type:"inertia",velocity:r?e[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return C(this.visualElement,e),r.start(re(e,r,0,t,this.visualElement,!1))}stopAnimation(){rR(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){rR(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){rR(t=>{let{drag:r}=this.getProps();if(!r3(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:a}=n.layout.layoutBox[t];i.set(e[t]-ti(r,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!rG(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};rR(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var r,i;let a,o,s,l=t.get();n[e]=(r={min:l,max:l},i=this.constraints[e],a=.5,o=rS(r),(s=rS(i))>o?a=tH(i.min,i.max-o,r.min):o>s&&(a=tH(r.min,r.max-s,i.min)),G(0,1,a))}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),rR(t=>{if(!r3(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];r.set(ti(i,a,n[t]))})}addListeners(){if(!this.visualElement.current)return;r4.set(this.visualElement,this);let e=rE(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();rG(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),b.read(t);let i=ry(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(rR(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),n(),a&&a()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:a=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:a,dragMomentum:o}}}function r3(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class r5 extends rh{constructor(e){super(e),this.removeGroupControls=v,this.removeListeners=v,this.controls=new r6(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||v}unmount(){this.removeGroupControls(),this.removeListeners()}}let r8=e=>(t,r)=>{e&&b.postRender(()=>e(t,r))};class r9 extends rh{constructor(){super(...arguments),this.removePointerDownListener=v}onPointerDown(e){this.session=new rV(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rq(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:r8(e),onStart:r8(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&b.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=rE(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var r7,ne,nt,nr=r(67368),nn=r(74180);let ni=(0,nn.createContext)(null),na=(0,nn.createContext)({}),no=(0,nn.createContext)({}),ns={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nl(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let nu={correct:(e,t)=>
1{if(!t.target)return e;if("string"==typeof e)if(!eo.test(e))return e;else e=parseFloat(e);let r=nl(e,t.target.x),n=nl(e,t.target.y);return`${r}% ${n}%`}},nc={},{schedule:nd}=y(queueMicrotask,!1);class nf extends nn.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;for(let e in np)nc[e]=np[e],eQ(e)&&(nc[e].isCSSVariable=!0);i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),ns.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,a=r.projection;return a&&(a.isPresent=i,n||e.layoutDependency!==t||void 0===t||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||b.postRender(()=>{let e=a.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),nd.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nh(e){let[t,r]=function(e=!0){let t=(0,nn.useContext)(ni);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:n,register:i}=t,a=(0,nn.useId)();(0,nn.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,nn.useCallback)(()=>e&&n&&n(a),[a,n,e]);return!r&&n?[!1,o]:[!0]}(),n=(0,nn.useContext)(na);return(0,nr.jsx)(nf,{...e,layoutGroup:n,switchLayoutGroup:(0,nn.useContext)(no),isPresent:t,safeToRemove:r})}let np={borderRadius:{...nu,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:nu,borderTopRightRadius:nu,borderBottomLeftRadius:nu,borderBottomRightRadius:nu,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=eE.parse(e);if(n.length>5)return e;let i=eE.createTransformer(e),a=+("number"!=typeof n[0]),o=r.x.scale*t.x,s=r.y.scale*t.y;n[0+a]/=o,n[1+a]/=s;let l=ti(o,s,.5);return"number"==typeof n[2+a]&&(n[2+a]/=l),"number"==typeof n[3+a]&&(n[3+a]/=l),i(n)}}},nm=(e,t)=>e.depth-t.depth;class ng{constructor(){this.children=[],this.isDirty=!1}add(e){O(this.children,e),this.isDirty=!0}remove(e){x(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(nm),this.isDirty=!1,this.children.forEach(e)}}function ny(e){let t=I(e)?e.get():e;return t&&"object"==typeof t&&t.mix&&t.toValue?t.toValue():t}let nv=["TopLeft","TopRight","BottomLeft","BottomRight"],nb=nv.length,nE=e=>"string"==typeof e?parseFloat(e):e,n_=e=>"number"==typeof e||eo.test(e);function nS(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let nw=nO(0,.5,H),nT=nO(.5,.95,v);function nO(e,t,r){return n=>n<e?0:n>t?1:r(tH(e,t,n))}function nx(e,t){e.min=t.min,e.max=t.max}function nP(e,t){nx(e.x,t.x),nx(e.y,t.y)}function nA(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function nk(e,t,r,n,i){return e-=t,e=n+1/r*(e-n),void 0!==i&&(e=n+1/i*(e-n)),e}function nI(e,t,[r,n,i],a,o){!function(e,t=0,r=1,n=.5,i,a=e,o=e){if(ea.test(t)&&(t=parseFloat(t),t=ti(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let s=ti(a.min,a.max,n);e===a&&(s-=t),e.min=nk(e.min,t,r,s,i),e.max=nk(e.max,t,r,s,i)}(e,t[r],t[n],t[i],t.scale,a,o)}let nC=["x","scaleX","originX"],nR=["y","scaleY","originY"];function nD(e,t,r,n){nI(e.x,t,nC,r?r.x:void 0,n?n.x:void 0),nI(e.y,t,nR,r?r.y:void 0,n?n.y:void 0)}function nN(e){return 0===e.translate&&1===e.scale}function nj(e){return nN(e.x)&&nN(e.y)}function nM(e,t){return e.min===t.min&&e.max===t.max}function nL(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function n$(e,t){return nL(e.x,t.x)&&nL(e.y,t.y)}function nU(e){return rS(e.x)/rS(e.y)}function nF(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class nB{constructor(){this.members=[]}add(e){O(this.members,e),e.scheduleRender()}remove(e){if(x(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t,r=this.members.findIndex(t=>e===t);if(0===r)return!1;for(let e=r;e>=0;e--){let r=this.members[e];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;!1===n&&r.hide()}}
1exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let nz=["","X","Y","Z"],nH={visibility:"hidden"},nq=0;function nG(e,t,r,n){let{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function nW({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e={},r=t?.()){this.id=nq++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(nZ),this.nodes.forEach(n2),this.nodes.forEach(n4),this.nodes.forEach(nK)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new ng)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new P),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:n,layout:i,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(i||n)&&(this.isLayoutDirty=!0),e){let r,n=()=>this.root.updateBlockedByResize=!1;e(t,()=>{let e,t;this.root.updateBlockedByResize=!0,r&&r(),e=T.now(),t=({timestamp:r})=>{let i=r-e;i>=250&&(E(t),n(i-250))},b.read(t,!0),r=()=>E(t),ns.hasAnimatedSinceResize&&(ns.hasAnimatedSinceResize=!1,this.nodes.forEach(n1))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&a&&(n||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||a.getDefaultTransition()||n7,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!n$(this.targetLayout,n),u=!t&&r;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...t5(i,"layout"),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||n1(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,E(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(n6),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let n=r.props[D];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",b,!(e||r))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nQ);return}this.isUpdating||this.nodes.forEach(nJ),this.isUpdating=!1,this.nodes.forEach(n0),this.nodes.forEach(nV),this.nodes.forEach(nY),this.clearAllSnapshots();let e=T.now();_.delta=G(0,1e3/60,e-_.timestamp),_.timestamp=e,_.isProcessing=!0,S.update.process(_),S.preRender.process(_),S.render.process(_),_.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,nd.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nX),this.sharedNodes.forEach(n3)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,b.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){b.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||rS(this.snapshot.measuredBox.x)||rS(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=rC(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!nj(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,a=n!==this.prevTransformTemplateValue;e&&(t||rj(this.latestValues)||a)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),ir((t=n).x),ir(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return rC();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ia))){let{scroll:e}=this.root;e&&(rF(t.x,e.offset.x),rF(t.y,e.offset.y))}return t}removeElementScroll(e){let t=rC();if(nP(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:a}=n;n!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&nP(t,e),rF(t.x,i.offset.x),rF(t.y,i.offset.y))}return t}applyTransform(e,t=!1){let r=rC();nP(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&rz(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),rj(n.latestValues)&&rz(r,n.latestValues)}return rj(this.latestValues)&&rz(r,this.latestValues),r}removeTransform(e){let t=rC();nP(t,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!rj(r.latestValues))continue;rN(r.latestValues)&&r.updateSnapshot();let n=rC();nP(n,r.measurePageBox()),nD(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return rj(this.latestValues)&&nD(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==_.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
1isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:i}=this.options;if(this.layout&&(n||i)){if(this.resolvedRelativeTargetAt=_.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rC(),this.relativeTargetOrigin=rC(),rP(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),nP(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=rC(),this.targetWithTransforms=rC()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var a,o,s;this.forceRelativeParentToResolveTarget(),a=this.target,o=this.relativeTarget,s=this.relativeParent.target,rO(a.x,o.x,s.x),rO(a.y,o.y,s.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nP(this.target,this.layout.layoutBox),rU(this.target,this.targetDelta)):nP(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rC(),this.relativeTargetOrigin=rC(),rP(this.relativeTargetOrigin,this.target,e.target),nP(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}}getClosestProjectingParent(){if(!(!this.parent||rN(this.parent.latestValues)||rM(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===_.timestamp&&(r=!1),r)return;let{layout:n,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||i))return;nP(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;!function(e,t,r,n=!1){let i,a,o=r.length;if(o){t.x=t.y=1;for(let s=0;s<o;s++){a=(i=r[s]).projectionDelta;let{visualElement:o}=i.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&rz(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,rU(e,a)),n&&rj(i.latestValues)&&rz(e,i.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=rC());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nA(this.prevProjectionDelta.x,this.projectionDelta.x),nA(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rT(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===a&&this.treeScale.y===o&&nF(this.projectionDelta.x,this.prevProjectionDelta.x)&&nF(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=rk(),this.projectionDelta=rk(),this.projectionDeltaWithTransform=rk()}setAnimationOrigin(e,t=!1){let r,n=this.snapshot,i=n?n.latestValues:{},a={...this.latestValues},o=rk();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=rC(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(n9));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(n5(o.x,e.x,n),n5(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,f,h,p,m,g;rP(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h=this.relativeTarget,p=this.relativeTargetOrigin,m=s,g=n,n8(h.x,p.x,m.x,g),n8(h.y,p.y,m.y,g),r&&(u=this.relativeTarget,f=r,nM(u.x,f.x)&&nM(u.y,f.y))&&(this.isProjectionDirty=!1),r||(r=rC()),nP(r,this.relativeTarget)}l&&(this.animationValues=a,function(e,t,r,n,i,a){i?(e.opacity=ti(0,r.opacity??1,nw(n)),e.opacityExit=ti(t.opacity??1,0,nT(n))):a&&(e.opacity=ti(t.opacity??1,r.opacity??1,n));for(let i=0;i<nb;i++){let a=`border${nv[i]}Radius`,o=nS(t,a),s=nS(r,a);(void 0!==o||void 0!==s)&&(o||(o=0),s||(s=0),0===o||0===s||n_(o)===n_(s)?(e[a]=Math.max(ti(nE(o),nE(s),n),0),(ea.test(s)||ea.test(o))&&(e[a]+="%")):e[a]=s)}(t.rotate||r.rotate)&&(e.rotate=ti(t.rotate||0,r.rotate||0,n))}(a,i,this.latestValues,n,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(E(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=b.update(()=>{var t;let r;ns.hasAnimatedSinceResize=!0,tW.layout++,this.currentAnimation=(t={...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{tW.layout--},onComplete:()=>{tW.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(r=I(0)?0:k(0)).start(re("",r,1e3,t)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&ii(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||rC();let t=rS(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=rS(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}nP(t,r),rz(t,i),rT(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
1)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new nB),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&nG("z",e,n,this.animationValues);for(let t=0;t<nz.length;t++)nG(`rotate${nz[t]}`,e,n,this.animationValues),nG(`skew${nz[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}getProjectionStyles(e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return nH;let t={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.opacity="",t.pointerEvents=ny(e?.pointerEvents)||"",t.transform=r?r(this.latestValues,""):"none",t;let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ny(e?.pointerEvents)||""),this.hasProjected&&!rj(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}let i=n.animationValues||n.latestValues;this.applyTransformsToTarget(),t.transform=function(e,t,r){let n="",i=e.x.translate/t.x,a=e.y.translate/t.y,o=r?.z||0;if((i||a||o)&&(n=`translate3d(${i}px, ${a}px, ${o}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),i&&(n+=`rotateX(${i}deg) `),a&&(n+=`rotateY(${a}deg) `),o&&(n+=`skewX(${o}deg) `),s&&(n+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(n+=`scale(${s}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,i),r&&(t.transform=r(i,t.transform));let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,n.animationValues?t.opacity=n===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:t.opacity=n===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,nc){if(void 0===i[e])continue;let{correct:r,applyTo:a,isCSSVariable:o}=nc[e],s="none"===t.transform?i[e]:r(i[e],n);if(a){let e=a.length;for(let r=0;r<e;r++)t[a[r]]=s}else o?this.options.visualElement.renderState.vars[e]=s:t[e]=s}return this.options.layoutId&&(t.pointerEvents=n===this?ny(e?.pointerEvents)||"":"none"),t}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(nQ),this.root.sharedNodes.clear()}}}function nV(e){e.updateLayout()}function nY(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;"size"===i?rR(e=>{let n=a?t.measuredBox[e]:t.layoutBox[e],i=rS(n);n.min=r[e].min,n.max=n.min+i}):ii(i,t.layoutBox,r)&&rR(n=>{let i=a?t.measuredBox[n]:t.layoutBox[n],o=rS(r[n]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+o)});let o=rk();rT(o,r,t.layoutBox);let s=rk();a?rT(s,e.applyTransform(n,!0),t.measuredBox):rT(s,r,t.layoutBox);let l=!nj(o),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:a}=n;
1if(i&&a){let o=rC();rP(o,t.layoutBox,i.layoutBox);let s=rC();rP(s,r,a.layoutBox),n$(o,s)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=o,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function nZ(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function nK(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function nX(e){e.clearSnapshot()}function nQ(e){e.clearMeasurements()}function nJ(e){e.isLayoutDirty=!1}function n0(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function n1(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function n2(e){e.resolveTargetDelta()}function n4(e){e.calcProjection()}function n6(e){e.resetSkewAndRotation()}function n3(e){e.removeLeadSnapshot()}function n5(e,t,r){e.translate=ti(t.translate,0,r),e.scale=ti(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function n8(e,t,r,n){e.min=ti(t.min,r.min,n),e.max=ti(t.max,r.max,n)}function n9(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let n7={duration:.45,ease:[.4,0,.1,1]},ie=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),it=ie("applewebkit/")&&!ie("chrome/")?Math.round:v;function ir(e){e.min=it(e.min),e.max=it(e.max)}function ii(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(nU(t)-nU(r)))}function ia(e){return e!==e.root&&e.scroll?.wasRoot}let io=nW({attachResizeListener:(e,t)=>ry(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),is={current:void 0},il=nW({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!is.current){let e=new io({});e.mount(window),e.setOptions({layoutScroll:!0}),is.current=e}return is.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function iu(e,t){let r=function(e){if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document,r=(void 0)??t.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e)}(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function ic(e){return!("touch"===e.pointerType||r2.x||r2.y)}function id(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&b.postRender(()=>i(t,rb(t)))}class ih extends rh{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,i,a]=iu(e,r),o=e=>{if(!ic(e))return;let{target:r}=e,n=t(r,e);if("function"!=typeof n||!r)return;let a=e=>{ic(e)&&(n(e),r.removeEventListener("pointerleave",a))};r.addEventListener("pointerleave",a,i)};return n.forEach(e=>{e.addEventListener("pointerenter",o,i)}),a}(e,(e,t)=>(id(this.node,t,"Start"),e=>id(this.node,e,"End"))))}unmount(){}}class ip 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=tf(ry(this.node.current,"focus",()=>this.onFocus()),ry(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let im=(e,t)=>!!t&&(e===t||im(e,t.parentElement)),ig=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),iy=new WeakSet;function iv(e){return t=>{"Enter"===t.key&&e(t)}}function ib(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function iE(e){return rv(e)&&!(r2.x||r2.y)}function i_(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===r);let i=n["onTap"+("End"===r?"":r)];i&&b.postRender(()=>i(t,rb(t)))}class iS extends rh{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,i,a]=iu(e,r),o=e=>{let n=e.currentTarget;if(!iE(e)||iy.has(n))return;iy.add(n);let a=t(n,e),o=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),iE(e)&&iy.has(n)&&(iy.delete(n),"function"==typeof a&&a(e,{success:t}))},s=e=>{o(e,n===window||n===document||r.useGlobalTarget||im(n,e.target))},l=e=>{o(e,!1)};window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",l,i)};
1return n.forEach(e=>{((r.useGlobalTarget?window:e).addEventListener("pointerdown",o,i),e instanceof HTMLElement)&&(e.addEventListener("focus",e=>((e,t)=>{let r=e.currentTarget;if(!r)return;let n=iv(()=>{if(iy.has(r))return;ib(r,"down");let e=iv(()=>{ib(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>ib(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)})(e,i)),ig.has(e.tagName)||-1!==e.tabIndex||e.hasAttribute("tabindex")||(e.tabIndex=0))}),a}(e,(e,t)=>(i_(this.node,t,"Start"),(e,{success:t})=>i_(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let iw=new WeakMap,iT=new WeakMap,iO=e=>{let t=iw.get(e.target);t&&t(e)},ix=e=>{e.forEach(iO)},iP={some:0,all:1};class iA extends rh{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:r={}}=this.node.getProps(),{root:n,margin:i,amount:a="some",once:o}=r,s={root:n?n.current:void 0,rootMargin:i,threshold:"number"==typeof a?a:iP[a]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,o&&!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(),i=t?r:n;i&&i(e)};return e=this.node.current,t=function({root:e,...t}){let r=e||document;iT.has(r)||iT.set(r,{});let n=iT.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(ix,{root:e,...t})),n[i]}(s),iw.set(e,l),t.observe(e),()=>{iw.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("u"<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 ik=(0,nn.createContext)({strict:!1}),iI=(0,nn.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),iC=(0,nn.createContext)({});function iR(e){return o(e.animate)||rs.some(t=>ra(e[t]))}function iD(e){return!!(iR(e)||e.variants)}function iN(e){return Array.isArray(e)?e.join(" "):e}var ij=r(88786);let iM={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"]},iL={};for(let e in iM)iL[e]={isEnabled:t=>iM[e].some(e=>!!t[e])};let i$=Symbol.for("motionComponentSymbol"),iU=ij.B?nn.useLayoutEffect:nn.useEffect;function iF(e,{layout:t,layoutId:r}){return d.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!nc[e]||"opacity"===e)}let iB=(e,t)=>t&&"number"==typeof e?t.transform(e):e,iz={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iH=c.length;function iq(e,t,r){let{style:n,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let r=t[e];if(d.has(e)){o=!0;continue}if(eQ(e)){i[e]=r;continue}{let t=iB(r,ex[e]);e.startsWith("origin")?(s=!0,a[e]=t):n[e]=t}}if(!t.transform&&(o||r?n.transform=function(e,t,r){let n="",i=!0;for(let a=0;a<iH;a++){let o=c[a],s=e[o];if(void 0===s)continue;let l=!0;if(!(l="number"==typeof s?s===+!!o.startsWith("scale"):0===parseFloat(s))||r){let e=iB(s,ex[o]);if(!l){i=!1;let t=iz[o]||o;n+=`${t}(${e}) `}r&&(t[o]=e)}}return n=n.trim(),r?n=r(t,i?"":n):i&&(n="none"),n}(t,e.transform,r):n.transform&&(n.transform="none")),s){let{originX:e="50%",originY:t="50%",originZ:r=0}=a;n.transformOrigin=`${e} ${t} ${r}`}}let iG=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iW(e,t,r){for(let n in t)I(t[n])||iF(n,r)||(e[n]=t[n])}let iV=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 iY(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||iV.has(e)}let iZ=e=>!iY(e);try{(r7=require("@emotion/is-prop-valid").default)&&(iZ=e=>e.startsWith("on")?!iY(e):r7(e))}catch{}let iK=["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 iX(e){if("string"!=typeof e||e.includes("-"));else if(iK.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let iQ={offset:"stroke-dashoffset",array:"stroke-dasharray"},iJ={offset:"strokeDashoffset",array:"strokeDasharray"};function i0(e,t,r){return"string"==typeof e?e:eo.transform(t+r*e)}function i1(e,{attrX:t,attrY:r,attrScale:n,originX:i,originY:a,pathLength:o,pathSpacing:s=1,pathOffset:l=0,...u},c,d){let f,h;
1if(iq(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:p,style:m,dimensions:g}=e;p.transform&&(g&&(m.transform=p.transform),delete p.transform),g&&(void 0!==i||void 0!==a||m.transform)&&(f=i0(void 0!==i?i:.5,g.x,g.width),h=i0(void 0!==a?a:.5,g.y,g.height),m.transformOrigin=`${f} ${h}`),void 0!==t&&(p.x=t),void 0!==r&&(p.y=r),void 0!==n&&(p.scale=n),void 0!==o&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let a=i?iQ:iJ;e[a.offset]=eo.transform(-n);let o=eo.transform(t),s=eo.transform(r);e[a.array]=`${o} ${s}`}(p,o,s,l,!1)}let i2=()=>({...iG(),attrs:{}}),i4=e=>"string"==typeof e&&"svg"===e.toLowerCase(),i6=e=>(t,r)=>{let n,i=(0,nn.useContext)(iC),a=(0,nn.useContext)(ni),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:r},n,i,a){let s={latestValues:function(e,t,r,n){let i={},a=n(e,{});for(let e in a)i[e]=ny(a[e]);let{initial:s,animate:u}=e,c=iR(e),d=iD(e);t&&d&&!c&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===u&&(u=t.animate));let f=!!r&&!1===r.initial,h=(f=f||!1===s)?u:s;if(h&&"boolean"!=typeof h&&!o(h)){let t=Array.isArray(h)?h:[h];for(let r=0;r<t.length;r++){let n=l(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=f?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(n,i,a,e),renderState:t()};return r&&(s.onMount=e=>r({props:n,current:e,...s}),s.onUpdate=e=>r(e)),s})(e,t,i,a);return r?s():(null===(n=(0,nn.useRef)(null)).current&&(n.current=s()),n.current)};function i3(e,t,r){let{style:n}=e,i={};for(let a in n)(I(n[a])||t.style&&I(t.style[a])||iF(a,e)||r?.getValue(a)?.liveStyle!==void 0)&&(i[a]=n[a]);return i}let i5={useVisualState:i6({scrapeMotionValuesFromProps:i3,createRenderState:iG})};function i8(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}function i9(e,{style:t,vars:r},n,i){for(let a in Object.assign(e.style,t,i&&i.getProjectionStyles(n)),r)e.style.setProperty(a,r[a])}let i7=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 ae(e,t,r,n){for(let r in i9(e,t,void 0,n),t.attrs)e.setAttribute(i7.has(r)?r:R(r),t.attrs[r])}function at(e,t,r){let n=i3(e,t,r);for(let r in e)(I(e[r])||I(t[r]))&&(n[-1!==c.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}let ar=["x","y","width","height","cx","cy","r"],an={useVisualState:i6({scrapeMotionValuesFromProps:at,createRenderState:i2,onUpdate:({props:e,prevProps:t,current:r,renderState:n,latestValues:i})=>{if(!r)return;let a=!!e.drag;if(!a){for(let e in i)if(d.has(e)){a=!0;break}}if(!a)return;let o=!t;if(t)for(let r=0;r<ar.length;r++){let n=ar[r];e[n]!==t[n]&&(o=!0)}o&&b.read(()=>{i8(r,n),b.render(()=>{i1(n,i,i4(r.tagName),e.transformTemplate),ae(r,n)})})}})};var ai=r(80017),aa=r(37446);let ao=[...e5,ed,eE],as=new WeakMap,al=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class au{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:i,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eK,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.renderScheduledAt=0,this.scheduleRender=()=>{let e=T.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,b.render(this.render,!1,!0))};const{latestValues:s,renderState:l,onUpdate:u}=a;this.onUpdate=u,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=o,this.blockInitialAnimation=!!i,this.isControllingVariants=iR(t),this.isVariantNode=iD(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==s[e]&&I(t)&&t.set(s[e],!1)}}mount(e){this.current=e,as.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.forEac
1h((e,t)=>this.bindToMotionValue(t,e)),aa.r.current||(0,ai.U)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||aa.O.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),E(this.notifyUpdate),E(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let r;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=d.has(e);n&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&b.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),a=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),a(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in iL){let t=iL[e];if(!t)continue;let{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rC()}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<al.length;t++){let r=al[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){for(let n in t){let i=t[n],a=r[n];if(I(i))e.addValue(n,i);else if(I(a))e.addValue(n,k(i,{owner:e}));else if(a!==i)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(n);e.addValue(n,k(void 0!==t?t:i,{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(),this.onUpdate&&this.onUpdate(this)}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}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=k(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=r){let n,i;if("string"==typeof r&&(n=r,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(i=r,/^0[^.\s]+$/u.test(i))))r=parseFloat(r);else{let n;n=r,!ao.find(e3(n))&&eE.test(t)&&(r=ek(e,t))}this.setBaseTarget(e,I(r)?r.get():r)}return I(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=l(this.props,r,this.presenceContext?.custom);n&&(t=n[e])}if(r&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||I(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new P),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class ac extends au{constructor(){super(...arguments),this.KeyframeResolver=e9}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]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;I(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class ad extends ac{constructor(){super(...arguments),this.type="html",this.renderInstance=i9}readValueFromInstance(e,t){if(d.has(t))return((e,t)=>{let{transform:r="none"}=getComputedStyle(e);return eU(r,t)})(e,t);{let r=window.getComputedStyle(e),n=(eQ(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return rH(e,t)}build(e,t,r){iq(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return i3(e,t,r)}}class af extends ac{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rC,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&i8(this.current,this.renderState)}}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(d.has(t)){let e=eA(t);return e&&e.default||0}return t=i7.has(t)?t:R(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return at(e,t,r)}onBindTransform(){this.current&&!this.renderState.dimensions&&b.postRender(this.updateDimensions)}build(e,t,r){i1(e,t,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,r,n){ae(e,t,r,n)}mount(e){this.isSVGTag=i4(e.tagName),super.mount(e)}}let ah=function(e){if("u"<typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(r,n)=>"create"===n?e:(t.has(n)||t.set(n,e(n)),t.get(n))})}((ne={animation:{Feature:rp},exit:{Feature:rg},inView:{Feature:iA},tap:{Feature:iS},focus:{Feature:ip},hover:{Feature:ih},pan:{Feature:r9},drag:{Feature:r5,ProjectionNode:il,MeasureLayout:nh},layout:{ProjectionNode:il,MeasureLayout:nh}},nt=(e,t)=>
1iX(e)?new af(t):new ad(t,{allowProjection:e!==nn.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){function a(e,a){var o;let s,l={...(0,nn.useContext)(iI),...e,layoutId:function({layoutId:e}){let t=(0,nn.useContext)(na).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:u}=l,c=function(e){let{initial:t,animate:r}=function(e,t){if(iR(e)){let{initial:t,animate:r}=e;return{initial:!1===t||ra(t)?t:void 0,animate:ra(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,nn.useContext)(iC));return(0,nn.useMemo)(()=>({initial:t,animate:r}),[iN(t),iN(r)])}(e),d=n(e,u);if(!u&&ij.B){(0,nn.useContext)(ik).strict;let e=function(e){let{drag:t,layout:r}=iL;if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(l);s=e.MeasureLayout,c.visualElement=function(e,t,r,n,i){let{visualElement:a}=(0,nn.useContext)(iC),o=(0,nn.useContext)(ik),s=(0,nn.useContext)(ni),l=(0,nn.useContext)(iI).reducedMotion,u=(0,nn.useRef)(null);n=n||o.renderer,!u.current&&n&&(u.current=n(e,{visualState:t,parent:a,props:r,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:l}));let c=u.current,d=(0,nn.useContext)(no);c&&!c.projection&&i&&("html"===c.type||"svg"===c.type)&&function(e,t,r,n){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&rG(s),visualElement:e,animationType:"string"==typeof a?a:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u})}(u.current,r,i,d);let f=(0,nn.useRef)(!1);(0,nn.useInsertionEffect)(()=>{c&&f.current&&c.update(r,s)});let h=r[D],p=(0,nn.useRef)(!!h&&!window.MotionHandoffIsComplete?.(h)&&window.MotionHasOptimisedAnimation?.(h));return iU(()=>{c&&(f.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),nd.render(c.render),p.current&&c.animationState&&c.animationState.animateChanges())}),(0,nn.useEffect)(()=>{c&&(!p.current&&c.animationState&&c.animationState.animateChanges(),p.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(h)}),p.current=!1))}),c}(i,d,l,t,e.ProjectionNode)}return(0,nr.jsxs)(iC.Provider,{value:c,children:[s&&c.visualElement?(0,nr.jsx)(s,{visualElement:c.visualElement,...l}):null,r(i,e,(o=c.visualElement,(0,nn.useCallback)(e=>{e&&d.onMount&&d.onMount(e),o&&(e?o.mount(e):o.unmount()),a&&("function"==typeof a?a(e):rG(a)&&(a.current=e))},[o])),d,u,c.visualElement)]})}e&&function(e){for(let t in e)iL[t]={...iL[t],...e[t]}}(e),a.displayName=`motion.${"string"==typeof i?i:`create(${i.displayName??i.name??""})`}`;let o=(0,nn.forwardRef)(a);return o[i$]=i,o}({...iX(e)?an:i5,preloadedFeatures:ne,useRender:function(e=!1){return(t,r,n,{latestValues:i},a)=>{let o=(iX(t)?function(e,t,r,n){let i=(0,nn.useMemo)(()=>{let r=i2();return i1(r,t,i4(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};iW(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let r,n,i={},a=(r=e.style||{},iW(n={},r,e),Object.assign(n,function({transformTemplate:e},t){return(0,nn.useMemo)(()=>{let r=iG();return iq(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=a,i})(r,i,a,t),s=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(iZ(i)||!0===r&&iY(i)||!t&&!iY(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(r,"string"==typeof t,e),l=t!==nn.Fragment?{...s,...o,ref:n}:{},{children:u}=r,c=(0,nn.useMemo)(()=>I(u)?u.get():u,[u]);return(0,nn.createElement)(t,{...l,children:c})}}(t),createVisualElement:nt,Component:e})}))},50764:(e,t,r)=>{e.exports=r(97592).Symbol},50767: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);
1(!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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.$ZodSet=t.$ZodMap=t.$ZodRecord=t.$ZodTuple=t.$ZodIntersection=t.$ZodDiscriminatedUnion=t.$ZodUnion=t.$ZodObject=t.$ZodArray=t.$ZodDate=t.$ZodVoid=t.$ZodNever=t.$ZodUnknown=t.$ZodAny=t.$ZodNull=t.$ZodUndefined=t.$ZodSymbol=t.$ZodBigIntFormat=t.$ZodBigInt=t.$ZodBoolean=t.$ZodNumberFormat=t.$ZodNumber=t.$ZodCustomStringFormat=t.$ZodJWT=t.$ZodE164=t.$ZodBase64URL=t.$ZodBase64=t.$ZodCIDRv6=t.$ZodCIDRv4=t.$ZodIPv6=t.$ZodIPv4=t.$ZodISODuration=t.$ZodISOTime=t.$ZodISODate=t.$ZodISODateTime=t.$ZodKSUID=t.$ZodXID=t.$ZodULID=t.$ZodCUID2=t.$ZodCUID=t.$ZodNanoID=t.$ZodEmoji=t.$ZodURL=t.$ZodEmail=t.$ZodUUID=t.$ZodGUID=t.$ZodStringFormat=t.$ZodString=t.clone=t.$ZodType=void 0,t.$ZodCustom=t.$ZodLazy=t.$ZodPromise=t.$ZodTemplateLiteral=t.$ZodReadonly=t.$ZodPipe=t.$ZodNaN=t.$ZodCatch=t.$ZodSuccess=t.$ZodNonOptional=t.$ZodPrefault=t.$ZodDefault=t.$ZodNullable=t.$ZodOptional=t.$ZodTransform=t.$ZodFile=t.$ZodLiteral=t.$ZodEnum=void 0,t.isValidBase64=p,t.isValidBase64URL=m,t.isValidJWT=g;let o=a(r(6112)),s=a(r(36974)),l=r(37541),u=r(77998),c=a(r(45410)),d=a(r(3947)),f=r(60716);t.$ZodType=s.$constructor("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=f.version;let n=[...e._zod.def.checks??[]];for(let t of(e._zod.traits.has("$ZodCheck")&&n.unshift(e),n))for(let r of t._zod.onattach)r(e);if(0===n.length)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,r)=>{let n,i=d.aborted(e);for(let a of t){if(a._zod.def.when){if(!a._zod.def.when(e))continue}else if(i)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&r?.async===!1)throw new s.$ZodAsyncError;if(n||o instanceof Promise)n=(n??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(i||(i=d.aborted(e,t)))});else{if(e.issues.length===t)continue;i||(i=d.aborted(e,t))}}return n?n.then(()=>e):e};e._zod.run=(r,i)=>{let a=e._zod.parse(r,i);if(a instanceof Promise){if(!1===i.async)throw new s.$ZodAsyncError;return a.then(e=>t(e,n,i))}return t(a,n,i)}}e["~standard"]={validate:t=>{try{let r=(0,u.safeParse)(e,t);return r.success?{value:r.data}:{issues:r.error?.issues}}catch(r){return(0,u.safeParseAsync)(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}});var h=r(3947);function p(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}function m(e){if(!c.base64url.test(e))return!1;let t=e.replace(/[-_]/g,e=>"-"===e?"+":"/");return p(t.padEnd(4*Math.ceil(t.length/4),"="))}function g(e,t=null){try{let r=e.split(".");if(3!==r.length)return!1;let[n]=r;if(!n)return!1;let i=JSON.parse(atob(n));if("typ"in i&&i?.typ!=="JWT"||!i.alg||t&&(!("alg"in i)||i.alg!==t))return!1;return!0}catch{return!1}}function y(e,t,r){e.issues.length&&t.issues.push(...d.prefixIssues(r,e.issues)),t.value[r]=e.value}function v(e,t,r){e.issues.length&&t.issues.push(...d.prefixIssues(r,e.issues)),t.value[r]=e.value}function b(e,t,r,n){e.issues.length?void 0===n[r]?r in n?t.value[r]=void 0:t.value[r]=e.value:t.issues.push(...d.prefixIssues(r,e.issues)):void 0===e.value?r in n&&(t.value[r]=void 0):t.value[r]=e.value}function E(e,t,r,n){for(let r of e)if(0===r.issues.length)return t.value=r.value,t;return t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(e=>e.issues.map(e=>d.finalizeIssue(e,n,s.config())))}),t}function _(e,t,r){if(t.issues.length&&e.issues.push(...t.issues),r.issues.length&&e.issues.push(...r.issues),d.aborted(e))return e;let n=function e(t,r){if(t===r||t instanceof Date&&r instanceof Date&&+t==+r)return{valid:!0,data:t};if(d.isPlainObject(t)&&d.isPlainObject(r)){let n=Object.keys(r),i=Object.keys(t).filter(e=>-1!==n.indexOf(e)),a={...t,...r};for(let n of i){let i=e(t[n],r[n]);if(!i.valid)return{valid:!1,mergeErrorPath:[n,...i.mergeErrorPath]};a[n]=i.data}return{valid:!0,data:a}}if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let i=0;i<t.length;i++){let a=e(t[i],r[i]);
1if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}(t.value,r.value);if(!n.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(n.mergeErrorPath)}`);return e.value=n.data,e}function S(e,t,r){e.issues.length&&t.issues.push(...d.prefixIssues(r,e.issues)),t.value[r]=e.value}function w(e,t,r,n,i,a,o){e.issues.length&&(d.propertyKeyTypes.has(typeof n)?r.issues.push(...d.prefixIssues(n,e.issues)):r.issues.push({origin:"map",code:"invalid_key",input:i,inst:a,issues:e.issues.map(e=>d.finalizeIssue(e,o,s.config()))})),t.issues.length&&(d.propertyKeyTypes.has(typeof n)?r.issues.push(...d.prefixIssues(n,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:i,inst:a,key:n,issues:t.issues.map(e=>d.finalizeIssue(e,o,s.config()))})),r.value.set(e.value,t.value)}function T(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}function O(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}function x(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}function P(e,t,r){return d.aborted(e)?e:t.out._zod.run({value:e.value,issues:e.issues},r)}function A(e){return e.value=Object.freeze(e.value),e}function k(e,t,r,n){if(!e){let e={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(e.params=n._zod.def.params),t.issues.push(d.issue(e))}}Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return h.clone}}),t.$ZodString=s.$constructor("$ZodString",(e,r)=>{t.$ZodType.init(e,r),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??c.string(e._zod.bag),e._zod.parse=(t,n)=>{if(r.coerce)try{t.value=String(t.value)}catch(e){}return"string"==typeof t.value||t.issues.push({expected:"string",code:"invalid_type",input:t.value,inst:e}),t}}),t.$ZodStringFormat=s.$constructor("$ZodStringFormat",(e,r)=>{o.$ZodCheckStringFormat.init(e,r),t.$ZodString.init(e,r)}),t.$ZodGUID=s.$constructor("$ZodGUID",(e,r)=>{r.pattern??(r.pattern=c.guid),t.$ZodStringFormat.init(e,r)}),t.$ZodUUID=s.$constructor("$ZodUUID",(e,r)=>{if(r.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[r.version];if(void 0===e)throw Error(`Invalid UUID version: "${r.version}"`);r.pattern??(r.pattern=c.uuid(e))}else r.pattern??(r.pattern=c.uuid());t.$ZodStringFormat.init(e,r)}),t.$ZodEmail=s.$constructor("$ZodEmail",(e,r)=>{r.pattern??(r.pattern=c.email),t.$ZodStringFormat.init(e,r)}),t.$ZodURL=s.$constructor("$ZodURL",(e,r)=>{t.$ZodStringFormat.init(e,r),e._zod.check=t=>{try{let n=t.value,i=new URL(n),a=i.href;r.hostname&&(r.hostname.lastIndex=0,r.hostname.test(i.hostname)||t.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:c.hostname.source,input:t.value,inst:e,continue:!r.abort})),r.protocol&&(r.protocol.lastIndex=0,r.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||t.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:r.protocol.source,input:t.value,inst:e,continue:!r.abort})),!n.endsWith("/")&&a.endsWith("/")?t.value=a.slice(0,-1):t.value=a;return}catch(n){t.issues.push({code:"invalid_format",format:"url",input:t.value,inst:e,continue:!r.abort})}}}),t.$ZodEmoji=s.$constructor("$ZodEmoji",(e,r)=>{r.pattern??(r.pattern=c.emoji()),t.$ZodStringFormat.init(e,r)}),t.$ZodNanoID=s.$constructor("$ZodNanoID",(e,r)=>{r.pattern??(r.pattern=c.nanoid),t.$ZodStringFormat.init(e,r)}),t.$ZodCUID=s.$constructor("$ZodCUID",(e,r)=>{r.pattern??(r.pattern=c.cuid),t.$ZodStringFormat.init(e,r)}),t.$ZodCUID2=s.$constructor("$ZodCUID2",(e,r)=>{r.pattern??(r.pattern=c.cuid2),t.$ZodStringFormat.init(e,r)}),t.$ZodULID=s.$constructor("$ZodULID",(e,r)=>{r.pattern??(r.pattern=c.ulid),t.$ZodStringFormat.init(e,r)}),t.$ZodXID=s.$constructor("$ZodXID",(e,r)=>{r.pattern??(r.pattern=c.xid),t.$ZodStringFormat.init(e,r)}),t.$ZodKSUID=s.$constructor("$ZodKSUID",(e,r)=>{r.pattern??(r.pattern=c.ksuid),t.$ZodStringFormat.init(e,r)}),t.$ZodISODateTime=s.$constructor("$ZodISODateTime",(e,r)=>{r.pattern??(r.pattern=c.datetime(r)),t.$ZodStringFormat.init(e,r)}),t.$ZodISODate=s.$constructor("$ZodISODate",(e,r)=>{r.pattern??(r.pattern=c.date),t.$ZodStringFormat.init(e,r)}),t.$ZodISOTime=s.$constructor("$ZodISOTime",(e,r)=>{r.pattern??(r.pattern=c.time(r)),t.$ZodStringFormat.init(e,r)}),t.$ZodISODuration=s.$constructor("$ZodISODuration",(e,r)=>{r.pattern??(r.pattern=c.duration),t.$ZodStringFormat.init(e,r)}),t.$ZodIPv4=s.$constructor("$ZodIPv4",(e,r)=>{r.pattern??(r.pattern=c.ipv4),t.$ZodStringFormat.init(e,r),e._zod.onattach.push(e=>{e._zod.bag.format="ipv4"})}),t.$ZodIPv6=s.$constructor("$ZodIPv6",(e,r)=>{r.pattern??(r.pattern=c.ipv6),t.$ZodStringFormat.init(e,r),e._zod.onattach.push(e=>{e._zod.bag.format="ipv6"}),e._zod.check=t=>{try{new URL(`http://[${t.value}]`)}catch{t.issues.push({code:"invalid_format",format:"ipv6",input:t.value,inst:e,continue:!r.abort})}}}),t.$ZodCIDRv4=s.$constructor("$ZodCIDRv4",(e,r)=>{r.pattern??(r.pattern=c.cidrv4),t.$ZodStringFormat.init(e,r)}),t.$ZodCIDRv6=s.$constructor("$ZodCIDRv6",(e,r)=>{r.pattern??(r.pattern=c.cidrv6),t.$ZodStringFormat.init(e,r),e._zod.check=t=>{let[n,i]=t.value.split("/");try{if(!i)throw Error();let e=Number(i);if(`${e}`!==i||e<0||e>128)throw Error();new URL(`http://[${n}]`)}catch{t.issues.push({code:"invalid_format",format:"cidrv6",input:t.value,inst:e,continue:!r.abort})}}}),t.$ZodBase64=s.$constructor("$ZodBase64",(e,r)=>{r.pattern??(r.pattern=c.base64),t.$ZodStringFormat.init(e,r),e._zod.onattach.push(e=>{e._zod.bag.contentEncoding="base64"}),e._zod.check=t=>{p(t.value)||t.issues.push({code:"invalid_format",format:"base64",input:t.value,inst:e,continue:!r.abort})}}),t.$ZodBase64URL=s.$constructor("$ZodBase64URL",(e,r)=>{r.pattern??(r.pattern=c.base64url),t.$ZodStringFormat.init(e,r),e._zod.onattach.push(e=>{e._zod.bag.contentEncoding="base64url"}),e._zod.check=t=>{m(t.value)||t.issues.push({code:"invalid_format",format:"base64url",input:t.value,inst:e,continue:!r.abort})}}),t.$ZodE164=s.$constructor("$ZodE164",(e,r)=>{r.pattern??(r.pattern=c.e164),t.$ZodStringFormat.init(e,r)}),t.$ZodJWT=s.$constructor("$ZodJWT",(e,r)=>{t.$ZodStringFormat.init(e,r),e._zod.check=t=>{g(t.value,r.alg)||t.issues.push({code:"invalid_format",format:"jwt",input:t.value,inst:e,continue:!r.abort})}}),t.$ZodCustomStringFormat=s.$constructor("$ZodCustomStringFormat",(e,r)=>{t.$ZodStringFormat.init(e,r),e._zod.check=t=>{r.fn(t.value)||t.issues.push({code:"invalid_format",format:r.format,input:t.value,inst:e,continue:!r.abort})}}),t.$ZodNumber=s.$constructor("$ZodNumber",(e,r)=>{t.$ZodType.init(e,r),e._zod.pattern=e._zod.bag.pattern??c.number,e._zod.parse=(t,n)=>{if(r.coerce)try{t.value=Number(t.value)}catch(e){}let i=t.value;if("number"==typeof i&&!Number.isNaN(i)&&Number.isFinite(i))return t;let a="number"==typeof i?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return t.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...a?{received:a}:{}}),t}}),t.$ZodNumberFormat=s.$constructor("$ZodNumber",(e,r)=>{o.$ZodCheckNumberFormat.init(e,r),t.$ZodNumber.init(e,r)}
1),t.$ZodBoolean=s.$constructor("$ZodBoolean",(e,r)=>{t.$ZodType.init(e,r),e._zod.pattern=c.boolean,e._zod.parse=(t,n)=>{if(r.coerce)try{t.value=!!t.value}catch(e){}let i=t.value;return"boolean"==typeof i||t.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),t}}),t.$ZodBigInt=s.$constructor("$ZodBigInt",(e,r)=>{t.$ZodType.init(e,r),e._zod.pattern=c.bigint,e._zod.parse=(t,n)=>{if(r.coerce)try{t.value=BigInt(t.value)}catch(e){}return"bigint"==typeof t.value||t.issues.push({expected:"bigint",code:"invalid_type",input:t.value,inst:e}),t}}),t.$ZodBigIntFormat=s.$constructor("$ZodBigInt",(e,r)=>{o.$ZodCheckBigIntFormat.init(e,r),t.$ZodBigInt.init(e,r)}),t.$ZodSymbol=s.$constructor("$ZodSymbol",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(t,r)=>{let n=t.value;return"symbol"==typeof n||t.issues.push({expected:"symbol",code:"invalid_type",input:n,inst:e}),t}}),t.$ZodUndefined=s.$constructor("$ZodUndefined",(e,r)=>{t.$ZodType.init(e,r),e._zod.pattern=c.undefined,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(t,r)=>{let n=t.value;return void 0===n||t.issues.push({expected:"undefined",code:"invalid_type",input:n,inst:e}),t}}),t.$ZodNull=s.$constructor("$ZodNull",(e,r)=>{t.$ZodType.init(e,r),e._zod.pattern=c.null,e._zod.values=new Set([null]),e._zod.parse=(t,r)=>{let n=t.value;return null===n||t.issues.push({expected:"null",code:"invalid_type",input:n,inst:e}),t}}),t.$ZodAny=s.$constructor("$ZodAny",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=e=>e}),t.$ZodUnknown=s.$constructor("$ZodUnknown",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=e=>e}),t.$ZodNever=s.$constructor("$ZodNever",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(t,r)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)}),t.$ZodVoid=s.$constructor("$ZodVoid",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(t,r)=>{let n=t.value;return void 0===n||t.issues.push({expected:"void",code:"invalid_type",input:n,inst:e}),t}}),t.$ZodDate=s.$constructor("$ZodDate",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(t,n)=>{if(r.coerce)try{t.value=new Date(t.value)}catch(e){}let i=t.value,a=i instanceof Date;return a&&!Number.isNaN(i.getTime())||t.issues.push({expected:"date",code:"invalid_type",input:i,...a?{received:"Invalid Date"}:{},inst:e}),t}}),t.$ZodArray=s.$constructor("$ZodArray",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(t,n)=>{let i=t.value;if(!Array.isArray(i))return t.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),t;t.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=r.element._zod.run({value:o,issues:[]},n);s instanceof Promise?a.push(s.then(r=>y(r,t,e))):y(s,t,e)}return a.length?Promise.all(a).then(()=>t):t}}),t.$ZodObject=s.$constructor("$ZodObject",(e,r)=>{let n,i;t.$ZodType.init(e,r);let a=d.cached(()=>{let e=Object.keys(r.shape);for(let n of e)if(!(r.shape[n]instanceof t.$ZodType))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=d.optionalKeys(r.shape);return{shape:r.shape,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(n)}});d.defineLazy(e._zod,"propValues",()=>{let e=r.shape,t={};for(let r in e){let n=e[r]._zod;if(n.values)for(let e of(t[r]??(t[r]=new Set),n.values))t[r].add(e)}return t});let o=d.isObject,u=!s.globalConfig.jitless,c=d.allowsEval,f=u&&c.value,h=r.catchall;e._zod.parse=(t,s)=>{i??(i=a.value);let c=t.value;if(!o(c))return t.issues.push({expected:"object",code:"invalid_type",input:c,inst:e}),t;let p=[];if(u&&f&&s?.async===!1&&!0!==s.jitless)n||(n=(e=>{let t=new l.Doc(["shape","payload","ctx"]),r=a.value,n=e=>{let t=d.esc(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");let i=Object.create(null),o=0;for(let e of r.keys)i[e]=`key_${o++}`;for(let e of(t.write("const newResult = {}"),r.keys))if(r.optionalKeys.has(e)){let r=i[e];t.write(`const ${r} = ${n(e)};`);let a=d.esc(e);t.write(` 2 if (${r}.issues.length) { 3 if (input[${a}] === undefined) { 4 if (${a} in input) { 5 newResult[${a}] = undefined; 6 } 7 } else { 8 payload.issues = payload.issues.concat( 9 ${r}.issues.map((iss) => ({ 10 ...iss, 11 path: iss.path ? [${a}, ...iss.path] : [${a}], 12 })) 13 ); 14 } 15 } else if (${r}.value === undefined) { 16 if (${a} in input) newResult[${a}] = undefined; 17 } else { 18 newResult[${a}] = ${r}.value; 19 } 20 `)}else{let r=i[e];t.write(`const ${r} = ${n(e)};`),t.write(` 21 if (${r}.issues.length) payload.issues = payload.issues.concat(${r}.issues.map(iss => ({ 22 ...iss, 23 path: iss.path ? [${d.esc(e)}, ...iss.path] : [${d.esc(e)}] 24 })));`),t.write(`newResult[${d.esc(e)}] = ${r}.value`)}t.write("payload.value = newResult;"),t.write("return payload;");let s=t.compile();return(t,r)=>s(e,t,r)}
24)(r.shape)),t=n(t,s);else{t.value={};let e=i.shape;for(let r of i.keys){let n=e[r],i=n._zod.run({value:c[r],issues:[]},s),a="optional"===n._zod.optin&&"optional"===n._zod.optout;i instanceof Promise?p.push(i.then(e=>a?b(e,t,r,c):v(e,t,r))):a?b(i,t,r,c):v(i,t,r)}}if(!h)return p.length?Promise.all(p).then(()=>t):t;let m=[],g=i.keySet,y=h._zod,E=y.def.type;for(let e of Object.keys(c)){if(g.has(e))continue;if("never"===E){m.push(e);continue}let r=y.run({value:c[e],issues:[]},s);r instanceof Promise?p.push(r.then(r=>v(r,t,e))):v(r,t,e)}return(m.length&&t.issues.push({code:"unrecognized_keys",keys:m,input:c,inst:e}),p.length)?Promise.all(p).then(()=>t):t}}),t.$ZodUnion=s.$constructor("$ZodUnion",(e,r)=>{t.$ZodType.init(e,r),d.defineLazy(e._zod,"optin",()=>r.options.some(e=>"optional"===e._zod.optin)?"optional":void 0),d.defineLazy(e._zod,"optout",()=>r.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),d.defineLazy(e._zod,"values",()=>{if(r.options.every(e=>e._zod.values))return new Set(r.options.flatMap(e=>Array.from(e._zod.values)))}),d.defineLazy(e._zod,"pattern",()=>{if(r.options.every(e=>e._zod.pattern)){let e=r.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>d.cleanRegex(e.source)).join("|")})$`)}}),e._zod.parse=(t,n)=>{let i=!1,a=[];for(let e of r.options){let r=e._zod.run({value:t.value,issues:[]},n);if(r instanceof Promise)a.push(r),i=!0;else{if(0===r.issues.length)return r;a.push(r)}}return i?Promise.all(a).then(r=>E(r,t,e,n)):E(a,t,e,n)}}),t.$ZodDiscriminatedUnion=s.$constructor("$ZodDiscriminatedUnion",(e,r)=>{t.$ZodUnion.init(e,r);let n=e._zod.parse;d.defineLazy(e._zod,"propValues",()=>{let e={};for(let t of r.options){let n=t._zod.propValues;if(!n||0===Object.keys(n).length)throw Error(`Invalid discriminated union option at index "${r.options.indexOf(t)}"`);for(let[t,r]of Object.entries(n))for(let n of(e[t]||(e[t]=new Set),r))e[t].add(n)}return e});let i=d.cached(()=>{let e=r.options,t=new Map;for(let n of e){let e=n._zod.propValues[r.discriminator];if(!e||0===e.size)throw Error(`Invalid discriminated union option at index "${r.options.indexOf(n)}"`);for(let r of e){if(t.has(r))throw Error(`Duplicate discriminator value "${String(r)}"`);t.set(r,n)}}return t});e._zod.parse=(t,a)=>{let o=t.value;if(!d.isObject(o))return t.issues.push({code:"invalid_type",expected:"object",input:o,inst:e}),t;let s=i.value.get(o?.[r.discriminator]);return s?s._zod.run(t,a):r.unionFallback?n(t,a):(t.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",input:o,path:[r.discriminator],inst:e}),t)}}),t.$ZodIntersection=s.$constructor("$ZodIntersection",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(e,t)=>{let n=e.value,i=r.left._zod.run({value:n,issues:[]},t),a=r.right._zod.run({value:n,issues:[]},t);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,r])=>_(e,t,r)):_(e,i,a)}}),t.$ZodTuple=s.$constructor("$ZodTuple",(e,r)=>{t.$ZodType.init(e,r);let n=r.items,i=n.length-[...n].reverse().findIndex(e=>"optional"!==e._zod.optin);e._zod.parse=(t,a)=>{let o=t.value;if(!Array.isArray(o))return t.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),t;t.value=[];let s=[];if(!r.rest){let r=o.length>n.length,a=o.length<i-1;if(r||a)return t.issues.push({input:o,inst:e,origin:"array",...r?{code:"too_big",maximum:n.length}:{code:"too_small",minimum:n.length}}),t}let l=-1;for(let e of n){if(++l>=o.length&&l>=i)continue;let r=e._zod.run({value:o[l],issues:[]},a);r instanceof Promise?s.push(r.then(e=>S(e,t,l))):S(r,t,l)}if(r.rest)for(let e of o.slice(n.length)){l++;let n=r.rest._zod.run({value:e,issues:[]},a);n instanceof Promise?s.push(n.then(e=>S(e,t,l))):S(n,t,l)}return s.length?Promise.all(s).then(()=>t):t}}),t.$ZodRecord=s.$constructor("$ZodRecord",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(t,n)=>{let i=t.value;if(!d.isPlainObject(i))return t.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),t;let a=[];if(r.keyType._zod.values){let o,s=r.keyType._zod.values;for(let e of(t.value={},s))if("string"==typeof e||"number"==typeof e||"symbol"==typeof e){let o=r.valueType._zod.run({value:i[e],issues:[]},n);o instanceof Promise?a.push(o.then(r=>{r.issues.length&&t.issues.push(...d.prefixIssues(e,r.issues)),t.value[e]=r.value})):(o.issues.length&&t.issues.push(...d.prefixIssues(e,o.issues)),t.value[e]=o.value)}for(let e in i)s.has(e)||(o=o??[]).push(e);o&&o.length>0&&t.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:o})}else for(let o of(t.value={}
24,Reflect.ownKeys(i))){if("__proto__"===o)continue;let l=r.keyType._zod.run({value:o,issues:[]},n);if(l instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(l.issues.length){t.issues.push({origin:"record",code:"invalid_key",issues:l.issues.map(e=>d.finalizeIssue(e,n,s.config())),input:o,path:[o],inst:e}),t.value[l.value]=l.value;continue}let u=r.valueType._zod.run({value:i[o],issues:[]},n);u instanceof Promise?a.push(u.then(e=>{e.issues.length&&t.issues.push(...d.prefixIssues(o,e.issues)),t.value[l.value]=e.value})):(u.issues.length&&t.issues.push(...d.prefixIssues(o,u.issues)),t.value[l.value]=u.value)}return a.length?Promise.all(a).then(()=>t):t}}),t.$ZodMap=s.$constructor("$ZodMap",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(t,n)=>{let i=t.value;if(!(i instanceof Map))return t.issues.push({expected:"map",code:"invalid_type",input:i,inst:e}),t;let a=[];for(let[o,s]of(t.value=new Map,i)){let l=r.keyType._zod.run({value:o,issues:[]},n),u=r.valueType._zod.run({value:s,issues:[]},n);l instanceof Promise||u instanceof Promise?a.push(Promise.all([l,u]).then(([r,a])=>{w(r,a,t,o,i,e,n)})):w(l,u,t,o,i,e,n)}return a.length?Promise.all(a).then(()=>t):t}}),t.$ZodSet=s.$constructor("$ZodSet",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(t,n)=>{let i=t.value;if(!(i instanceof Set))return t.issues.push({input:i,inst:e,expected:"set",code:"invalid_type"}),t;let a=[];for(let e of(t.value=new Set,i)){let i=r.valueType._zod.run({value:e,issues:[]},n);i instanceof Promise?a.push(i.then(e=>T(e,t))):T(i,t)}return a.length?Promise.all(a).then(()=>t):t}}),t.$ZodEnum=s.$constructor("$ZodEnum",(e,r)=>{t.$ZodType.init(e,r);let n=d.getEnumValues(r.entries);e._zod.values=new Set(n),e._zod.pattern=RegExp(`^(${n.filter(e=>d.propertyKeyTypes.has(typeof e)).map(e=>"string"==typeof e?d.escapeRegex(e):e.toString()).join("|")})$`),e._zod.parse=(t,r)=>{let i=t.value;return e._zod.values.has(i)||t.issues.push({code:"invalid_value",values:n,input:i,inst:e}),t}}),t.$ZodLiteral=s.$constructor("$ZodLiteral",(e,r)=>{t.$ZodType.init(e,r),e._zod.values=new Set(r.values),e._zod.pattern=RegExp(`^(${r.values.map(e=>"string"==typeof e?d.escapeRegex(e):e?e.toString():String(e)).join("|")})$`),e._zod.parse=(t,n)=>{let i=t.value;return e._zod.values.has(i)||t.issues.push({code:"invalid_value",values:r.values,input:i,inst:e}),t}}),t.$ZodFile=s.$constructor("$ZodFile",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(t,r)=>{let n=t.value;return n instanceof File||t.issues.push({expected:"file",code:"invalid_type",input:n,inst:e}),t}}),t.$ZodTransform=s.$constructor("$ZodTransform",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(e,t)=>{let n=r.transform(e.value,e);if(t.async)return(n instanceof Promise?n:Promise.resolve(n)).then(t=>(e.value=t,e));if(n instanceof Promise)throw new s.$ZodAsyncError;return e.value=n,e}}),t.$ZodOptional=s.$constructor("$ZodOptional",(e,r)=>{t.$ZodType.init(e,r),e._zod.optin="optional",e._zod.optout="optional",d.defineLazy(e._zod,"values",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,void 0]):void 0),d.defineLazy(e._zod,"pattern",()=>{let e=r.innerType._zod.pattern;return e?RegExp(`^(${d.cleanRegex(e.source)})?$`):void 0}),e._zod.parse=(e,t)=>"optional"===r.innerType._zod.optin?r.innerType._zod.run(e,t):void 0===e.value?e:r.innerType._zod.run(e,t)}),t.$ZodNullable=s.$constructor("$ZodNullable",(e,r)=>{t.$ZodType.init(e,r),d.defineLazy(e._zod,"optin",()=>r.innerType._zod.optin),d.defineLazy(e._zod,"optout",()=>r.innerType._zod.optout),d.defineLazy(e._zod,"pattern",()=>{let e=r.innerType._zod.pattern;return e?RegExp(`^(${d.cleanRegex(e.source)}|null)$`):void 0}),d.defineLazy(e._zod,"values",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,null]):void 0),e._zod.parse=(e,t)=>null===e.value?e:r.innerType._zod.run(e,t)}),t.$ZodDefault=s.$constructor("$ZodDefault",(e,r)=>{t.$ZodType.init(e,r),e._zod.optin="optional",d.defineLazy(e._zod,"values",()=>r.innerType._zod.values),e._zod.parse=(e,t)=>{if(void 0===e.value)return e.value=r.defaultValue,e;let n=r.innerType._zod.run(e,t);return n instanceof Promise?n.then(e=>O(e,r)):O(n,r)}}),t.$ZodPrefault=s.$constructor("$ZodPrefault",(e,r)=>{t.$ZodType.init(e,r),e._zod.optin="optional",d.defineLazy(e._zod,"values",()=>r.innerType._zod.values),e._zod.parse=(e,t)=>(void 0===e.value&&(e.value=r.defaultValue),r.innerType._zod.run(e,t))}),t.$ZodNonOptional=s.$constructor("$ZodNonOptional",(e,r)=>{t.$ZodType.init(e,r),d.defineLazy(e._zod,"values",()=>{let e=r.innerType._zod.values;return e?new Set([...e].filter(e=>void 0!==e)):void 0}),e._zod.parse=(t,n)=>{let i=r.innerType._zod.run(t,n);return i instanceof Promise?i.then(t=>x(t,e)):x(i,e)}}),t.$ZodSuccess=s.$constructor("$ZodSuccess",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(e,t)=>{let n=r.innerType._zod.run(e,t);return n instanceof Promise?n.then(t=>(e.value=0===t.issues.length,e)):(e.value=0===n.issues.length,e)}}),t.$ZodCatch=s.$constructor("$ZodCatch",(e,r)=>{t.$ZodType.init(e,r),e._zod.optin="optional",d.defineLazy(e._zod,"optout",()=>r.innerType._zod.optout),d.defineLazy(e._zod,"values",()=>r.innerType._zod.values),e._zod.parse=(e,t)=>{let n=r.innerType._zod.run(e,t);return n instanceof Promise?n.then(n=>
24(e.value=n.value,n.issues.length&&(e.value=r.catchValue({...e,error:{issues:n.issues.map(e=>d.finalizeIssue(e,t,s.config()))},input:e.value}),e.issues=[]),e)):(e.value=n.value,n.issues.length&&(e.value=r.catchValue({...e,error:{issues:n.issues.map(e=>d.finalizeIssue(e,t,s.config()))},input:e.value}),e.issues=[]),e)}}),t.$ZodNaN=s.$constructor("$ZodNaN",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(t,r)=>("number"==typeof t.value&&Number.isNaN(t.value)||t.issues.push({input:t.value,inst:e,expected:"nan",code:"invalid_type"}),t)}),t.$ZodPipe=s.$constructor("$ZodPipe",(e,r)=>{t.$ZodType.init(e,r),d.defineLazy(e._zod,"values",()=>r.in._zod.values),d.defineLazy(e._zod,"optin",()=>r.in._zod.optin),d.defineLazy(e._zod,"optout",()=>r.out._zod.optout),e._zod.parse=(e,t)=>{let n=r.in._zod.run(e,t);return n instanceof Promise?n.then(e=>P(e,r,t)):P(n,r,t)}}),t.$ZodReadonly=s.$constructor("$ZodReadonly",(e,r)=>{t.$ZodType.init(e,r),d.defineLazy(e._zod,"propValues",()=>r.innerType._zod.propValues),d.defineLazy(e._zod,"values",()=>r.innerType._zod.values),d.defineLazy(e._zod,"optin",()=>r.innerType._zod.optin),d.defineLazy(e._zod,"optout",()=>r.innerType._zod.optout),e._zod.parse=(e,t)=>{let n=r.innerType._zod.run(e,t);return n instanceof Promise?n.then(A):A(n)}}),t.$ZodTemplateLiteral=s.$constructor("$ZodTemplateLiteral",(e,r)=>{t.$ZodType.init(e,r);let n=[];for(let e of r.parts)if(e instanceof t.$ZodType){if(!e._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`);let t=e._zod.pattern instanceof RegExp?e._zod.pattern.source:e._zod.pattern;if(!t)throw Error(`Invalid template literal part: ${e._zod.traits}`);let r=+!!t.startsWith("^"),i=t.endsWith("$")?t.length-1:t.length;n.push(t.slice(r,i))}else if(null===e||d.primitiveTypes.has(typeof e))n.push(d.escapeRegex(`${e}`));else throw Error(`Invalid template literal part: ${e}`);e._zod.pattern=RegExp(`^${n.join("")}$`),e._zod.parse=(t,r)=>("string"!=typeof t.value?t.issues.push({input:t.value,inst:e,expected:"template_literal",code:"invalid_type"}):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(t.value)||t.issues.push({input:t.value,inst:e,code:"invalid_format",format:"template_literal",pattern:e._zod.pattern.source})),t)}),t.$ZodPromise=s.$constructor("$ZodPromise",(e,r)=>{t.$ZodType.init(e,r),e._zod.parse=(e,t)=>Promise.resolve(e.value).then(e=>r.innerType._zod.run({value:e,issues:[]},t))}),t.$ZodLazy=s.$constructor("$ZodLazy",(e,r)=>{t.$ZodType.init(e,r),d.defineLazy(e._zod,"innerType",()=>r.getter()),d.defineLazy(e._zod,"pattern",()=>e._zod.innerType._zod.pattern),d.defineLazy(e._zod,"propValues",()=>e._zod.innerType._zod.propValues),d.defineLazy(e._zod,"optin",()=>e._zod.innerType._zod.optin),d.defineLazy(e._zod,"optout",()=>e._zod.innerType._zod.optout),e._zod.parse=(t,r)=>e._zod.innerType._zod.run(t,r)}),t.$ZodCustom=s.$constructor("$ZodCustom",(e,r)=>{o.$ZodCheck.init(e,r),t.$ZodType.init(e,r),e._zod.parse=(e,t)=>e,e._zod.check=t=>{let n=t.value,i=r.fn(n);if(i instanceof Promise)return i.then(r=>k(r,t,n,e));k(i,t,n,e)}})},50825:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var n=r(74180),i=r(68356);function a(){return(0,n.useContext)(i.R)}},51119:(e,t,r)=>{"use strict";r.d(t,{r:()=>a});var n=r(74180),i=(0,n.createContext)(null);function a(){return(0,n.useContext)(i)}},51202:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(24792))&&n.__esModule?n:{default:n},a=r(59110);function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=a.UNIVERSAL,r.value="*",r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e),t}(i.default),e.exports=t.default},51285:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i.a});var n=r(88166),i=r.n(n),a={};for(let e in n)"default"!==e&&(a[e]=()=>n[e]);r.d(t,a)},51352:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(51401))&&n.__esModule?n:{default:n},a=r(59110);function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=a.ID,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e),t.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(i.default),e.exports=t.default},51401:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=r(97913),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 a=t[i],o=typeof a;"parent"===i&&"object"===o?r&&(n[i]=r):a instanceof Array?n[i]=a.map(function(t){return e(t,n)}):n[i]=e(a,n)}return n};t.default=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,r=e.prototype;return r.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},r.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},r.next=function(){return this.parent.at(this.parent.index(this)+1)},r.prev=function(){return this.parent.at(this.parent.index(this)-1)},r.clone=function(e){void 0===e&&(e={});var t=i(this);for(var r in e)t[r]=e[r];return t},r.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]},r.setPropertyAndEscape=function(e,t,r){this.raws||(this.raws={}),this[e]=t,this.raws[e]=r},r.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},r.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))},r.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},r.valueToString=function(){return String(this.stringifyProperty("value"))},r.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},t=[{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}}],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,t),e}(),e.exports=t.default},51752:(e,t,r)=>{"use strict";r.d(t,{de:()=>f});let n={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}};var i=r(38900);let a={date:(0,i.k)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,i.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.k)({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},o={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"};var s=r(29306);let l={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},u={narrow:l.narrow,abbreviated:["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:l.wide},c={ordinalNumber:e=>Number(e)+".",era:(0,s.o)({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:l,formattingValues:u,defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nac
24hm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})};var d=r(71098);let f={code:"de",formatDistance:(e,t,r)=>{let i,a=r?.addSuffix?n[e].withPreposition:n[e].standalone;if(i="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",String(t)),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+i;else return"vor "+i;return i},formatLong:a,formatRelative:(e,t,r,n)=>o[e],localize:c,match:{ordinalNumber:(0,r(15880).K)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,d.A)({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:(0,d.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,d.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,d.A)({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.A)({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},52113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"INLINES",{enumerable:!0,get:function(){return n}});var r,n=((r={}).ASSET_HYPERLINK="asset-hyperlink",r.EMBEDDED_ENTRY="embedded-entry-inline",r.EMBEDDED_RESOURCE="embedded-resource-inline",r.ENTRY_HYPERLINK="entry-hyperlink",r.HYPERLINK="hyperlink",r.RESOURCE_HYPERLINK="resource-hyperlink",r)},52408:(e,t,r)=>{"use strict";r.d(t,{A:()=>x});var n=r(13735),i=r(44493),a=r(69444);function o(e){let t=[],r=-1,n=0,i=0;for(;++r<e.length;){let o=e.charCodeAt(r),s="";if(37===o&&(0,a.lV)(e.charCodeAt(r+1))&&(0,a.lV)(e.charCodeAt(r+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(r+1);o<56320&&t>56319&&t<57344?(s=String.fromCharCode(o,t),i=1):s="�"}else s=String.fromCharCode(o);s&&(t.push(e.slice(n,r),encodeURIComponent(s)),n=r+i+1,s=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}function s(e,t){let r=[{type:"text",value:"â©"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function l(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let u=function(e){var t,r;if(null==e)return d;if("function"==typeof e)return c(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],r=-1;for(;++r<e.length;)t[r]=u(e[r]);return c(function(...e){let r=-1;for(;++r<t.length;)if(t[r].apply(this,e))return!0;return!1})}(e):(t=e,c(function(e){let r;for(r in t)if(e[r]!==t[r])return!1;return!0}))}if("string"==typeof e){return r=e,c(function(e){return e&&e.type===r})}throw Error("Expected function, string, or object as test")};function c(e){return function(t,r,n){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof r?r:void 0,n||void 0))}}function d(){return!0}let f=[];
24var h=r(26891);function p(e,t){let r=t.referenceType,n="]";if("collapsed"===r?n+="[]":"full"===r&&(n+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+n}];let i=e.all(t),a=i[0];a&&"text"===a.type?a.value="["+a.value:i.unshift({type:"text",value:"["});let o=i[i.length-1];return o&&"text"===o.type?o.value+=n:i.push({type:"text",value:n}),i}function m(e){let t=e.spread;return null==t?e.children.length>1:t}function g(e,t,r){let n=0,i=e.length;if(t){let t=e.codePointAt(n);for(;9===t||32===t;)n++,t=e.codePointAt(n)}if(r){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>n?e.slice(n,i):""}let y={blockquote:function(e,t){let r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)},break:function(e,t){let r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]},code:function(e,t){let r=t.value?t.value+"\n":"",n={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(n.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},emphasis:function(e,t){let r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},footnoteReference:function(e,t){let r,n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=o(i.toLowerCase()),s=e.footnoteOrder.indexOf(i),l=e.footnoteCounts.get(i);void 0===l?(l=0,e.footnoteOrder.push(i),r=e.footnoteOrder.length):r=s+1,l+=1,e.footnoteCounts.set(i,l);let u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(r)}]};e.patch(t,u);let c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},html:function(e,t){if(e.options.allowDangerousHtml){let r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}},imageReference:function(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return p(e,t);let i={src:o(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(i.title=n.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let r={src:o(t.url)};null!==t.alt&&void 0!==t.alt&&(r.alt=t.alt),null!==t.title&&void 0!==t.title&&(r.title=t.title);let n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)},inlineCode:function(e,t){let r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);let n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)},linkReference:function(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return p(e,t);let i={href:o(n.url||"")};null!==n.title&&void 0!==n.title&&(i.title=n.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let r={href:o(t.url)};null!==t.title&&void 0!==t.title&&(r.title=t.title);let n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},listItem:function(e,t,r){let n=e.all(t),i=r?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let r=e.children,n=-1;for(;!t&&++n<r.length;)t=m(r[n])}return t}(r):m(t),a={},o=[];if("boolean"==typeof t.checked){let e,r=n[0];r&&"element"===r.type&&"p"===r.tagName?e=r:(e={type:"element",tagName:"p",properties:{},children:[]},n.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s<n.length;){let e=n[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?o.push(e):o.push(...e.children)}let l=n[n.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&o.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:a,children:o};
24return e.patch(t,u),e.applyData(t,u)},list:function(e,t){let r={},n=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++i<n.length;){let e=n[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}let a={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){let r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},root:function(e,t){let r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)},strong:function(e,t){let r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},table:function(e,t){let r=e.all(t),n=r.shift(),i=[];if(n){let r={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],r),i.push(r)}if(r.length>0){let n={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},a=(0,h.PW)(t.children[1]),o=(0,h.Y)(t.children[t.children.length-1]);a&&o&&(n.position={start:a,end:o}),i.push(n)}let a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},tableRow:function(e,t,r){let n=r?r.children:void 0,i=0===(n?n.indexOf(t):1)?"th":"td",a=r&&"table"===r.type?r.align:void 0,o=a?a.length:t.children.length,s=-1,l=[];for(;++s<o;){let r=t.children[s],n={},o=a?a[s]:void 0;o&&(n.align=o);let u={type:"element",tagName:i,properties:n,children:[]};r&&(u.children=e.all(r),e.patch(r,u),u=e.applyData(r,u)),l.push(u)}let u={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){let r={type:"text",value:function(e){let t=String(e),r=/\r?\n|\r/g,n=r.exec(t),i=0,a=[];for(;n;)a.push(g(t.slice(i,n.index),i>0,!0),n[0]),i=n.index+n[0].length,n=r.exec(t);return a.push(g(t.slice(i),i>0,!1)),a.join("")}(String(t.value))};return e.patch(t,r),e.applyData(t,r)},thematicBreak:function(e,t){let r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)},toml:v,yaml:v,definition:v,footnoteDefinition:v};function v(){}let b={}.hasOwnProperty,E={};function _(e,t){e.position&&(t.position=(0,h.G1)(e))}function S(e,t){let r=t;if(e&&e.data){let t=e.data.hName,n=e.data.hChildren,a=e.data.hProperties;"string"==typeof t&&("element"===r.type?r.tagName=t:r={type:"element",tagName:t,properties:{},children:"children"in r?r.children:[r]}),"element"===r.type&&a&&Object.assign(r.properties,(0,i.Ay)(a)),"children"in r&&r.children&&null!=n&&(r.children=n)}return r}function w(e,t){let r=[],n=-1;for(t&&r.push({type:"text",value:"\n"});++n<e.length;)n&&r.push({type:"text",value:"\n"}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:"\n"}),r}function T(e){let t=0,r=e.charCodeAt(t);for(;9===r||32===r;)t++,r=e.charCodeAt(t);return e.slice(t)}function O(e,t){var r,a,c,d;let h,p,m,g,v,O,x,P,A,k,I=(h=t||E,p=new Map,m=new Map,g={all:function(e){let t=[];if("children"in e){let r=e.children,n=-1;for(;++n<r.length;){let i=g.one(r[n],e);if(i){if(n&&"break"===r[n-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=T(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=T(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:S,definitionById:p,footnoteById:m,footnoteCounts:new Map,footnoteOrder:[],handlers:{...y,...h.handlers},one:function(e,t){let r=e.type,n=g.handlers[r];if(b.call(g.handlers,r)&&n)return n(g,e,t);if(g.options.passThrough&&g.options.passThrough.includes(r)){if("children"in e){let{children:t,...r}=e,n=(0,i.Ay)(r);return n.children=g.all(e),n}return(0,i.Ay)(e)}return(g.options.unknownHandler||function(e,t){let r=t.data||{},n="value"in t&&!(b.call(r,"hProperties")||b.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)})(g,e,t)},options:h,patch:_,wrap:w},"function"==typeof(r=function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?p:m,r=String(e.identifier).toUpperCase();t.has(r)||t.set(r,e)}})?(O=void 0,x=r):(O=r,x=void 0),v=void 0,a=O,c=function(e,t){let r=t[t.length-1],n=r?r.children.indexOf(e):void 0;return x(e,n,r)},d=v,"function"==typeof a&&"function"!=typeof c?(d=c,c=a):P=a,A=u(P),k=d?-1:1,(function e(t,r,n){let i=t&&"object"==typeof t?t:{};if("string"==typeof i.type){let e="string"==typeof i.tagName?i.tagName:"string"==typeof i.name?i.name:void 0;Object.defineProperty(o,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return o;function o(){var i;let o,s,l,u=f;if((!a||A(t,r,n[n.length-1]||void 0))&&!1===(u=Array.isArray(i=c(t,n))?i:"number"==typeof i?[!0,i]:null==i?f:[i])[0])return u;if("children"in t&&t.children&&t.children&&"skip"!==u[0])for(s=(d?t.children.length:-1)+k,l=n.concat(t);s>-1&&s<t.children.length;){if(!1===(o=e(t.children[s],s,l)())[0])return o;s="number"==typeof o[1]?o[1]:s+k}return u}})(e,void 0,[])(),g),C=I.one(e,void 0),R=function(e){let t="string"==typeof e.o
24ptions.clobberPrefix?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||s,n=e.options.footnoteBackLabel||l,a=e.options.footnoteLabel||"Footnotes",u=e.options.footnoteLabelTagName||"h2",c=e.options.footnoteLabelProperties||{className:["sr-only"]},d=[],f=-1;for(;++f<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[f]);if(!i)continue;let a=e.all(i),s=String(i.identifier).toUpperCase(),l=o(s.toLowerCase()),u=0,c=[],h=e.footnoteCounts.get(s);for(;void 0!==h&&++u<=h;){c.length>0&&c.push({type:"text",value:" "});let e="string"==typeof r?r:r(f,u);"string"==typeof e&&(e={type:"text",value:e}),c.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+l+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof n?n:n(f,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&"element"===p.type&&"p"===p.tagName){let e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...c)}else a.push(...c);let m={type:"element",tagName:"li",properties:{id:t+"fn-"+l},children:e.wrap(a,!0)};e.patch(i,m),d.push(m)}if(0!==d.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:u,properties:{...(0,i.Ay)(c),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:"\n"}]}}(I),D=Array.isArray(C)?{type:"root",children:C}:C||{type:"root",children:[]};return R&&((0,n.ok)("children"in D),D.children.push({type:"text",value:"\n"},R)),D}function x(e,t){return e&&"run"in e?async function(r,n){let i=O(r,{file:n,...t});await e.run(i,n)}:function(r,n){return O(r,{file:n,...e||t})}}},52456:function(e,t,r){"use strict";var n=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(r(60663)),i=r(33760);function a(e,t){var r={};return e&&"string"==typeof e&&(0,n.default)(e,function(e,n){e&&n&&(r[(0,i.camel
24Case)(e,t)]=n)}),r}a.default=a,e.exports=a},52531:(e,t,r)=>{"use strict";t.__esModule=!0;var n=r(59110);Object.keys(n).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===n[e]||(t[e]=n[e])});var i=r(64848);Object.keys(i).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===i[e]||(t[e]=i[e])});var a=r(72115);Object.keys(a).forEach(function(e){"default"===e||"__esModule"===e||e in t&&t[e]===a[e]||(t[e]=a[e])})},52630:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"INSTANT_VALIDATION_BOUNDARY_NAME",{enumerable:!0,get:function(){return r}});let r="__next_instant_validation_boundary__"},52849:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSONSchemaGenerator=void 0,t.toJSONSchema=function(e,t){if(e instanceof n.$ZodRegistry){let r=new a(t),n={};for(let t of e._idmap.entries()){let[e,n]=t;r.process(n)}let i={},o={registry:e,uri:t?.uri,defs:n};for(let n of e._idmap.entries()){let[e,a]=n;i[e]=r.emit(a,{...t,external:o})}return Object.keys(n).length>0&&(i.__shared={["draft-2020-12"===r.target?"$defs":"definitions"]:n}),{schemas:i}}let r=new a(t);return r.process(e),r.emit(e,t)};let n=r(30974),i=r(3947);class a{constructor(e){this.counter=0,this.metadataRegistry=e?.metadata??n.globalRegistry,this.target=e?.target??"draft-2020-12",this.unrepresentable=e?.unrepresentable??"throw",this.override=e?.override??(()=>{}),this.io=e?.io??"output",this.seen=new Map}process(e,t={path:[],schemaPath:[]}){var r;let n=e._zod.def,a=this.seen.get(e);if(a)return a.count++,t.schemaPath.includes(e)&&(a.cycle=t.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:t.path};this.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...t,schemaPath:[...t.schemaPath,e],path:t.path},a=e._zod.parent;if(a)o.ref=a,this.process(a,r),this.seen.get(a).isParent=!0;else{let t=o.schema;switch(n.type){case"string":{t.type="string";let{minimum:r,maximum:n,format:i,patterns:a,contentEncoding:s}=e._zod.bag;if("number"==typeof r&&(t.minLength=r),"number"==typeof n&&(t.maxLength=n),i&&(t.format=({guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""})[i]??i,""===t.format&&delete t.format),s&&(t.contentEncoding=s),a&&a.size>0){let e=[...a];1===e.length?t.pattern=e[0].source:e.length>1&&(o.schema.allOf=[...e.map(e=>({..."draft-7"===this.target?{type:"string"}:{},pattern:e.source}))])}break}case"number":{let{minimum:r,maximum:n,format:i,multipleOf:a,exclusiveMaximum:o,exclusiveMinimum:s}=e._zod.bag;"string"==typeof i&&i.includes("int")?t.type="integer":t.type="number","number"==typeof s&&(t.exclusiveMinimum=s),"number"==typeof r&&(t.minimum=r,"number"==typeof s&&(s>=r?delete t.minimum:delete t.exclusiveMinimum)),"number"==typeof o&&(t.exclusiveMaximum=o),"number"==typeof n&&(t.maximum=n,"number"==typeof o&&(o<=n?delete t.maximum:delete t.exclusiveMaximum)),"number"==typeof a&&(t.multipleOf=a);break}case"boolean":case"success":t.type="boolean";break;case"bigint":if("throw"===this.unrepresentable)throw Error("BigInt cannot be represented in JSON Schema");break;case"symbol":if("throw"===this.unrepresentable)throw Error("Symbols cannot be represented in JSON Schema");break;case"null":t.type="null";break;case"any":case"unknown":break;case"undefined":if("throw"===this.unrepresentable)throw Error("Undefined cannot be represented in JSON Schema");break;case"void":if("throw"===this.unrepresentable)throw Error("Void cannot be represented in JSON Schema");break;case"never":t.not={};break;case"date":if("throw"===this.unrepresentable)throw Error("Date cannot be represented in JSON Schema");break;case"array":{let{minimum:i,maximum:a}=e._zod.bag;"number"==typeof i&&(t.minItems=i),"number"==typeof a&&(t.maxItems=a),t.type="array",t.items=this.process(n.element,{...r,path:[...r.path,"items"]});break}case"object":{t.type="object",t.properties={};let e=n.shape;for(let n in e)t.properties[n]=this.process(e[n],{...r,path:[...r.path,"properties",n]});let i=new Set([...new Set(Object.keys(e))].filter(e=>{let t=n.shape[e]._zod;return"input"===this.io?void 0===t.optin:void 0===t.optout}));i.size>0&&(t.required=Array.from(i)),n.catchall?._zod.def.type==="never"?t.additionalProperties=!1:n.catchall?n.catchall&&(t.additionalProperties=this.process(n.catchall,{...r,path:[...r.path,"additionalProperties"]})):"output"===this.io&&(t.additionalProperties=!1);break}case"union":t.anyOf=n.options.map((e,t)=>this.process(e,{...r,path:[...r.path,"anyOf",t]}));break;case"intersection":{let e=this.process(n.left,{...r,path:[...r.path,"allOf",0]}),i=this.process(n.right,{...r,path:[...r.path,"allOf",1]}),a=e=>"allOf"in e&&1===Object.keys(e).length;t.allOf=[...a(e)?e.allOf:[e],...a(i)?i.allOf:[i]];break}case"tuple":{t.type="array";let i=n.items.map((e,t)=>this.process(e,{...r,path:[...r.path,"prefixItems",t]}));
24if("draft-2020-12"===this.target?t.prefixItems=i:t.items=i,n.rest){let e=this.process(n.rest,{...r,path:[...r.path,"items"]});"draft-2020-12"===this.target?t.items=e:t.additionalItems=e}n.rest&&(t.items=this.process(n.rest,{...r,path:[...r.path,"items"]}));let{minimum:a,maximum:o}=e._zod.bag;"number"==typeof a&&(t.minItems=a),"number"==typeof o&&(t.maxItems=o);break}case"record":t.type="object",t.propertyNames=this.process(n.keyType,{...r,path:[...r.path,"propertyNames"]}),t.additionalProperties=this.process(n.valueType,{...r,path:[...r.path,"additionalProperties"]});break;case"map":if("throw"===this.unrepresentable)throw Error("Map cannot be represented in JSON Schema");break;case"set":if("throw"===this.unrepresentable)throw Error("Set cannot be represented in JSON Schema");break;case"enum":{let e=(0,i.getEnumValues)(n.entries);e.every(e=>"number"==typeof e)&&(t.type="number"),e.every(e=>"string"==typeof e)&&(t.type="string"),t.enum=e;break}case"literal":{let e=[];for(let t of n.values)if(void 0===t){if("throw"===this.unrepresentable)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if("bigint"==typeof t)if("throw"===this.unrepresentable)throw Error("BigInt literals cannot be represented in JSON Schema");else e.push(Number(t));else e.push(t);if(0===e.length);else if(1===e.length){let r=e[0];t.type=null===r?"null":typeof r,t.const=r}else e.every(e=>"number"==typeof e)&&(t.type="number"),e.every(e=>"string"==typeof e)&&(t.type="string"),e.every(e=>"boolean"==typeof e)&&(t.type="string"),e.every(e=>null===e)&&(t.type="null"),t.enum=e;break}case"file":{let r={type:"string",format:"binary",contentEncoding:"binary"},{minimum:n,maximum:i,mime:a}=e._zod.bag;void 0!==n&&(r.minLength=n),void 0!==i&&(r.maxLength=i),a?1===a.length?(r.contentMediaType=a[0],Object.assign(t,r)):t.anyOf=a.map(e=>({...r,contentMediaType:e})):Object.assign(t,r);break}case"transform":if("throw"===this.unrepresentable)throw Error("Transforms cannot be represented in JSON Schema");break;case"nullable":t.anyOf=[this.process(n.innerType,r),{type:"null"}];break;case"nonoptional":case"promise":case"optional":this.process(n.innerType,r),o.ref=n.innerType;break;case"default":this.process(n.innerType,r),o.ref=n.innerType,t.default=JSON.parse(JSON.stringify(n.defaultValue));break;case"prefault":this.process(n.innerType,r),o.ref=n.innerType,"input"===this.io&&(t._prefault=JSON.parse(JSON.stringify(n.defaultValue)));break;case"catch":{let e;this.process(n.innerType,r),o.ref=n.innerType;try{e=n.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}t.default=e;break}case"nan":if("throw"===this.unrepresentable)throw Error("NaN cannot be represented in JSON Schema");break;case"template_literal":{let r=e._zod.pattern;if(!r)throw Error("Pattern not found in template literal");t.type="string",t.pattern=r.source;break}case"pipe":{let e="input"===this.io?"transform"===n.in._zod.def.type?n.out:n.in:n.out;this.process(e,r),o.ref=e;break}case"readonly":this.process(n.innerType,r),o.ref=n.innerType,t.readOnly=!0;break;case"lazy":{let t=e._zod.innerType;this.process(t,r),o.ref=t;break}case"custom":if("throw"===this.unrepresentable)throw Error("Custom types cannot be represented in JSON Schema")}}}let l=this.metadataRegistry.get(e);return l&&Object.assign(o.schema,l),"input"===this.io&&function e(t,r){let n=r??{seen:new Set};if(n.seen.has(t))return!1;n.seen.add(t);let i=t._zod.def;switch(i.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":case"custom":case"success":case"catch":return!1;case"array":return e(i.element,n);case"object":for(let t in i.shape)if(e(i.shape[t],n))return!0;return!1;case"union":for(let t of i.options)if(e(t,n))return!0;return!1;case"intersection":return e(i.left,n)||e(i.right,n);case"tuple":for(let t of i.items)if(e(t,n))return!0;if(i.rest&&e(i.rest,n))return!0;return!1;case"record":case"map":return e(i.keyType,n)||e(i.valueType,n);case"set":return e(i.valueType,n);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":case"default":case"prefault":return e(i.innerType,n);case"lazy":return e(i.getter(),n);case"transform":return!0;case"pipe":return e(i.in,n)||e(i.out,n)}throw Error(`Unknown schema type: ${i.type}`)}(e)&&(delete o.schema.examples,delete o.schema.default),"input"===this.io&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,this.seen.get(e).schema}emit(e,t){let r={cycles:t?.cycles??"ref",reused:t?.reused??"inline",external:t?.external??void 0},n=this.seen.get(e);if(!n)throw Error("Unprocessed schema. This is a bug in Zod.");let i=e=>
24{let t="draft-2020-12"===this.target?"$defs":"definitions";if(r.external){let n=r.external.registry.get(e[0])?.id,i=r.external.uri??(e=>e);if(n)return{ref:i(n)};let a=e[1].defId??e[1].schema.id??`schema${this.counter++}`;return e[1].defId=a,{defId:a,ref:`${i("__shared")}#/${t}/${a}`}}if(e[1]===n)return{ref:"#"};let i=`#/${t}/`,a=e[1].schema.id??`__schema${this.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:r,defId:n}=i(e);t.def={...t.schema},n&&(t.defId=n);let a=t.schema;for(let e in a)delete a[e];a.$ref=r};if("throw"===r.cycles)for(let e of this.seen.entries()){let t=e[1];if(t.cycle)throw Error(`Cycle detected: #/${t.cycle?.join("/")}/<root> 25 26Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let t of this.seen.entries()){let n=t[1];if(e===t[0]){a(t);continue}if(r.external){let n=r.external.registry.get(t[0])?.id;if(e!==t[0]&&n){a(t);continue}}if(this.metadataRegistry.get(t[0])?.id||n.cycle||n.count>1&&"ref"===r.reused){a(t);continue}}let o=(e,t)=>{let r=this.seen.get(e),n=r.def??r.schema,i={...n};if(null===r.ref)return;let a=r.ref;if(r.ref=null,a){o(a,t);let e=this.seen.get(a).schema;e.$ref&&"draft-7"===t.target?(n.allOf=n.allOf??[],n.allOf.push(e)):(Object.assign(n,e),Object.assign(n,i))}r.isParent||this.override({zodSchema:e,jsonSchema:n,path:r.path??[]})};for(let e of[...this.seen.entries()].reverse())o(e[0],{target:this.target});let s={};if("draft-2020-12"===this.target?s.$schema="https://json-schema.org/draft/2020-12/schema":"draft-7"===this.target?s.$schema="http://json-schema.org/draft-07/schema#":console.warn(`Invalid target: ${this.target}`),r.external?.uri){let t=r.external.registry.get(e)?.id;if(!t)throw Error("Schema is missing an `id` property");s.$id=r.external.uri(t)}Object.assign(s,n.def);let l=r.external?.defs??{};for(let e of this.seen.entries()){let t=e[1];t.def&&t.defId&&(l[t.defId]=t.def)}r.external||Object.keys(l).length>0&&("draft-2020-12"===this.target?s.$defs=l:s.definitions=l);try{return JSON.parse(JSON.stringify(s))}catch(e){throw Error("Error converting schema to JSON.")}}}t.JSONSchemaGenerator=a},52869:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var n=r(74180),i=r(30285);function a(e,t=globalThis?.document){let r=(0,i.c)(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}},52980:(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},53085:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(22200))&&n.__esModule?n:{default:n},a=r(59110);function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=a.ROOT,r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(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),e.exports=t.default},53122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={get isBlock(){return u},get isEmptyParagraph(){return d},get isInline(){return l},get isText(){return c},get stripEmptyTrailingParagraphFromDocument(){return f}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:Object.getOwnPropertyDescriptor(n,i).get});var a=r(23103),o=r(52113);function s(e,t){var r=!0,n=!1,i=void 0;try{for(var a,o=Object.keys(e)[Symbol.iterator]();!(r=(a=o.next()).done);r=!0){var s=a.value;if(t===e[s])return!0}}catch(e){n=!0,i=e}finally{try{r||null==o.return||o.return()}finally{if(n)throw i}}return!1}function l(e){return s(o.INLINES,e.nodeType)}function u(e){return s(a.BLOCKS,e.nodeType)}function c(e){return"text"===e.nodeType}function d(e){if(e.nodeType!==a.BLOCKS.PARAGRAPH||1!==e.content.length)return!1;var t=e.content[0];return"text"===t.nodeType&&""===t.value}function f(e){var t,r;return!(null!=e&&(void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&"content"in e&&Array.isArray(e.content))||e.content.length<2?e:d(e.content[e.content.length-1])?(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
26))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},e),r=r={content:e.content.slice(0,-1)},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t):e}},53138:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","\xff"],t.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],t.MULTI_SYMBOLS={"\0":["(%)","U"],"\x01":["($)","A"],"\x02":["($)","B"],"\x03":["($)","C"],"\x04":["($)","D"],"\x05":["($)","E"],"\x06":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"]," ":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"\x0e":["($)","N"],"\x0f":["($)","O"],"\x10":["($)","P"],"\x11":["($)","Q"],"\x12":["($)","R"],"\x13":["($)","S"],"\x14":["($)","T"],"\x15":["($)","U"],"\x16":["($)","V"],"\x17":["($)","W"],"\x18":["($)","X"],"\x19":["($)","Y"],"\x1a":["($)","Z"],"\x1b":["(%)","A"],"\x1c":["(%)","B"],"\x1d":["(%)","C"],"\x1e":["(%)","D"],"\x1f":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"�":["(%)","T"]}},53194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={get EntityLinkAssertion(){return v},get HyperLinkAssertion(){return b},get NodeAssertion(){return y},get VOID_CONTENT(){return g},get assert(){return E},get assertLink(){return _}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:Object.getOwnPropertyDescriptor(n,i).get});var a=r(5772);function o(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 s(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t,r){var n,i,a;return t=d(t),n=e,(i=m()?Reflect.construct(t,r||[],d(e).constructor):t.apply(e,r))&&("object"==((a=i)&&"u">typeof Symbol&&a.constructor===Symbol?"symbol":typeof a)||"function"==typeof i)?i:s(n)}function u(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}
26function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return o(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return o(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(m=function(){return!!e})()}var g=[],y=function(){var e;function t(e,r){u(this,t),c(this,"contentRule",void 0),c(this,"validateData",void 0),this.contentRule=e,this.validateData=r}return e=[{key:"assert",value:function(e,t){var r=new a.ObjectAssertion(e,t);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var n=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),i=n.nodeTypes,o=n.min,s=void 0===o?0:o;if(0===i.length&&s>0)throw Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(s," with no nodeTypes"));if(r.minLength("content",s),0===i.length?r.empty("content"):r.each("content",function(e,t){var r=new a.ObjectAssertion(e,t);return r.object()&&r.enum("nodeType",i),r.errors}),r.object("data")){var l,u,c=null!=(l=null==(u=this.validateData)?void 0:u.call(this,e.data,t.of("data")))?l:[];r.catch.apply(r,p(c))}return r.errors}}],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,e),t}(),v=function(e){function t(e,r){var n;return u(this,t),c(n=l(this,t,[r,function(e,t){return s(n).assertLink(e,t)}]),"linkType",void 0),c(n,"type",void 0),c(n,"assertLink",void 0),n.linkType=e,n.assertLink=function(e,t){var r=new a.ObjectAssertion(e,t);if(r.object("target")){var i=new a.ObjectAssertion(e.target.sys,t.of("target").of("sys"));i.object()&&(i.enum("type",[n.type]),i.enum("linkType",[n.linkType]),"Link"===n.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===n.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),r.catch.apply(r,p(i.errors))}return r.noAdditionalProperties(["target"]),r.errors},n.type=n.linkType.startsWith("Contentful:")?"ResourceLink":"Link",n}return f(t,e),t}(y),b=function(e){function t(){var e;return u(this,t),c(e=l(this,t,[["text"],function(t,r){return s(e).assertLink(t,r)}]),"assertLink",function(e,t){var r=new a.ObjectAssertion(e,t);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return f(t,e),t}(y),E=function(e,t){return new y(e,t)},_=function(e,t){return new v(e,t)}},53333:(e,t,r)=>{"use strict";let n;r.d(t,{bz:()=>ex,YO:()=>eP,zM:()=>eO,k5:()=>eR,E$:()=>eI,eu:()=>eC,ai:()=>eT,Ik:()=>eA,Yj:()=>ew,KC:()=>ek});var i,a,o,s,l=r(22640),u=r(24879);let c=(e,t)=>{let r;switch(e.code){case l.eq.invalid_type:r=e.received===u.Zp.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case l.eq.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,u.ZS.jsonStringifyReplacer)}`;break;case l.eq.unrecognized_keys:r=`Unrecognized key(s) in object: ${u.ZS.joinValues(e.keys,", ")}`;break;case l.eq.invalid_union:r="Invalid input";break;case l.eq.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${u.ZS.joinValues(e.options)}`;break;case l.eq.invalid_enum_value:r=`Invalid enum value. Expected ${u.ZS.joinValues(e.options)}, received '${e.received}'`;break;case l.eq.invalid_arguments:r="Invalid function arguments";break;case l.eq.invalid_return_type:r="Invalid function return type";break;case l.eq.invalid_date:r="Invalid date";break;
26case l.eq.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:u.ZS.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case l.eq.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type||"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case l.eq.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case l.eq.custom:r="Invalid input";break;case l.eq.invalid_intersection_types:r="Intersection results could not be merged";break;case l.eq.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case l.eq.not_finite:r="Number must be finite";break;default:r=t.defaultError,u.ZS.assertNever(e)}return{message:r}};(i=o||(o={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},i.toString=e=>"string"==typeof e?e:e?.message;let d=e=>{let{data:t,path:r,errorMaps:n,issueData:i}=e,a=[...r,...i.path||[]],o={...i,path:a};if(void 0!==i.message)return{...i,path:a,message:i.message};let s="";for(let e of n.filter(e=>!!e).slice().reverse())s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}};function f(e,t){let r=d({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,c,void 0].filter(e=>!!e)});e.common.issues.push(r)}class h{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let r=[];for(let n of t){if("aborted"===n.status)return p;"dirty"===n.status&&e.dirty(),r.push(n.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let r=[];for(let e of t){let t=await e.key,n=await e.value;r.push({key:t,value:n})}return h.mergeObjectSync(e,r)}static mergeObjectSync(e,t){let r={};for(let n of t){let{key:t,value:i}=n;if("aborted"===t.status||"aborted"===i.status)return p;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==i.value||n.alwaysSet)&&(r[t.value]=i.value)}return{status:e.value,value:r}}}let p=Object.freeze({status:"aborted"}),m=e=>({status:"dirty",value:e}),g=e=>({status:"valid",value:e}),y=e=>"u">typeof Promise&&e instanceof Promise;class v{constructor(e,t,r,n){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=n}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let b=(e,t)=>{if("valid"===t.status)return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new l.G(e.common.issues);return this._error=t,this._error}}};function E(e){if(!e)return{};
vendor: 4,811 bytes, line 26
26let{errorMap:t,invalid_type_error:r,required_error:n,description:i}=e;if(t&&(r||n))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{let{message:a}=e;return"invalid_enum_value"===t.code?{message:a??i.defaultError}:void 0===i.data?{message:a??n??i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:a??r??i.defaultError}},description:i}}class _{get description(){return this._def.description}_getType(e){return(0,u.CR)(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:(0,u.CR)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new h,ctx:{common:e.parent.common,data:e.data,parsedType:(0,u.CR)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(y(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){let r={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,u.CR)(e)},n=this._parseSync({data:e,path:r.path,parent:r});return b(r,n)}"~validate"(e){let t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,u.CR)(e)};if(!this["~standard"].async)try{let r=this._parseSync({data:e,path:[],parent:t});return"valid"===r.status?{value:r.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>"valid"===e.status?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,u.CR)(e)},n=this._parse({data:e,path:r.path,parent:r});return b(r,await (y(n)?n:Promise.resolve(n)))}refine(e,t){return this._refinement((r,n)=>{let i=e(r),a=()=>n.addIssue({code:l.eq.custom,..."string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(r):t});return"u">typeof Promise&&i instanceof Promise?i.then(e=>!!e||(a(),!1)):!!i||(a(),!1)})}refinement(e,t){return this._refinement((r,n)=>!!e(r)||(n.addIssue("function"==typeof t?t(r,n):t),!1))}_refinement(e){return new ep({schema:this,typeName:s.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return em.create(this,this._def)}nullable(){return eg.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return X.create(this)}promise(){return eh.create(this,this._def)}or(e){return J.create([this,e],this._def)}and(e){return er.create(this,e,this._def)}transform(e){return new ep({...E(this._def),schema:this,typeName:s.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new ey({...E(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:s.ZodDefault})}brand(){return new eE({typeName:s.ZodBranded,type:this,...E(this._def)})}catch(e){return new ev({...E(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:s.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return e_.create(this,e)}readonly(){return eS.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let S=/^c[^\s-]{8,}
26$/i,w=/^[0-9a-z]+$/,T=/^[0-9A-HJKMNP-TV-Z]{26}$/i,O=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,x=/^[a-z0-9_-]{21}$/i,P=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,A=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,k=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,I=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,C=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,R=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,D=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,N=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,j=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,M="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",L=RegExp(`^${M}$`);function $(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`);let r=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${r}`}class U extends _{_parse(e){var t,r,i,a;let o;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==u.Zp.string){let t=this._getOrReturnCtx(e);return f(t,{code:l.eq.invalid_type,expected:u.Zp.string,received:t.parsedType}),p}let s=new h;for(let c of this._def.checks)if("min"===c.kind)e.data.length<c.value&&(f(o=this._getOrReturnCtx(e,o),{code:l.eq.too_small,minimum:c.value,type:"string",inclusive:!0,exact:!1,message:c.message}),s.dirty());else if("max"===c.kind)e.data.length>c.value&&(f(o=this._getOrReturnCtx(e,o),{code:l.eq.too_big,maximum:c.value,type:"string",inclusive:!0,exact:!1,message:c.message}),s.dirty());else if("length"===c.kind){let t=e.data.length>c.value,r=e.data.length<c.value;(t||r)&&(o=this._getOrReturnCtx(e,o),t?f(o,{code:l.eq.too_big,maximum:c.value,type:"string",inclusive:!0,exact:!0,message:c.message}):r&&f(o,{code:l.eq.too_small,minimum:c.value,type:"string",inclusive:!0,exact:!0,message:c.message}),s.dirty())}else if("email"===c.kind)k.test(e.data)||(f(o=this._getOrReturnCtx(e,o),{validation:"email",code:l.eq.invalid_string,message:c.message}),s.dirty());else if("emoji"===c.kind)n||(n=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),n.test(e.data)||(f(o=this._getOrReturnCtx(e,o),{validation:"emoji",code:l.eq.invalid_string,message:c.message}),s.dirty());else if("uuid"===c.kind)O.test(e.data)||(f(o=this._getOrReturnCtx(e,o),{validation:"uuid",code:l.eq.invali
vendor: 11,721 bytes, line 26
26d_string,message:c.message}),s.dirty());else if("nanoid"===c.kind)x.test(e.data)||(f(o=this._getOrReturnCtx(e,o),{validation:"nanoid",code:l.eq.invalid_string,message:c.message}),s.dirty());else if("cuid"===c.kind)S.test(e.data)||(f(o=this._getOrReturnCtx(e,o),{validation:"cuid",code:l.eq.invalid_string,message:c.message}),s.dirty());else if("cuid2"===c.kind)w.test(e.data)||(f(o=this._getOrReturnCtx(e,o),{validation:"cuid2",code:l.eq.invalid_string,message:c.message}),s.dirty());else if("ulid"===c.kind)T.test(e.data)||(f(o=this._getOrReturnCtx(e,o),{validation:"ulid",code:l.eq.invalid_string,message:c.message}),s.dirty());else if("url"===c.kind)try{new URL(e.data)}catch{f(o=this._getOrReturnCtx(e,o),{validation:"url",code:l.eq.invalid_string,message:c.message}),s.dirty()}else"regex"===c.kind?(c.regex.lastIndex=0,c.regex.test(e.data)||(f(o=this._getOrReturnCtx(e,o),{validation:"regex",code:l.eq.invalid_string,message:c.message}),s.dirty())):"trim"===c.kind?e.data=e.data.trim():"includes"===c.kind?e.data.includes(c.value,c.position)||(f(o=this._getOrReturnCtx(e,o),{code:l.eq.invalid_string,validation:{includes:c.value,position:c.position},message:c.message}),s.dirty()):"toLowerCase"===c.kind?e.data=e.data.toLowerCase():"toUpperCase"===c.kind?e.data=e.data.toUpperCase():"startsWith"===c.kind?e.data.startsWith(c.value)||(f(o=this._getOrReturnCtx(e,o),{code:l.eq.invalid_string,validation:{startsWith:c.value},message:c.message}),s.dirty()):"endsWith"===c.kind?e.data.endsWith(c.value)||(f(o=this._getOrReturnCtx(e,o),{code:l.eq.invalid_string,validation:{endsWith:c.value},message:c.message}),s.dirty()):"datetime"===c.kind?(function(e){let t=`${M}T${$(e)}`,r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,RegExp(`^${t}$`)})(c).test(e.data)||(f(o=this._getOrReturnCtx(e,o),{code:l.eq.invalid_string,validation:"datetime",message:c.message}),s.dirty()):"date"===c.kind?L.test(e.data)||(f(o=this._getOrReturnCtx(e,o),{code:l.eq.invalid_string,validation:"date",message:c.message}),s.dirty()):"time"===c.kind?RegExp(`^${$(c)}$`).test(e.data)||(f(o=this._getOrReturnCtx(e,o),{code:l.eq.invalid_string,validation:"time",message:c.message}),s.dirty()):"duration"===c.kind?A.test(e.data)||(f(o=this._getOrReturnCtx(e,o),{validation:"duration",code:l.eq.invalid_string,message:c.message}),s.dirty()):"ip"===c.kind?(t=e.data,!(("v4"===(r=c.version)||!r)&&I.test(t)||("v6"===r||!r)&&R.test(t))&&1&&(f(o=this._getOrReturnCtx(e,o),{validation:"ip",code:l.eq.invalid_string,message:c.message}),s.dirty())):"jwt"===c.kind?!function(e,t){if(!P.test(e))return!1;try{let[r]=e.split(".");if(!r)return!1;let n=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),i=JSON.parse(atob(n));if("object"!=typeof i||null===i||"typ"in i&&i?.typ!=="JWT"||!i.alg||t&&i.alg!==t)return!1;return!0}catch{return!1}}(e.data,c.alg)&&(f(o=this._getOrReturnCtx(e,o),{validation:"jwt",code:l.eq.invalid_string,message:c.message}),s.dirty()):"cidr"===c.kind?(i=e.data,!(("v4"===(a=c.version)||!a)&&C.test(i)||("v6"===a||!a)&&D.test(i))&&1&&(f(o=this._getOrReturnCtx(e,o),{validation:"cidr",code:l.eq.invalid_string,message:c.message}),s.dirty())):"base64"===c.kind?N.test(e.data)||(f(o=this._getOrReturnCtx(e,o),{validation:"base64",code:l.eq.invalid_string,message:c.message}),s.dirty()):"base64url"===c.kind?j.test(e.data)||(f(o=this._getOrReturnCtx(e,o),{validation:"base64url",code:l.eq.invalid_string,message:c.message}),s.dirty()):u.ZS.assertNever(c);return{status:s.value,value:e.data}}_regex(e,t,r){return this.refinement(t=>e.test(t),{validation:t,code:l.eq.invalid_string,...o.errToObj(r)})}_addCheck(e){return new U({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...o.errToObj(e)})}url(e){return this._addCheck({kind:"url",...o.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...o.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...o.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...o.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...o.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...o.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...o.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...o.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...o.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...o.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...o.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...o.errToObj(e)})}datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===e?.precision?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...o.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===e?.precision?null:e?.precision,...o.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...o.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...o.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...o.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...o.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...o.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...o.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...o.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...o.errToObj(t)})}nonempty(e){return this.min(1,o.errToObj(e))}trim(){return new U({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new U({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new U({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}U.create=e=>new U({checks:[],typeName:s.ZodString,coerce:e?.coerce??!1,...E(e)});class F extends _{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==u.Zp.number){let t=this._getOrReturnCtx(e);return f(t,{code:l.eq.invalid_type,expected:u.Zp.number,received:t.parsedType}),p}let r=new h;for(let n of this._def.checks)"int"===n.kind?u.ZS.isInteger(e.data)||(f(t=this._getOrReturnCtx(e,t),{code:l.eq.invalid_type,expected:"integer",received:"float",message:n.message}),r.dirty()):"min"===n.kind?(n.inclusive?e.data<n.value:e.data<=n.value)&&(f(t=this._getOrReturnCtx(e,t),{code:l.eq.too_small,minimum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),r.dirty()):"max"===n.kind?(n.inclusive?e.data>n.value:e.data>=n.value)&&(f(t=this._getOrReturnCtx(e,t),{code:l.eq.too_big,maximum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),r.dirty()):"multipleOf"===n.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}(e.data,n.value)&&(f(t=this._getOrReturnCtx(e,t),{code:l.eq.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):"finite"===n.kind?Number.isFinite(e.data)||(f(t=this._getOrReturnCtx(e,t),{code:l.eq.not_finite,message:n.message}),r.dirty()):u.ZS.assertNever(n);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,o.toString(t))}gt(e,t){return this.setLimit("min",e,!1,o.toString(t))}lte(e,t){return this.setLimit("max",e,!0,o.toString(t))}lt(e,t){return this.setLimit("max",e,!1,o.toString(t))}setLimit(e,t,r,n){return new F({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:o.toString(n)}]})}_addCheck(e){return new F({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:o.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:o.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:o.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:o.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:o.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:o.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:o.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:o.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:o.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&u.ZS.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let r of this._def.checks)if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;else"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.value<e)&&(e=r.value);return Number.isFinite(t)&&Number.isFinite(e)}}F.create=e=>new F({checks:[],typeName:s.ZodNumber,coerce:e?.coerce||!1,...E(e)});class B extends _{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==u.Zp.bigint)return this._getInvalidInput(e);let r=new h;for(let n of this._def.checks)"min"===n.kind?(n.inclusive?e.data<n.value:e.data<=n.value)&&(f(t=this._getOrReturnCtx(e,t),{code:l.eq.too_small,type:"bigint",minimum:n.value,inclusive:n.inclusive,message:n.message}),r.dirty()):"max"===n.kind?(n.inclusive?e.data>n.value:e.data>=n.value)&&(f(t=this._getOrReturnCtx(e,t),{code:l.eq.too_big,type:"bigint",maximum:n.value,inclusive:n.inclusive,message:n.message}),r.dirty()):"multipleOf"===n.kind?e.data%n.value!==BigInt(0)&&(f(t=this._getOrReturnCtx(e,t),{code:l.eq.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):u.ZS.assertNever(n);return{status:r.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);
26return f(t,{code:l.eq.invalid_type,expected:u.Zp.bigint,received:t.parsedType}),p}gte(e,t){return this.setLimit("min",e,!0,o.toString(t))}gt(e,t){return this.setLimit("min",e,!1,o.toString(t))}lte(e,t){return this.setLimit("max",e,!0,o.toString(t))}lt(e,t){return this.setLimit("max",e,!1,o.toString(t))}setLimit(e,t,r,n){return new B({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:o.toString(n)}]})}_addCheck(e){return new B({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:o.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:o.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:o.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:o.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:o.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}B.create=e=>new B({checks:[],typeName:s.ZodBigInt,coerce:e?.coerce??!1,...E(e)});class z extends _{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==u.Zp.boolean){let t=this._getOrReturnCtx(e);return f(t,{code:l.eq.invalid_type,expected:u.Zp.boolean,received:t.parsedType}),p}return g(e.data)}}z.create=e=>new z({typeName:s.ZodBoolean,coerce:e?.coerce||!1,...E(e)});class H extends _{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==u.Zp.date){let t=this._getOrReturnCtx(e);return f(t,{code:l.eq.invalid_type,expected:u.Zp.date,received:t.parsedType}),p}if(Number.isNaN(e.data.getTime()))return f(this._getOrReturnCtx(e),{code:l.eq.invalid_date}),p;let r=new h;for(let n of this._def.checks)"min"===n.kind?e.data.getTime()<n.value&&(f(t=this._getOrReturnCtx(e,t),{code:l.eq.too_small,message:n.message,inclusive:!0,exact:!1,minimum:n.value,type:"date"}),r.dirty()):"max"===n.kind?e.data.getTime()>n.value&&(f(t=this._getOrReturnCtx(e,t),{code:l.eq.too_big,message:n.message,inclusive:!0,exact:!1,maximum:n.value,type:"date"}),r.dirty()):u.ZS.assertNever(n);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new H({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:o.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:o.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}H.create=e=>new H({checks:[],coerce:e?.coerce||!1,typeName:s.ZodDate,...E(e)});class q extends _{_parse(e){if(this._getType(e)!==u.Zp.symbol){let t=this._getOrReturnCtx(e);return f(t,{code:l.eq.invalid_type,expected:u.Zp.symbol,received:t.parsedType}),p}return g(e.data)}}q.create=e=>new q({typeName:s.ZodSymbol,...E(e)});class G extends _{_parse(e){if(this._getType(e)!==u.Zp.undefined){let t=this._getOrReturnCtx(e);return f(t,{code:l.eq.invalid_type,expected:u.Zp.undefined,received:t.parsedType}),p}return g(e.data)}}G.create=e=>new G({typeName:s.ZodUndefined,...E(e)});class W extends _{_parse(e){if(this._getType(e)!==u.Zp.null){let t=this._getOrReturnCtx(e);return f(t,{code:l.eq.invalid_type,expected:u.Zp.null,received:t.parsedType}),p}return g(e.data)}}W.create=e=>new W({typeName:s.ZodNull,...E(e)});class V extends _{constructor(){super(...arguments),this._any=!0}_parse(e){return g(e.data)}}V.create=e=>new V({typeName:s.ZodAny,...E(e)});class Y extends _{constructor(){super(...arguments),this._unknown=!0}_parse(e){return g(e.data)}}Y.create=e=>new Y({typeName:s.ZodUnknown,...E(e)});class Z extends _{_parse(e){let t=this._getOrReturnCtx(e);
26return f(t,{code:l.eq.invalid_type,expected:u.Zp.never,received:t.parsedType}),p}}Z.create=e=>new Z({typeName:s.ZodNever,...E(e)});class K extends _{_parse(e){if(this._getType(e)!==u.Zp.undefined){let t=this._getOrReturnCtx(e);return f(t,{code:l.eq.invalid_type,expected:u.Zp.void,received:t.parsedType}),p}return g(e.data)}}K.create=e=>new K({typeName:s.ZodVoid,...E(e)});class X extends _{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),n=this._def;if(t.parsedType!==u.Zp.array)return f(t,{code:l.eq.invalid_type,expected:u.Zp.array,received:t.parsedType}),p;if(null!==n.exactLength){let e=t.data.length>n.exactLength.value,i=t.data.length<n.exactLength.value;(e||i)&&(f(t,{code:e?l.eq.too_big:l.eq.too_small,minimum:i?n.exactLength.value:void 0,maximum:e?n.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:n.exactLength.message}),r.dirty())}if(null!==n.minLength&&t.data.length<n.minLength.value&&(f(t,{code:l.eq.too_small,minimum:n.minLength.value,type:"array",inclusive:!0,exact:!1,message:n.minLength.message}),r.dirty()),null!==n.maxLength&&t.data.length>n.maxLength.value&&(f(t,{code:l.eq.too_big,maximum:n.maxLength.value,type:"array",inclusive:!0,exact:!1,message:n.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((e,r)=>n.type._parseAsync(new v(t,e,t.path,r)))).then(e=>h.mergeArray(r,e));let i=[...t.data].map((e,r)=>n.type._parseSync(new v(t,e,t.path,r)));return h.mergeArray(r,i)}get element(){return this._def.type}min(e,t){return new X({...this._def,minLength:{value:e,message:o.toString(t)}})}max(e,t){return new X({...this._def,maxLength:{value:e,message:o.toString(t)}})}length(e,t){return new X({...this._def,exactLength:{value:e,message:o.toString(t)}})}nonempty(e){return this.min(1,e)}}
vendor: 4,274 bytes, line 26
26X.create=(e,t)=>new X({type:e,minLength:null,maxLength:null,exactLength:null,typeName:s.ZodArray,...E(t)});class Q extends _{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=u.ZS.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==u.Zp.object){let t=this._getOrReturnCtx(e);return f(t,{code:l.eq.invalid_type,expected:u.Zp.object,received:t.parsedType}),p}let{status:t,ctx:r}=this._processInputParams(e),{shape:n,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof Z&&"strip"===this._def.unknownKeys))for(let e in r.data)i.includes(e)||a.push(e);let o=[];for(let e of i){let t=n[e],i=r.data[e];o.push({key:{status:"valid",value:e},value:t._parse(new v(r,i,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof Z){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of a)o.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)a.length>0&&(f(r,{code:l.eq.unrecognized_keys,keys:a}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of a){let n=r.data[t];o.push({key:{status:"valid",value:t},value:e._parse(new v(r,n,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of o){let r=await t.key,n=await t.value;e.push({key:r,value:n,alwaysSet:t.alwaysSet})}return e}).then(e=>h.mergeObjectSync(t,e)):h.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return o.errToObj,new Q({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{let n=this._def.errorMap?.(t,r).message??r.defaultError;return"unrecognized_keys"===t.code?{message:o.errToObj(e).message??n}:{message:n}}}:{}})}strip(){return new Q({...this._def,unknownKeys:"strip"})}passthrough(){return new Q({...this._def,unknownKeys:"passthrough"})}extend(e){return new Q({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Q({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:s.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Q({...this._def,catchall:e})}pick(e){let t={};for(let r of u.ZS.objectKeys(e))e[r]&&this.shape[r]&&(t[r]=this.shape[r]);return new Q({...this._def,shape:()=>t})}omit(e){let t={};for(let r of u.ZS.objectKeys(this.shape))e[r]||(t[r]=this.shape[r]);return new Q({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof Q){let r={};for(let n in t.shape){let i=t.shape[n];r[n]=em.create(e(i))}return new Q({...t._def,shape:()=>r})}if(t instanceof X)return new X({...t._def,type:e(t.element)});if(t instanceof em)return em.create(e(t.unwrap()));if(t instanceof eg)return eg.create(e(t.unwrap()));if(t instanceof en)return en.create(t.items.map(t=>e(t)));else return t}(this)}partial(e){let t={};for(let r of u.ZS.objectKeys(this.shape)){let n=this.shape[r];e&&!e[r]?t[r]=n:t[r]=n.optional()}return new Q({...this._def,shape:()=>t})}required(e){let t={};for(let r of u.ZS.objectKeys(this.shape))if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r];for(;e instanceof em;)e=e._def.innerType;t[r]=e}return new Q({...this._def,shape:()=>t})}keyof(){return ec(u.ZS.objectKeys(this.shape))}}Q.create=(e,t)=>new Q({shape:()=>e,unknownKeys:"strip",catchall:Z.create(),typeName:s.ZodObject,...E(t)}),Q.strictCreate=(e,t)=>new Q({shape:()=>e,unknownKeys:"strict",catchall:Z.create(),typeName:s.ZodObject,...E(t)}),Q.lazycreate=(e,t)=>new Q({shape:e,unknownKeys:"strip",catchall:Z.create(),typeName:s.ZodObject,...E(t)});class J extends _{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new l.G(e.ctx.common.issues));
26return f(t,{code:l.eq.invalid_union,unionErrors:r}),p});{let e,n=[];for(let i of r){let r={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:r});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:r}),r.common.issues.length&&n.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=n.map(e=>new l.G(e));return f(t,{code:l.eq.invalid_union,unionErrors:i}),p}}get options(){return this._def.options}}J.create=(e,t)=>new J({options:e,typeName:s.ZodUnion,...E(t)});let ee=e=>{if(e instanceof el)return ee(e.schema);if(e instanceof ep)return ee(e.innerType());if(e instanceof eu)return[e.value];if(e instanceof ed)return e.options;if(e instanceof ef)return u.ZS.objectValues(e.enum);else if(e instanceof ey)return ee(e._def.innerType);else if(e instanceof G)return[void 0];else if(e instanceof W)return[null];else if(e instanceof em)return[void 0,...ee(e.unwrap())];else if(e instanceof eg)return[null,...ee(e.unwrap())];else if(e instanceof eE)return ee(e.unwrap());else if(e instanceof eS)return ee(e.unwrap());else if(e instanceof ev)return ee(e._def.innerType);else return[]};class et extends _{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==u.Zp.object)return f(t,{code:l.eq.invalid_type,expected:u.Zp.object,received:t.parsedType}),p;let r=this.discriminator,n=t.data[r],i=this.optionsMap.get(n);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(f(t,{code:l.eq.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),p)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){let n=new Map;for(let r of t){let t=ee(r.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let i of t){if(n.has(i))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);n.set(i,r)}}return new et({typeName:s.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:n,...E(r)})}}class er extends _{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),n=(e,n)=>{if("aborted"===e.status||"aborted"===n.status)return p;let i=function e(t,r){let n=(0,u.CR)(t),i=(0,u.CR)(r);if(t===r)return{valid:!0,data:t};if(n===u.Zp.object&&i===u.Zp.object){let n=u.ZS.objectKeys(r),i=u.ZS.objectKeys(t).filter(e=>-1!==n.indexOf(e)),a={...t,...r};for(let n of i){let i=e(t[n],r[n]);if(!i.valid)return{valid:!1};a[n]=i.data}return{valid:!0,data:a}}if(n===u.Zp.array&&i===u.Zp.array){if(t.length!==r.length)return{valid:!1};let n=[];for(let i=0;i<t.length;i++){let a=e(t[i],r[i]);if(!a.valid)return{valid:!1};n.push(a.data)}return{valid:!0,data:n}}if(n===u.Zp.date&&i===u.Zp.date&&+t==+r)return{valid:!0,data:t};return{valid:!1}}(e.value,n.value);return i.valid?(("dirty"===e.status||"dirty"===n.status)&&t.dirty(),{status:t.value,value:i.data}):(f(r,{code:l.eq.invalid_intersection_types}),p)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([e,t])=>n(e,t)):n(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}er.create=(e,t,r)=>new er({left:e,right:t,typeName:s.ZodIntersection,...E(r)});class en extends _{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==u.Zp.array)return f(r,{code:l.eq.invalid_type,expected:u.Zp.array,received:r.parsedType}),p;if(r.data.length<this._def.items.length)return f(r,{code:l.eq.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),p;!this._def.rest&&r.data.length>this._def.items.length&&(f(r,{code:l.eq.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let n=[...r.data].map((e,t)=>{let n=this._def.items[t]||this._def.rest;return n?n._parse(new v(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(n).then(e=>h.mergeArray(t,e)):h.mergeArray(t,n)}get items(){return this._def.items}rest(e){return new en({...this._def,rest:e})}}en.create=(e,t)=>
26{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new en({items:e,typeName:s.ZodTuple,rest:null,...E(t)})};class ei extends _{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==u.Zp.object)return f(r,{code:l.eq.invalid_type,expected:u.Zp.object,received:r.parsedType}),p;let n=[],i=this._def.keyType,a=this._def.valueType;for(let e in r.data)n.push({key:i._parse(new v(r,e,r.path,e)),value:a._parse(new v(r,r.data[e],r.path,e)),alwaysSet:e in r.data});return r.common.async?h.mergeObjectAsync(t,n):h.mergeObjectSync(t,n)}get element(){return this._def.valueType}static create(e,t,r){return new ei(t instanceof _?{keyType:e,valueType:t,typeName:s.ZodRecord,...E(r)}:{keyType:U.create(),valueType:e,typeName:s.ZodRecord,...E(t)})}}class ea extends _{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==u.Zp.map)return f(r,{code:l.eq.invalid_type,expected:u.Zp.map,received:r.parsedType}),p;let n=this._def.keyType,i=this._def.valueType,a=[...r.data.entries()].map(([e,t],a)=>({key:n._parse(new v(r,e,r.path,[a,"key"])),value:i._parse(new v(r,t,r.path,[a,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of a){let n=await r.key,i=await r.value;if("aborted"===n.status||"aborted"===i.status)return p;("dirty"===n.status||"dirty"===i.status)&&t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of a){let n=r.key,i=r.value;if("aborted"===n.status||"aborted"===i.status)return p;("dirty"===n.status||"dirty"===i.status)&&t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}}}}ea.create=(e,t,r)=>new ea({valueType:t,keyType:e,typeName:s.ZodMap,...E(r)});class eo extends _{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==u.Zp.set)return f(r,{code:l.eq.invalid_type,expected:u.Zp.set,received:r.parsedType}),p;let n=this._def;null!==n.minSize&&r.data.size<n.minSize.value&&(f(r,{code:l.eq.too_small,minimum:n.minSize.value,type:"set",inclusive:!0,exact:!1,message:n.minSize.message}),t.dirty()),null!==n.maxSize&&r.data.size>n.maxSize.value&&(f(r,{code:l.eq.too_big,maximum:n.maxSize.value,type:"set",inclusive:!0,exact:!1,message:n.maxSize.message}),t.dirty());let i=this._def.valueType;function a(e){let r=new Set;for(let n of e){if("aborted"===n.status)return p;"dirty"===n.status&&t.dirty(),r.add(n.value)}return{status:t.value,value:r}}let o=[...r.data.values()].map((e,t)=>i._parse(new v(r,e,r.path,t)));return r.common.async?Promise.all(o).then(e=>a(e)):a(o)}min(e,t){return new eo({...this._def,minSize:{value:e,message:o.toString(t)}})}max(e,t){return new eo({...this._def,maxSize:{value:e,message:o.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}eo.create=(e,t)=>new eo({valueType:e,minSize:null,maxSize:null,typeName:s.ZodSet,...E(t)});class es extends _{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==u.Zp.function)return f(t,{code:l.eq.invalid_type,expected:u.Zp.function,received:t.parsedType}),p;function r(e,r){return d({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,c,c].filter(e=>!!e),issueData:{code:l.eq.invalid_arguments,argumentsError:r}})}function n(e,r){return d({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,c,c].filter(e=>!!e),issueData:{code:l.eq.invalid_return_type,returnTypeError:r}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof eh){let e=this;return g(async function(...t){let o=new l.G([]),s=await e._def.args.parseAsync(t,i).catch(e=>{throw o.addIssue(r(t,e)),o}),u=await Reflect.apply(a,this,s);return await e._def.returns._def.type.parseAsync(u,i).catch(e=>{throw o.addIssue(n(u,e)),o})})}{let e=this;return g(function(...t){let o=e._def.args.safeParse(t,i);if(!o.success)throw new l.G([r(t,o.error)]);let s=Reflect.apply(a,this,o.data),u=e._def.returns.safeParse(s,i);if(!u.success)throw new l.G([n(s,u.error)]);return u.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new es({...this._def,args:en.create(e).rest(Y.create())})}returns(e){return new es({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new es({args:e||en.create([]).rest(Y.create()),returns:t||Y.create(),typeName:s.ZodFunction,...E(r)})}}class el extends _{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}el.create=(e,t)=>
26new el({getter:e,typeName:s.ZodLazy,...E(t)});class eu extends _{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return f(t,{received:t.data,code:l.eq.invalid_literal,expected:this._def.value}),p}return{status:"valid",value:e.data}}get value(){return this._def.value}}function ec(e,t){return new ed({values:e,typeName:s.ZodEnum,...E(t)})}eu.create=(e,t)=>new eu({value:e,typeName:s.ZodLiteral,...E(t)});class ed extends _{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return f(t,{expected:u.ZS.joinValues(r),received:t.parsedType,code:l.eq.invalid_type}),p}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return f(t,{received:t.data,code:l.eq.invalid_enum_value,options:r}),p}return g(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return ed.create(e,{...this._def,...t})}exclude(e,t=this._def){return ed.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}ed.create=ec;class ef extends _{_parse(e){let t=u.ZS.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==u.Zp.string&&r.parsedType!==u.Zp.number){let e=u.ZS.objectValues(t);return f(r,{expected:u.ZS.joinValues(e),received:r.parsedType,code:l.eq.invalid_type}),p}if(this._cache||(this._cache=new Set(u.ZS.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let e=u.ZS.objectValues(t);return f(r,{received:r.data,code:l.eq.invalid_enum_value,options:e}),p}return g(e.data)}get enum(){return this._def.values}}ef.create=(e,t)=>new ef({values:e,typeName:s.ZodNativeEnum,...E(t)});class eh extends _{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==u.Zp.promise&&!1===t.common.async?(f(t,{code:l.eq.invalid_type,expected:u.Zp.promise,received:t.parsedType}),p):g((t.parsedType===u.Zp.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}eh.create=(e,t)=>new eh({type:e,typeName:s.ZodPromise,...E(t)});class ep extends _{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===s.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),n=this._def.effect||null,i={addIssue:e=>{f(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===n.type){let e=n.transform(r.data,i);if(r.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return p;let n=await this._def.schema._parseAsync({data:e,path:r.path,parent:r});return"aborted"===n.status?p:"dirty"===n.status||"dirty"===t.value?m(n.value):n});{if("aborted"===t.value)return p;let n=this._def.schema._parseSync({data:e,path:r.path,parent:r});return"aborted"===n.status?p:"dirty"===n.status||"dirty"===t.value?m(n.value):n}}if("refinement"===n.type){let e=e=>{let t=n.refinement(e,i);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?p:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let n=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===n.status?p:("dirty"===n.status&&t.dirty(),e(n.value),{status:t.value,value:n.value})}}if("transform"===n.type)if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>"valid"!==e.status?p:Promise.resolve(n.transform(e.value,i)).then(e=>({status:t.value,value:e})));else{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if("valid"!==e.status)return p;let a=n.transform(e.value,i);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}u.ZS.assertNever(n)}}ep.create=(e,t,r)=>new ep({schema:e,typeName:s.ZodEffects,effect:t,...E(r)}),ep.createWithPreprocess=(e,t,r)=>new ep({schema:t,effect:{type:"preprocess",transform:e},typeName:s.ZodEffects,...E(r)});class em extends _{_parse(e){return this._getType(e)===u.Zp.undefined?g(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}em.create=(e,t)=>
26new em({innerType:e,typeName:s.ZodOptional,...E(t)});class eg extends _{_parse(e){return this._getType(e)===u.Zp.null?g(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eg.create=(e,t)=>new eg({innerType:e,typeName:s.ZodNullable,...E(t)});class ey extends _{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===u.Zp.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}ey.create=(e,t)=>new ey({innerType:e,typeName:s.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...E(t)});class ev extends _{_parse(e){let{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},n=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return y(n)?n.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new l.G(r.common.issues)},input:r.data})})):{status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new l.G(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}ev.create=(e,t)=>new ev({innerType:e,typeName:s.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...E(t)});class eb extends _{_parse(e){if(this._getType(e)!==u.Zp.nan){let t=this._getOrReturnCtx(e);return f(t,{code:l.eq.invalid_type,expected:u.Zp.nan,received:t.parsedType}),p}return{status:"valid",value:e.data}}}eb.create=e=>new eb({typeName:s.ZodNaN,...E(e)}),Symbol("zod_brand");class eE extends _{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class e_ extends _{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?p:"dirty"===e.status?(t.dirty(),m(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})})();{let e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?p:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new e_({in:e,out:t,typeName:s.ZodPipeline})}}class eS extends _{_parse(e){let t=this._def.innerType._parse(e),r=e=>("valid"===e.status&&(e.value=Object.freeze(e.value)),e);return y(t)?t.then(e=>r(e)):r(t)}unwrap(){return this._def.innerType}}eS.create=(e,t)=>new eS({innerType:e,typeName:s.ZodReadonly,...E(t)}),Q.lazycreate,(a=s||(s={})).ZodString="ZodString",a.ZodNumber="ZodNumber",a.ZodNaN="ZodNaN",a.ZodBigInt="ZodBigInt",a.ZodBoolean="ZodBoolean",a.ZodDate="ZodDate",a.ZodSymbol="ZodSymbol",a.ZodUndefined="ZodUndefined",a.ZodNull="ZodNull",a.ZodAny="ZodAny",a.ZodUnknown="ZodUnknown",a.ZodNever="ZodNever",a.ZodVoid="ZodVoid",a.ZodArray="ZodArray",a.ZodObject="ZodObject",a.ZodUnion="ZodUnion",a.ZodDiscriminatedUnion="ZodDiscriminatedUnion",a.ZodIntersection="ZodIntersection",a.ZodTuple="ZodTuple",a.ZodRecord="ZodRecord",a.ZodMap="ZodMap",a.ZodSet="ZodSet",a.ZodFunction="ZodFunction",a.ZodLazy="ZodLazy",a.ZodLiteral="ZodLiteral",a.ZodEnum="ZodEnum",a.ZodEffects="ZodEffects",a.ZodNativeEnum="ZodNativeEnum",a.ZodOptional="ZodOptional",a.ZodNullable="ZodNullable",a.ZodDefault="ZodDefault",a.ZodCatch="ZodCatch",a.ZodPromise="ZodPromise",a.ZodBranded="ZodBranded",a.ZodPipeline="ZodPipeline",a.ZodReadonly="ZodReadonly";let ew=U.create,eT=F.create;eb.create,B.create;let eO=z.create;H.create,q.create,G.create,W.create;let ex=V.create;Y.create,Z.create,K.create;let eP=X.create,eA=Q.create;Q.strictCreate;let ek=J.create;et.create;let eI=er.create;en.create,ei.create,ea.create,eo.create,es.create,el.create;let eC=eu.create,eR=ed.create;ef.create,eh.create,ep.create,em.create,eg.create,ep.createWithPreprocess,e_.create},53431: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);
26(!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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"знаÑи",verb:"да имааÑ"},file:{unit:"баÑÑи",verb:"да имааÑ"},array:{unit:"ÑÑавки",verb:"да имааÑ"},set:{unit:"ÑÑавки",verb:"да имааÑ"}},t={regex:"внеÑ",email:"адÑеÑа на е-поÑÑа",url:"URL",emoji:"емоÑи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO даÑÑм и вÑеме",date:"ISO даÑÑм",time:"ISO вÑеме",duration:"ISO вÑемеÑÑаеÑе",ipv4:"IPv4 адÑеÑа",ipv6:"IPv6 адÑеÑа",cidrv4:"IPv4 опÑег",cidrv6:"IPv6 опÑег",base64:"base64-енкодиÑана низа",base64url:"base64url-енкодиÑана низа",json_string:"JSON низа",e164:"E.164 бÑоÑ",jwt:"JWT",template_literal:"внеÑ"},r=>{switch(r.code){case"invalid_type":return`ÐÑеÑен внеÑ: Ñе оÑекÑва ${r.expected}, пÑимено ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"бÑоÑ";case"object":if(Array.isArray(e))return"низа";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Invalid input: expected ${o.stringifyPrimitive(r.values[0])}`;return`ÐÑеÑана опÑиÑа: Ñе оÑекÑва една ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð³Ð¾Ð»ÐµÐ¼: Ñе оÑекÑва ${r.origin??"вÑедноÑÑа"} да има ${t}${r.maximum.toString()} ${n.unit??"елеменÑи"}`;return`ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð³Ð¾Ð»ÐµÐ¼: Ñе оÑекÑва ${r.origin??"вÑедноÑÑа"} да биде ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð¼Ð°Ð»: Ñе оÑекÑва ${r.origin} да има ${t}${r.minimum.toString()} ${n.unit}`;return`ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð¼Ð°Ð»: Ñе оÑекÑва ${r.origin} да биде ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ÐеважеÑка низа: моÑа да запоÑнÑва Ñо "${r.prefix}"`;if("ends_with"===r.format)return`ÐеважеÑка низа: моÑа да завÑÑÑва Ñо "${r.suffix}"`;if("includes"===r.format)return`ÐеважеÑка низа: моÑа да вклÑÑÑва "${r.includes}"`;if("regex"===r.format)return`ÐеважеÑка низа: моÑа да одгоаÑа на паÑеÑÐ½Ð¾Ñ ${r.pattern}`;return`Invalid ${t[r.format]??r.format}`;case"not_multiple_of":return`ÐÑеÑен бÑоÑ: моÑа да биде делив Ñо ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"ÐепÑепознаени клÑÑеви":"ÐепÑепознаен клÑÑ"}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`ÐÑеÑен клÑÑ Ð²Ð¾ ${r.origin}`;case"invalid_union":default:return"ÐÑеÑен внеÑ";case"invalid_element":return`ÐÑеÑна вÑедноÑÑ Ð²Ð¾ ${r.origin}`}})}};let o=a(r(3947))},53436:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=(n=r(40355))&&n.__esModule?n:{default:n},o=r(43171);t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e.substring(1),r));return n.bytes=e.split("").map(function(e){return e.charCodeAt(0)}),n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var e=this.bytes,r=e.shift()-105,n=o.SET_BY_CODE[r];if(void 0===n)throw RangeError("The encoding does not start with a start character.");!0===this.shouldEncodeAsEan128()&&e.unshift(o.FNC1);var i=t.next(e,1,n);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:t.getBar(r)+i.result+t.getBar((i.checksum+r)%o.MODULO)+t.getBar(o.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var e=this.options.ean128||!1;return"string"==typeof e&&(e="true"===e.toLowerCase()),e}}],[{key:"getBar",value:function(e){return o.BARS[e]?o.BARS[e].toString():""}},{key:"correctIndex",value:function(e,t){if(t===o.SET_A){var r=e.shift();return r<32?r+64:r-32}return t===o.SET_B?e.shift()-32:(e.shift()-48)*10+e.shift()-48}},{key:"next",value:function(e,r,n){if(!e.length)return{result:"",checksum:0};var i=void 0,a=void 0;if(e[0]>=200){a=e.shift()-105;var s=o.SWAP[a];void 0!==s?i=t.next(e,r+1,s):((n===o.SET_A||n===o.SET_B)&&a===o.SHIFT&&(e[0]=n===o.SET_A?e[0]>95?e[0]-96:e[0]:e[0]<32?e[0]+96:e[0]),i=t.next(e,r+1,n))}else a=t.correctIndex(e,n),i=t.next(e,r+1,n);var l=t.getBar(a),u=a*r;return{result:l+i.result,checksum:u+i.checksum}}}]),t}(a.default)},53769:(e,t)=>{"use strict";
26Object.defineProperty(t,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return a},requestIdleCallback:function(){return i}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},a="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53940:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DynamicServerError:function(){return a},isDynamicServerError:function(){return o}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i="DYNAMIC_SERVER_USAGE";class a extends Error{constructor(e){super(`Dynamic server usage: ${e}`),this.description=e,this.digest=i}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===i}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},54094:e=>{"use strict";e.exports=function(e,t){if(null===e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}},54266:(e,t,r)=>{"use strict";r.d(t,{j:()=>i});let n=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],i={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...n,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...n],h2:[["className","sr-only"]],img:[...n,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...n,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...n],table:[...n],ul:[...n,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]}},54369:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={isInterceptionAppRoute:function(){return c},isNormalizedAppRoute:function(){return u},parseAppRoute:function(){return function e(t,r){let n,i,s,u=t.split("/").filter(Boolean),c=[];for(let d of u){let u=l(function(e){if(!/%5b|%5d/i.test(e))return e;try{let t=decodeURIComponent(e);return(0,o.getSegmentParam)(t)?t:e}catch{return e}}(d));if(u){if(r&&("route-group"===u.type||"parallel-route"===u.type))throw Object.defineProperty(new a.InvariantError(`${t} is being parsed as a normalized route, but it has a route group or parallel route segment.`),"__NEXT_ERROR_CODE",{value:"E923",enumerable:!1,
26configurable:!0});if(c.push(u),u.interceptionMarker){let a=t.split(u.interceptionMarker);if(2!==a.length)throw Object.defineProperty(Error(`Invalid interception route: ${t}`),"__NEXT_ERROR_CODE",{value:"E924",enumerable:!1,configurable:!0});i=r?e(a[0],!0):e(a[0],!1),s=r?e(a[1],!0):e(a[1],!1),n=u.interceptionMarker}}}let d=c.filter(e=>"dynamic"===e.type);return{normalized:r,pathname:t,segments:c,dynamicSegments:d,interceptionMarker:n,interceptingRoute:i,interceptedRoute:s}}},parseAppRouteSegment:function(){return l}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(42674),o=r(95823),s=r(4954);function l(e){if(""===e)return null;let t=s.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),r=(0,o.getSegmentParam)(e);return r?{type:"dynamic",name:e,param:r,interceptionMarker:t}:e.startsWith("(")&&e.endsWith(")")?{type:"route-group",name:e,interceptionMarker:t}:e.startsWith("@")?{type:"parallel-route",name:e,interceptionMarker:t}:{type:"static",name:e,interceptionMarker:t}}function u(e){return e.normalized}function c(e){return void 0!==e.interceptionMarker&&void 0!==e.interceptingRoute&&void 0!==e.interceptedRoute}},54518:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={safeCompile:function(){return l},safePathToRegexp:function(){return s},safeRegexpToFunction:function(){return u},safeRouteMatcher:function(){return c}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(75721),o=r(83305);function s(e,t,r){if("string"!=typeof e)return(0,a.pathToRegexp)(e,t,r);let n=(0,o.hasAdjacentParameterIssues)(e),i=n?(0,o.normalizeAdjacentParameters)(e):e;try{return(0,a.pathToRegexp)(i,t,r)}catch(i){if(!n)try{let n=(0,o.normalizeAdjacentParameters)(e);return(0,a.pathToRegexp)(n,t,r)}catch(e){}throw i}}function l(e,t){let r=(0,o.hasAdjacentParameterIssues)(e),n=r?(0,o.normalizeAdjacentParameters)(e):e;try{let e=(0,a.compile)(n,t);if(r)return t=>(0,o.stripNormalizedSeparators)(e(t));return e}catch(n){if(!r)try{let r=(0,o.normalizeAdjacentParameters)(e),n=(0,a.compile)(r,t);return e=>(0,o.stripNormalizedSeparators)(n(e))}catch(e){}throw n}}function u(e,t){let r=(0,a.regexpToFunction)(e,t||[]);return e=>{let t=r(e);return!!t&&{...t,params:(0,o.stripParameterSeparators)(t.params)}}}function c(e){return t=>{let r=e(t);return!!r&&(0,o.stripParameterSeparators)(r)}}},54589:(e,t,r)=>{"use strict";r.r(t),r.d(t,{boolean:()=>i,booleanish:()=>a,commaOrSpaceSeparated:()=>c,commaSeparated:()=>u,number:()=>s,overloadedBoolean:()=>o,spaceSeparated:()=>l});let n=0,i=d(),a=d(),o=d(),s=d(),l=d(),u=d(),c=d();function d(){return 2**++n}},54643: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.JSONSchema=t.locales=t.regexes=t.util=void 0,a(r(36974),t),a(r(77998),t),a(r(10478),t),a(r(50767),t),a(r(6112),t),a(r(60716),t),t.util=o(r(3947)),t.regexes=o(r(45410)),t.locales=o(r(95075)),a(r(30974),t),a(r(37541),t),a(r(64419),t),a(r(48843),t),a(r(52849),t),t.JSONSchema=o(r(67349))},54797:(e,t,r)=>{"use strict";r.d(t,{b:()=>u,c:()=>m,d:()=>_,e:()=>f,f:()=>g,g:()=>d,h:()=>o,i:()=>w,j:()=>E,l:()=>s,m:()=>T,n:()=>a,o:()=>S,p:()=>l,q:()=>b,r:()=>v,s:()=>O,t:()=>y,u:()=>c,v:()=>p,w:()=>h,x:()=>function e(...t){let r=Object(t[0]);for(let n=1;n<t.length;n+=1){let i=t[n];if(null!=i&&("u">typeof window&&void 0!==window.HTMLElement?!(i instanceof HTMLElement):!i||1!==i.nodeType&&11!==i.nodeType)){let t=Object.keys(Object(i)).filter(e=>"__proto__"!==e&&"constructor"!==e&&"prototype"!==e);for(let n=0,a=t.length;n<a;n+=1){let a=t[n],o=Object.getOwnPropertyDescriptor(i,a);
26void 0!==o&&o.enumerable&&(l(r[a])&&l(i[a])?i[a].__swiper__?r[a]=i[a]:e(r[a],i[a]):!l(r[a])&&l(i[a])?(r[a]={},i[a].__swiper__?r[a]=i[a]:e(r[a],i[a])):r[a]=i[a])}}}return r},y:()=>i});var n=r(78998);function i(e){Object.keys(e).forEach(t=>{try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}function a(e,t=0){return setTimeout(e,t)}function o(){return Date.now()}function s(e,t="x"){let r,i,a,o,l,u=(0,n.a)(),c=((l=(0,n.a)()).getComputedStyle&&(o=l.getComputedStyle(e,null)),!o&&e.currentStyle&&(o=e.currentStyle),o||(o=e.style),o);return u.WebKitCSSMatrix?((i=c.transform||c.webkitTransform).split(",").length>6&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),a=new u.WebKitCSSMatrix("none"===i?"":i)):r=(a=c.MozTransform||c.OTransform||c.MsTransform||c.msTransform||c.transform||c.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=u.WebKitCSSMatrix?a.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(i=u.WebKitCSSMatrix?a.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function u(e,t,r){e.style.setProperty(t,r)}function c({swiper:e,targetPosition:t,side:r}){let i,a=(0,n.a)(),o=-e.translate,s=null,l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(e.cssModeFrameID);let u=t>o?"next":"prev",d=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,f=()=>{i=new Date().getTime(),null===s&&(s=i);let n=o+(.5-Math.cos(Math.max(Math.min((i-s)/l,1),0)*Math.PI)/2)*(t-o);if(d(n,t)&&(n=t),e.wrapperEl.scrollTo({[r]:n}),d(n,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[r]:n})}),a.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=a.requestAnimationFrame(f)};f()}function d(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function f(e,t=""){let r=(0,n.a)(),i=[...e.children];return(r.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t)?i.filter(e=>e.matches(t)):i}function h(e,t){let r=(0,n.a)(),i=t.contains(e);return!i&&r.HTMLSlotElement&&t instanceof HTMLSlotElement&&((i=[...t.assignedElements()].includes(e))||(i=function(e,t){let r=[t];for(;r.length>0;){let t=r.shift();if(e===t)return!0;r.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))),i}function p(e){try{console.warn(e);return}catch(e){}}function m(e,t=[]){let r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:function(e=""){return e.trim().split(" ").filter(e=>!!e.trim())}(t)),r}function g(e){let t=(0,n.a)(),r=(0,n.g)(),i=e.getBoundingClientRect(),a=r.body,o=e.clientTop||a.clientTop||0,s=e.clientLeft||a.clientLeft||0,l=e===t?t.scrollY:e.scrollTop,u=e===t?t.scrollX:e.scrollLeft;return{top:i.top+l-o,left:i.left+u-s}}function y(e,t){let r=[];for(;e.previousElementSibling;){let n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function v(e,t){let r=[];for(;e.nextElementSibling;){let n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function b(e,t){return(0,n.a)().getComputedStyle(e,null).getPropertyValue(t)}function E(e){let t,r=e;if(r){for(t=0;null!==(r=r.previousSibling);)1===r.nodeType&&(t+=1);return t}}function _(e,t){let r=[],n=e.parentElement;for(;n;)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}function S(e,t){t&&e.addEventListener("transitionend",function r(n){n.target===e&&(t.call(e,n),e.removeEventListener("transitionend",r))})}function w(e,t,r){let i=(0,n.a)();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function T(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function O(e,t=""){"u">typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}},55118:e=>{var t,r,n=Object.prototype,i=Function.prototype.toString,a=n.hasOwnProperty,o=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=a.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&i.call(r)==o}},55171:(e,t,r)=>{"use strict";r.d(t,{Y:()=>i});var n=r(71098);let i={ordinalNumber:(0,r(15880).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,n.A)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,n.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,n.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,n.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,n.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},55362:(e,t,r)=>{"use strict";r.d(t,{bL:()=>S,zi:()=>w});var n=r(74180),i=r(21538),a=r(71374),o=r(39392),s=r(62049),l=r(15597),u=r(7413),c=r(56410),d=r(67368),f="Switch",[h,p]=(0,o.A)(f),[m,g]=h(f),y=n.forwardRef((e,t)=>
26{let{__scopeSwitch:r,name:o,checked:l,defaultChecked:u,required:h,disabled:p,value:g="on",onCheckedChange:y,form:v,...b}=e,[S,w]=n.useState(null),T=(0,a.s)(t,e=>w(e)),O=n.useRef(!1),x=!S||v||!!S.closest("form"),[P,A]=(0,s.i)({prop:l,defaultProp:u??!1,onChange:y,caller:f});return(0,d.jsxs)(m,{scope:r,checked:P,disabled:p,children:[(0,d.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":P,"aria-required":h,"data-state":_(P),"data-disabled":p?"":void 0,disabled:p,value:g,...b,ref:T,onClick:(0,i.m)(e.onClick,e=>{A(e=>!e),x&&(O.current=e.isPropagationStopped(),O.current||e.stopPropagation())})}),x&&(0,d.jsx)(E,{control:S,bubbles:!O.current,name:o,value:g,checked:P,required:h,disabled:p,form:v,style:{transform:"translateX(-100%)"}})]})});y.displayName=f;var v="SwitchThumb",b=n.forwardRef((e,t)=>{let{__scopeSwitch:r,...n}=e,i=g(v,r);return(0,d.jsx)(c.sG.span,{"data-state":_(i.checked),"data-disabled":i.disabled?"":void 0,...n,ref:t})});b.displayName=v;var E=n.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:i=!0,...o},s)=>{let c=n.useRef(null),f=(0,a.s)(c,s),h=(0,l.Z)(r),p=(0,u.X)(t);return n.useEffect(()=>{let e=c.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(h!==r&&t){let n=new Event("click",{bubbles:i});t.call(e,r),e.dispatchEvent(n)}},[h,r,i]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:f,style:{...o.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function _(e){return e?"checked":"unchecked"}E.displayName="SwitchBubbleInput";var S=y,w=b},55622: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"ØØ±ÙÙ",verb:"ÛÙÙØ§"},file:{unit:"بائٹس",verb:"ÛÙÙØ§"},array:{unit:"آئٹÙ
ز",verb:"ÛÙÙØ§"},set:{unit:"آئٹÙ
ز",verb:"ÛÙÙØ§"}},t={regex:"ا٠پٹ",email:"Ø§Û Ù
Û٠اÛÚØ±Ûس",url:"Û٠آر اÛÙ",emoji:"اÛÙ
ÙØ¬Û",uuid:"ÛÙ ÛÙ Ø¢Ø¦Û ÚÛ",uuidv4:"ÛÙ ÛÙ Ø¢Ø¦Û ÚÛ ÙÛ 4",uuidv6:"ÛÙ ÛÙ Ø¢Ø¦Û ÚÛ ÙÛ 6",nanoid:"ÙÛÙÙ Ø¢Ø¦Û ÚÛ",guid:"Ø¬Û ÛÙ Ø¢Ø¦Û ÚÛ",cuid:"Ø³Û ÛÙ Ø¢Ø¦Û ÚÛ",cuid2:"Ø³Û ÛÙ Ø¢Ø¦Û ÚÛ 2",ulid:"Û٠اÛÙ Ø¢Ø¦Û ÚÛ",xid:"اÛکس Ø¢Ø¦Û ÚÛ",ksuid:"Ú©Û Ø§ÛØ³ ÛÙ Ø¢Ø¦Û ÚÛ",datetime:"Ø¢Ø¦Û Ø§ÛØ³ ا٠ÚÛÙ¹ ٹائÙ
",date:"Ø¢Ø¦Û Ø§ÛØ³ Ø§Ù ØªØ§Ø±ÛØ®",time:"Ø¢Ø¦Û Ø§ÛØ³ ا٠ÙÙØª",duration:"Ø¢Ø¦Û Ø§ÛØ³ ا٠Ù
دت",ipv4:"Ø¢Ø¦Û Ù¾Û ÙÛ 4 اÛÚØ±Ûس",ipv6:"Ø¢Ø¦Û Ù¾Û ÙÛ 6 اÛÚØ±Ûس",cidrv4:"Ø¢Ø¦Û Ù¾Û ÙÛ 4 رÛÙØ¬",cidrv6:"Ø¢Ø¦Û Ù¾Û ÙÛ 6 رÛÙØ¬",base64:"Ø¨ÛØ³ 64 ا٠کÙÚÚ Ø³Ù¹Ø±ÙÚ¯",base64url:"Ø¨ÛØ³ 64 Û٠آر اÛ٠ا٠کÙÚÚ Ø³Ù¹Ø±ÙÚ¯",json_string:"Ø¬Û Ø§ÛØ³ ا٠اÛ٠سٹرÙÚ¯",e164:"Ø§Û 164 ÙÙ
بر",jwt:"Ø¬Û ÚØ¨ÙÛÙ Ù¹Û",template_literal:"ا٠پٹ"},r=>{switch(r.code){case"invalid_type":return`ØºÙØ· ا٠پٹ: ${r.expected} Ù
تÙÙØ¹ ØªÚ¾Ø§Ø ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"ÙÙ
بر";case"object":if(Array.isArray(e))return"آرÛ";if(null===e)return"ÙÙ";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)} Ù
ÙØµÙÙ ÛÙØ§`;case"invalid_value":if(1===r.values.length)return`ØºÙØ· ا٠پٹ: ${o.stringifyPrimitive(r.values[0])} Ù
تÙÙØ¹ تھا`;return`ØºÙØ· آپشÙ: ${o.joinValues(r.values,"|")} Ù
ÛÚº Ø³Û Ø§ÛÚ© Ù
تÙÙØ¹ تھا`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Ø¨ÛØª Ø¨ÚØ§: ${r.origin??"ÙÛÙÛÙ"} Ú©Û ${t}${r.maximum.toString()} ${n.unit??"Ø¹ÙØ§ØµØ±"} ÛÙÙÛ Ù
تÙÙØ¹ تھÛ`;return`Ø¨ÛØª Ø¨ÚØ§: ${r.origin??"ÙÛÙÛÙ"} کا ${t}${r.maximum.toString()} ÛÙÙØ§ Ù
تÙÙØ¹ تھا`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Ø¨ÛØª ÚÚ¾Ùٹا: ${r.origin} Ú©Û ${t}${r.minimum.toString()} ${n.unit} ÛÙÙÛ Ù
تÙÙØ¹ تھÛ`;return`Ø¨ÛØª ÚÚ¾Ùٹا: ${r.origin} کا ${t}${r.minimum.toString()} ÛÙÙØ§ Ù
تÙÙØ¹ تھا`}
26case"invalid_format":if("starts_with"===r.format)return`ØºÙØ· سٹرÙÚ¯: "${r.prefix}" Ø³Û Ø´Ø±ÙØ¹ ÛÙÙØ§ ÚØ§ÛÛÛ`;if("ends_with"===r.format)return`ØºÙØ· سٹرÙÚ¯: "${r.suffix}" پر ختÙ
ÛÙÙØ§ ÚØ§ÛÛÛ`;if("includes"===r.format)return`ØºÙØ· سٹرÙÚ¯: "${r.includes}" شاÙ
Ù ÛÙÙØ§ ÚØ§ÛÛÛ`;if("regex"===r.format)return`ØºÙØ· سٹرÙÚ¯: Ù¾Ûٹر٠${r.pattern} Ø³Û Ù
ÛÚ ÛÙÙØ§ ÚØ§ÛÛÛ`;return`ØºÙØ· ${t[r.format]??r.format}`;case"not_multiple_of":return`ØºÙØ· ÙÙ
بر: ${r.divisor} کا Ù
ضاع٠ÛÙÙØ§ ÚØ§ÛÛÛ`;case"unrecognized_keys":return`ØºÛØ± تسÙÛÙ
Ø´Ø¯Û Ú©Û${r.keys.length>1?"ز":""}: ${o.joinValues(r.keys,"Ø ")}`;case"invalid_key":return`${r.origin} Ù
ÛÚº ØºÙØ· Ú©Û`;case"invalid_union":default:return"ØºÙØ· ا٠پٹ";case"invalid_element":return`${r.origin} Ù
ÛÚº ØºÙØ· ÙÛÙÛÙ`}})}};let o=a(r(3947))},55783:(e,t,r)=>{"use strict";Object.defineProperty(t,"b",{enumerable:!0,get:function(){return f}});let n=r(83687),i=r(40923),a=r(12240),o=r(59096),s=r(896),l=r(38943),u=r(88509),c=r(96028),d=r(42674);function f(){let e="headers",t=i.workAsyncStorage.getStore(),r=a.workUnitAsyncStorage.getStore();if(t){if(r&&"after"===r.phase&&!(0,c.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${t.route} used \`headers()\` inside \`after()\`. This is not supported. If you need this data inside an \`after()\` callback, use \`headers()\` outside of the callback. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E839",enumerable:!1,configurable:!0});if(t.forceStatic)return p(n.HeadersAdapter.seal(new Headers({})));if(r)switch(r.type){case"cache":{let e=Object.defineProperty(Error(`Route ${t.route} used \`headers()\` inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`headers()\` outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E833",enumerable:!1,configurable:!0});throw Error.captureStackTrace(e,f),t.invalidDynamicUsageError??=e,e}case"unstable-cache":throw Object.defineProperty(Error(`Route ${t.route} used \`headers()\` inside a function cached with \`unstable_cache()\`. Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`headers()\` outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E838",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(Error(`Route ${t.route} used \`headers()\` inside \`generateStaticParams\`. This is not supported because \`generateStaticParams\` runs at build time without an HTTP request. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E1134",enumerable:!1,configurable:!0})}if(t.dynamicShouldError)throw Object.defineProperty(new s.StaticGenBailoutError(`Route ${t.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`headers()\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E828",enumerable:!1,configurable:!0});if(r)switch(r.type){case"prerender":var u=t,m=r;let i=h.get(m);if(i)return i;let g=(0,l.makeHangingPromise)(m.renderSignal,u.route,"`headers()`");return h.set(m,g),g;case"prerender-client":case"validation-client":let y="`headers`";throw Object.defineProperty(new d.InvariantError(`${y} must not be used within a client component. Next.js should be preventing ${y} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1017",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,o.postponeWithTracking)(t.route,e,r.dynamicTracking);case"prerender-legacy":return(0,o.throwToInterruptStaticGeneration)(e,t,r);case"prerender-runtime":return(0,l.delayUntilRuntimeStage)(r,p(r.headers));case"private-cache":return p(r.headers);case"request":if((0,o.trackDynamicDataInDynamicRender)(r),r.asyncApiPromises)return(0,a.isInEarlyRenderStage)(r)?r.asyncApiPromises.earlyHeaders:r.asyncApiPromises.headers;return p(r.headers)}}(0,a.throwForMissingRequestStore)(e)}r(4975);let h=new WeakMap;function p(e){let t=h.get(e);if(t)return t;let r=Promise.resolve(e);return h.set(e,r),r}(0,u.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`headers()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E836",enumerable:!1,
26configurable:!0})})},56053:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(48539);let n=(e,...t)=>e;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56314:(e,t)=>{"use strict";function r(e){switch(e){case"catchall-intercepted-(..)(..)":case"dynamic-intercepted-(..)(..)":return"(..)(..)";case"catchall-intercepted-(.)":case"dynamic-intercepted-(.)":return"(.)";case"catchall-intercepted-(..)":case"dynamic-intercepted-(..)":return"(..)";case"catchall-intercepted-(...)":case"dynamic-intercepted-(...)":return"(...)";default:return null}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interceptionPrefixFromParamType",{enumerable:!0,get:function(){return r}})},56410:(e,t,r)=>{"use strict";r.d(t,{hO:()=>l,sG:()=>s});var n=r(74180),i=r(13957),a=r(36116),o=r(67368),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,a.TL)(`Primitive.${t}`),i=n.forwardRef((e,n)=>{let{asChild:i,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i?r:t,{...a,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},56522:e=>{"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw Error("The value should be a number, a parsable string or an array of those.")}},56665:(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(78739))&&n.__esModule?n:{default:n}).default},56741:(e,t,r)=>{"use strict";r.d(t,{I:()=>o});var n=r(74180),i=r(79546),a=r(97670);function o(){var e=(0,n.useContext)(i.t);return(0,a.V)(null!==e,"Hooks must be used inside the <InstantSearch> component.\n\nThey are not compatible with the `[email protected]` and `react-instantsearch-dom` packages, so make sure to use the <InstantSearch> component from `[email protected]`."),e}},57796:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.START_BIN="1010",t.END_BIN="11101",t.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]},58024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"encode",value:function(){for(var e="110",t=0;t<this.data.length;t++){var r=parseInt(this.data[t]).toString(2);r=function(e,t){for(var r=0;r<t;r++)e="0"+e;return e}(r,4-r.length);for(var n=0;n<r.length;n++)e+="0"==r[n]?"100":"110"}return{data:e+="1001",text:this.text}}},{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]+$/)}}]),t}(((n=r(40355))&&n.__esModule?n:{default:n}).default)},58326:(e,t,r)=>{"use strict";var n=r(3466),i=r(98846),a=r(43118),o=r(33866),s=r(64194);function l(e,t,r,i){return new n(e,t,r,i)}l.version=r(98267),l.AlgoliaSearchHelper=n,l.SearchParameters=o,l.RecommendParameters=i,l.SearchResults=s,l.RecommendResults=a,e.exports=l},58553:(e,t,r)=>{"use strict";
26Object.defineProperty(t,"__esModule",{value:!0}),t.UPCE=t.UPC=t.EAN2=t.EAN5=t.EAN8=t.EAN13=void 0;var n=u(r(30001)),i=u(r(5671)),a=u(r(99944)),o=u(r(60149)),s=u(r(40443)),l=u(r(64162));function u(e){return e&&e.__esModule?e:{default:e}}t.EAN13=n.default,t.EAN8=i.default,t.EAN5=a.default,t.EAN2=o.default,t.UPC=s.default,t.UPCE=l.default},58690: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},59096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,a,o={DynamicHoleKind:function(){return Q},Postpone:function(){return k},PreludeState:function(){return ea},abortAndThrowOnSynchronousRequestDataAccess:function(){return A},abortOnSynchronousPlatformIOAccess:function(){return P},accessedDynamicData:function(){return L},annotateDynamicAccess:function(){return z},consumeDynamicAccess:function(){return $},createDynamicTrackingState:function(){return E},createDynamicValidationState:function(){return _},createHangingInputAbortSignal:function(){return B},createInstantValidationState:function(){return J},createRenderInBrowserAbortSignal:function(){return F},formatDynamicAPIAccesses:function(){return U},getFirstDynamicReason:function(){return S},getNavigationDisallowedDynamicReasons:function(){return eu},getStaticShellDisallowedDynamicReasons:function(){return el},isDynamicPostpone:function(){return R},isPrerenderInterruptedError:function(){return M},logDisallowedDynamicError:function(){return eo},markCurrentScopeAsDynamic:function(){return w},postponeWithTracking:function(){return I},throwIfDisallowedDynamic:function(){return es},throwToInterruptStaticGeneration:function(){return T},trackAllowedDynamicAccess:function(){return X},trackDynamicDataInDynamicRender:function(){return O},trackDynamicHoleInNavigation:function(){return ee},trackDynamicHoleInRuntimeShell:function(){return er},trackDynamicHoleInStaticShell:function(){return en},trackThrownErrorInNavigation:function(){return et},useDynamicRouteParams:function(){return H},useDynamicSearchParams:function(){return q}};for(var s in o)Object.defineProperty(t,s,{enumerable:!0,get:o[s]});let l=(n=r(74180))&&n.__esModule?n:{default:n},u=r(53940),c=r(896),d=r(12240),f=r(40923),h=r(38943),p=r(96844),m=r(94796),g=r(81445),y=r(42674),v=r(52630),b="function"==typeof l.default.unstable_postpone;function E(e){return{isDebugDynamicAccesses:e,dynamicAccesses:[],syncDynamicErrorWithStack:null}}function _(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}}function S(e){var t;return null==(t=e.dynamicAccesses[0])?void 0:t.expression}function w(e,t,r){if(t)switch(t.type){case"cache":case"unstable-cache":case"private-cache":return}if(!e.forceDynamic&&!e.forceStatic){if(e.dynamicShouldError)throw Object.defineProperty(new c.StaticGenBailoutError(`Route ${e.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${r}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(t)switch(t.type){case"prerender-ppr":return I(e.route,r,t.dynamicTracking);case"prerender-legacy":t.revalidate=0;let n=Object.defineProperty(new u.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used ${r}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw e.dynamicUsageDescription=r,e.dynamicUsageStack=n.stack,n}}}function T(e,t,r){let n=Object.defineProperty(new u.DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,
26configurable:!0});throw r.revalidate=0,t.dynamicUsageDescription=e,t.dynamicUsageStack=n.stack,n}function O(e){switch(e.type){case"cache":case"unstable-cache":case"private-cache":return}}function x(e,t,r){let n=j(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`);r.controller.abort(n);let i=r.dynamicTracking;i&&i.dynamicAccesses.push({stack:i.isDebugDynamicAccesses?Error().stack:void 0,expression:t})}function P(e,t,r,n){let i=n.dynamicTracking;x(e,t,n),i&&null===i.syncDynamicErrorWithStack&&(i.syncDynamicErrorWithStack=r)}function A(e,t,r,n){if(!1===n.controller.signal.aborted){x(e,t,n);let i=n.dynamicTracking;i&&null===i.syncDynamicErrorWithStack&&(i.syncDynamicErrorWithStack=r)}throw j(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`)}function k({reason:e,route:t}){let r=d.workUnitAsyncStorage.getStore();I(t,e,r&&"prerender-ppr"===r.type?r.dynamicTracking:null)}function I(e,t,r){(function(){if(!b)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})})(),r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:t}),l.default.unstable_postpone(C(e,t))}function C(e,t){return`Route ${e} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function R(e){return"object"==typeof e&&null!==e&&"string"==typeof e.message&&D(e.message)}function D(e){return e.includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===D(C("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});let N="NEXT_PRERENDER_INTERRUPTED";function j(e){let t=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t.digest=N,t}function M(e){return"object"==typeof e&&null!==e&&e.digest===N&&"name"in e&&"message"in e&&e instanceof Error}function L(e){return e.length>0}function $(e,t){return e.dynamicAccesses.push(...t.dynamicAccesses),e.dynamicAccesses}function U(e){return e.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" (<anonymous>)")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}: 27${t}`))}function F(){let e=new AbortController;return e.abort(Object.defineProperty(new g.BailoutToCSRError("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),e.signal}function B(e){switch(e.type){case"prerender":case"prerender-runtime":let t=new AbortController;if(e.cacheSignal)e.cacheSignal.inputReady().then(()=>{t.abort()});else if("prerender-runtime"===e.type&&e.stagedRendering){let{stagedRendering:r}=e;r.waitForStage((0,h.getRuntimeStage)(r)).then(()=>(0,m.scheduleOnNextTick)(()=>t.abort()))}else(0,m.scheduleOnNextTick)(()=>t.abort());return t.signal;case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return}}function z(e,t){let r=t.dynamicTracking;r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:e})}function H(e){let t=f.workAsyncStorage.getStore(),r=d.workUnitAsyncStorage.getStore();if(t&&r)switch(r.type){case"prerender-client":case"prerender":{let n=r.fallbackRouteParams;n&&n.size>0&&l.default.use((0,h.makeHangingPromise)(r.renderSignal,t.route,e));break}case"prerender-ppr":{let n=r.fallbackRouteParams;if(n&&n.size>0)return I(t.route,e,r.dynamicTracking);break}case"validation-client":case"prerender-legacy":case"request":case"unstable-cache":break;case"prerender-runtime":throw Object.defineProperty(new y.InvariantError(`\`${e}\` was called during a runtime prerender. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,
27configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new y.InvariantError(`\`${e}\` was called inside a cache scope. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new y.InvariantError(`\`${e}\` was called in \`generateStaticParams\`. Next.js should be preventing ${e} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0})}}function q(e){let t=f.workAsyncStorage.getStore(),r=d.workUnitAsyncStorage.getStore();if(t)switch(!r&&(0,d.throwForMissingRequestStore)(e),r.type){case"validation-client":case"request":return;case"prerender-client":l.default.use((0,h.makeHangingPromise)(r.renderSignal,t.route,e));break;case"prerender-legacy":case"prerender-ppr":if(t.forceStatic)return;throw Object.defineProperty(new g.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":throw Object.defineProperty(new y.InvariantError(`\`${e}\` was called from a Server Component. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E795",enumerable:!1,configurable:!0});case"cache":case"unstable-cache":case"private-cache":throw Object.defineProperty(new y.InvariantError(`\`${e}\` was called inside a cache scope. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new y.InvariantError(`\`${e}\` was called in \`generateStaticParams\`. Next.js should be preventing ${e} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0})}}let G=/\n\s+at Suspense \(<anonymous>\)/,W=RegExp(`\\n\\s+at Suspense \\(<anonymous>\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(<anonymous>\\))[\\s\\S])*?\\n\\s+at ${p.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`),V=RegExp(`\\n\\s+at ${p.METADATA_BOUNDARY_NAME}[\\n\\s]`),Y=RegExp(`\\n\\s+at ${p.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),Z=RegExp(`\\n\\s+at ${p.OUTLET_BOUNDARY_NAME}[\\n\\s]`),K=RegExp(`\\n\\s+at ${v.INSTANT_VALIDATION_BOUNDARY_NAME}[\\n\\s]`);function X(e,t,r,n){if(!Z.test(t)){if(V.test(t)){r.hasDynamicMetadata=!0;return}if(Y.test(t)){r.hasDynamicViewport=!0;return}if(W.test(t)){r.hasAllowedDynamic=!0,r.hasSuspenseAboveBody=!0;return}else if(G.test(t)){r.hasAllowedDynamic=!0;return}else{if(n.syncDynamicErrorWithStack)return void r.dynamicErrors.push(n.syncDynamicErrorWithStack);let i=ei(Object.defineProperty(Error(`Route "${e.route}": Uncached data was accessed outside of <Suspense>. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1079",enumerable:!1,configurable:!0}),t,null);return void r.dynamicErrors.push(i)}}}var Q=((i={})[i.Runtime=1]="Runtime",i[i.Dynamic=2]="Dynamic",i);function J(e){return{hasDynamicMetadata:!1,hasAllowedClientDynamicAboveBoundary:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[],validationPreventingErrors:[],thrownErrorsOutsideBoundary:[],createInstantStack:e}}function ee(e,t,r,n,i,a){if(Z.test(t))return;if(V.test(t)){let n=ei(Object.defineProperty(Error(`Route "${e.route}": ${1===i?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed inside `generateMetadata` or you have file-based metadata such as icons that depend on dynamic params segments.":"Uncached data or `connection()` was accessed inside `generateMetadata`."} Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),"__NEXT_ERROR_CODE",{value:"E1076",enumerable:!1,
27configurable:!0}),t,r.createInstantStack);r.dynamicMetadata=n;return}if(Y.test(t)){let n=ei(Object.defineProperty(Error(`Route "${e.route}": ${1===i?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed inside `generateViewport`.":"Uncached data or `connection()` was accessed inside `generateViewport`."} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),"__NEXT_ERROR_CODE",{value:"E1086",enumerable:!1,configurable:!0}),t,r.createInstantStack);r.dynamicErrors.push(n);return}let o=K.exec(t);if(o){let e=G.exec(t);if(e&&e.index<o.index){r.hasAllowedDynamic=!0;return}}else if(a.expectedIds.size===a.renderedIds.size){r.hasAllowedClientDynamicAboveBoundary=!0,r.hasAllowedDynamic=!0;return}else{let n=ei(Object.defineProperty(Error(`Route "${e.route}": Could not validate \`unstable_instant\` because a Client Component in a parent segment prevented the page from rendering.`),"__NEXT_ERROR_CODE",{value:"E1082",enumerable:!1,configurable:!0}),t,r.createInstantStack);r.validationPreventingErrors.push(n);return}if(n.syncDynamicErrorWithStack){let e=n.syncDynamicErrorWithStack;null!==r.createInstantStack&&void 0===e.cause&&(e.cause=r.createInstantStack()),r.dynamicErrors.push(e);return}let s=ei(Object.defineProperty(Error(`Route "${e.route}": ${1===i?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed outside of `<Suspense>`.":"Uncached data or `connection()` was accessed outside of `<Suspense>`."} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1078",enumerable:!1,configurable:!0}),t,r.createInstantStack);r.dynamicErrors.push(s)}function et(e,t,r,n){let i=K.exec(n);if(i){let a=G.exec(n);if(a&&a.index<i.index)return;let o=ei(Object.defineProperty(Error(`Route "${e.route}": Could not validate \`unstable_instant\` because an error prevented the target segment from rendering.`,{cause:r}),"__NEXT_ERROR_CODE",{value:"E1112",enumerable:!1,configurable:!0}),n,null);t.validationPreventingErrors.push(o)}else{let e=ei(Object.defineProperty(Error("An error occurred while attempting to validate instant UI. This error may be preventing the validation from completing.",{cause:r}),"__NEXT_ERROR_CODE",{value:"E1118",enumerable:!1,configurable:!0}),n,null);t.thrownErrorsOutsideBoundary.push(e)}}function er(e,t,r,n){if(Z.test(t))return;if(V.test(t)){r.dynamicMetadata=ei(Object.defineProperty(Error(`Route "${e.route}": Uncached data or \`connection()\` was accessed inside \`generateMetadata\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),"__NEXT_ERROR_CODE",{value:"E1080",enumerable:!1,configurable:!0}),t,null);return}if(Y.test(t)){let n=ei(Object.defineProperty(Error(`Route "${e.route}": Uncached data or \`connection()\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),"__NEXT_ERROR_CODE",{value:"E1077",enumerable:!1,configurable:!0}),t,null);r.dynamicErrors.push(n);return}if(W.test(t)){r.hasAllowedDynamic=!0,r.hasSuspenseAboveBody=!0;return}if(G.test(t)){r.hasAllowedDynamic=!0;return}else if(n.syncDynamicErrorWithStack)return void r.dynamicErrors.push(n.syncDynamicErrorWithStack);let i=ei(Object.defineProperty(Error(`Route "${e.route}": Uncached data or \`connection()\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1084",enumerable:!1,configurable:!0}),t,null);r.dynamicErrors.push(i)}function en(e,t,r,n){if(!Z.test(t)){if(V.test(t)){r.dynamicMetadata=ei(Object.defineProperty(Error(`Route "${e.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),"__NEXT_ERROR_CODE",{value:"E1085",enumerable:!1,
27configurable:!0}),t,null);return}if(Y.test(t)){let n=ei(Object.defineProperty(Error(`Route "${e.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),"__NEXT_ERROR_CODE",{value:"E1081",enumerable:!1,configurable:!0}),t,null);r.dynamicErrors.push(n);return}if(W.test(t)){r.hasAllowedDynamic=!0,r.hasSuspenseAboveBody=!0;return}else if(G.test(t)){r.hasAllowedDynamic=!0;return}else{if(n.syncDynamicErrorWithStack)return void r.dynamicErrors.push(n.syncDynamicErrorWithStack);let i=ei(Object.defineProperty(Error(`Route "${e.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1083",enumerable:!1,configurable:!0}),t,null);return void r.dynamicErrors.push(i)}}}function ei(e,t,r){return null!==r&&(e.cause=r()),e.stack=e.name+": "+e.message+t,e}var ea=((a={})[a.Full=0]="Full",a[a.Empty=1]="Empty",a[a.Errored=2]="Errored",a);function eo(e,t){console.error(t),console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following: 28 - Start the app in development mode by running \`next dev\`, then open "${e.route}" in your browser to investigate the error. 29 - Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`)}function es(e,t,r,n){if(n.syncDynamicErrorWithStack)throw eo(e,n.syncDynamicErrorWithStack),new c.StaticGenBailoutError;if(0!==t){if(r.hasSuspenseAboveBody)return;let n=r.dynamicErrors;if(n.length>0){for(let t=0;t<n.length;t++)eo(e,n[t]);throw new c.StaticGenBailoutError}if(r.hasDynamicViewport)throw console.error(`Route "${e.route}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or uncached external data (\`fetch(...)\`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),new c.StaticGenBailoutError;if(1===t)throw console.error(`Route "${e.route}" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`),new c.StaticGenBailoutError}else if(!1===r.hasAllowedDynamic&&r.hasDynamicMetadata)throw console.error(`Route "${e.route}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or uncached external data (\`fetch(...)\`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),new c.StaticGenBailoutError}function el(e,t,r,n){if(n||r.hasSuspenseAboveBody)return[];if(0!==t){let n=r.dynamicErrors;if(n.length>0)return n;if(1===t)return[Object.defineProperty(new y.InvariantError(`Route "${e.route}" did not produce a static shell and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E936",enumerable:!1,configurable:!0})]}else if(!1===r.hasAllowedDynamic&&0===r.dynamicErrors.length&&r.dynamicMetadata)return[r.dynamicMetadata];return[]}function eu(e,t,r,n,i){if(n){let{missingSampleErrors:e}=n;if(e.length>0)return e}let{validationPreventingErrors:a}=r;if(a.length>0)return a;if(i.renderedIds.size<i.expectedIds.size){let{thrownErrorsOutsideBoundary:t,createInstantStack:n}=r;if(0===t.length){let t=`Route "${e.route}": Could not validate \`unstable_instant\` because the target segment was prevented from rendering for an unknown reason.`,r=null!==n?n():Error();return r.name="Error",r.message=t,[r]}if(1===t.length){let r=`Route "${e.route}": Could not validate \`unstable_instant\` because the target segment was prevented from rendering, likely due to the following error.`,i=null!==n?n():Error();return i.name="Error",i.message=r,[i,t[0]]}{let r=`Route "${e.route}": Could not validate \`unstable_instant\` because the target segment was prevented from rendering, likely due to one of the following errors.`,i=null!==n?n():Error();return i.name="Error",i.message=r,[i,...t]}}if(0!==t){let n=r.dynamicErrors;if(n.length>0)return n;if(1===t)return r.hasAllowedClientDynamicAboveBoundary?[]:[Object.defineProperty(new y.InvariantError(`Route "${e.route}" failed to render during instant validation and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E1055",enumerable:!1,
29configurable:!0})]}else{let e=r.dynamicErrors;if(e.length>0)return e;if(!1===r.hasAllowedDynamic&&r.dynamicMetadata)return[r.dynamicMetadata]}return[]}},59110:(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"},59388:(e,t,r)=>{"use strict";r.d(t,{BN:()=>h,ER:()=>p,Ej:()=>g,UE:()=>v,UU:()=>m,cY:()=>f,jD:()=>y,we:()=>d});var n=r(77015),i=r(74180),a=r(13957),o="u">typeof document?i.useLayoutEffect:function(){};function s(e,t){let r,n,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!s(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!s(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function l(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let r=l(e);return Math.round(t*r)/r}function c(e){let t=i.useRef(e);return o(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:d=[],platform:f,elements:{reference:h,floating:p}={},transform:m=!0,whileElementsMounted:g,open:y}=e,[v,b]=i.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[E,_]=i.useState(d);s(E,d)||_(d);let[S,w]=i.useState(null),[T,O]=i.useState(null),x=i.useCallback(e=>{e!==I.current&&(I.current=e,w(e))},[]),P=i.useCallback(e=>{e!==C.current&&(C.current=e,O(e))},[]),A=h||S,k=p||T,I=i.useRef(null),C=i.useRef(null),R=i.useRef(v),D=null!=g,N=c(g),j=c(f),M=c(y),L=i.useCallback(()=>{if(!I.current||!C.current)return;let e={placement:t,strategy:r,middleware:E};j.current&&(e.platform=j.current),(0,n.rD)(I.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==M.current};$.current&&!s(R.current,t)&&(R.current=t,a.flushSync(()=>{b(t)}))})},[E,t,r,j,M]);o(()=>{!1===y&&R.current.isPositioned&&(R.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[y]);let $=i.useRef(!1);o(()=>($.current=!0,()=>{$.current=!1}),[]),o(()=>{if(A&&(I.current=A),k&&(C.current=k),A&&k){if(N.current)return N.current(A,k,L);L()}},[A,k,L,N,D]);let U=i.useMemo(()=>({reference:I,floating:C,setReference:x,setFloating:P}),[x,P]),F=i.useMemo(()=>({reference:A,floating:k}),[A,k]),B=i.useMemo(()=>{let e={position:r,left:0,top:0};if(!F.floating)return e;let t=u(F.floating,v.x),n=u(F.floating,v.y);return m?{...e,transform:"translate("+t+"px, "+n+"px)",...l(F.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,m,F.floating,v.x,v.y]);return i.useMemo(()=>({...v,update:L,refs:U,elements:F,floatingStyles:B}),[v,L,U,F,B])}let f=(e,t)=>{let r=(0,n.cY)(e);return{name:r.name,fn:r.fn,options:[e,t]}},h=(e,t)=>{let r=(0,n.BN)(e);return{name:r.name,fn:r.fn,options:[e,t]}},p=(e,t)=>({fn:(0,n.ER)(e).fn,options:[e,t]}),m=(e,t)=>{let r=(0,n.UU)(e);return{name:r.name,fn:r.fn,options:[e,t]}},g=(e,t)=>{let r=(0,n.Ej)(e);return{name:r.name,fn:r.fn,options:[e,t]}},y=(e,t)=>{let r=(0,n.jD)(e);return{name:r.name,fn:r.fn,options:[e,t]}},v=(e,t)=>{let r={name:"arrow",options:e,fn(t){let{element:r,padding:i}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?(0,n.UE)({element:r.current,padding:i}).fn(t):{}:r?(0,n.UE)({element:r,padding:i}).fn(t):{}}};return{name:r.name,fn:r.fn,options:[e,t]}}},59570:(e,t)=>{"use strict";function r(){let e,t,r=new Promise((r,n)=>{e=r,t=n});return{resolve:e,reject:t,promise:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createPromiseWithResolvers",{enumerable:!0,get:function(){return r}})},60149:(e,t,r)=>{"use strict";
29Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(71388),a=o(r(66645));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(t,[{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]{2}$/)}},{key:"encode",value:function(){var e=i.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,e,"01"),text:this.text}}}]),t}(o(r(40355)).default)},60245:(e,t,r)=>{"use strict";r.d(t,{m:()=>n});var n=(0,r(74180).createContext)(null)},60379:()=>{},60577:(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},60663:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=null;if(!e||"string"!=typeof e)return r;let n=(0,i.default)(e),a="function"==typeof t;return n.forEach(e=>{if("declaration"!==e.type)return;let{property:n,value:i}=e;a?t(n,i,e):i&&((r=r||{})[n]=i)}),r};let i=n(r(84458))},60716:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version={major:4,minor:0,patch:0}},61323: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"å符",verb:"å
å«"},file:{unit:"åè",verb:"å
å«"},array:{unit:"项",verb:"å
å«"},set:{unit:"项",verb:"å
å«"}},t={regex:"è¾å
¥",email:"çµåé®ä»¶",url:"URL",emoji:"表æ
符å·",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISOæ¥ææ¶é´",date:"ISOæ¥æ",time:"ISOæ¶é´",duration:"ISOæ¶é¿",ipv4:"IPv4å°å",ipv6:"IPv6å°å",cidrv4:"IPv4ç½æ®µ",cidrv6:"IPv6ç½æ®µ",base64:"base64ç¼ç å符串",base64url:"base64urlç¼ç å符串",json_string:"JSONå符串",e164:"E.164å·ç ",jwt:"JWT",template_literal:"è¾å
¥"},r=>{switch(r.code){case"invalid_type":return`æ æè¾å
¥ï¼ææ ${r.expected}ï¼å®é
æ¥æ¶ ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"éæ°å(NaN)":"æ°å";case"object":if(Array.isArray(e))return"æ°ç»";if(null===e)return"空å¼(null)";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`æ æè¾å
¥ï¼ææ ${o.stringifyPrimitive(r.values[0])}`;return`æ æéé¡¹ï¼ææä»¥ä¸ä¹ä¸ ${o.joinValues(r.values,"|")}`;
29case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`æ°å¼è¿å¤§ï¼ææ ${r.origin??"å¼"} ${t}${r.maximum.toString()} ${n.unit??"个å
ç´ "}`;return`æ°å¼è¿å¤§ï¼ææ ${r.origin??"å¼"} ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`æ°å¼è¿å°ï¼ææ ${r.origin} ${t}${r.minimum.toString()} ${n.unit}`;return`æ°å¼è¿å°ï¼ææ ${r.origin} ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`æ æå符串ï¼å¿
须以 "${r.prefix}" å¼å¤´`;if("ends_with"===r.format)return`æ æå符串ï¼å¿
须以 "${r.suffix}" ç»å°¾`;if("includes"===r.format)return`æ æå符串ï¼å¿
é¡»å
å« "${r.includes}"`;if("regex"===r.format)return`æ æå符串ï¼å¿
须满足æ£åè¡¨è¾¾å¼ ${r.pattern}`;return`æ æ${t[r.format]??r.format}`;case"not_multiple_of":return`æ ææ°åï¼å¿
é¡»æ¯ ${r.divisor} çåæ°`;case"unrecognized_keys":return`åºç°æªç¥çé®(key): ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`${r.origin} ä¸çé®(key)æ æ`;case"invalid_union":default:return"æ æè¾å
¥";case"invalid_element":return`${r.origin} ä¸å
嫿 æå¼(value)`}})}};let o=a(r(3947))},62049:(e,t,r)=>{"use strict";r.d(t,{i:()=>s});var n,i=r(74180),a=r(89133),o=(n||(n=r.t(i,2)))[" useInsertionEffect ".trim().toString()]||a.N;function s({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[a,l,u]=function({defaultProp:e,onChange:t}){let[r,n]=i.useState(e),a=i.useRef(r),s=i.useRef(t);return o(()=>{s.current=t},[t]),i.useEffect(()=>{a.current!==r&&(s.current?.(r),a.current=r)},[r,a]),[r,n,s]}({defaultProp:t,onChange:r}),c=void 0!==e,d=c?e:a;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,n])}return[d,i.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else l(t)},[c,e,l,u])]}Symbol("RADIX:SYNC_STATE")},62212:e=>{"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},62228:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,{k:()=>m});var i=r(38203),a=r(7005),o=r(4574);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,o,s=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}
29finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}(e,t)||d(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}}function f(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}var h="2.17.2",p="https://cdn.jsdelivr.net/npm/search-insights@".concat(h,"/dist/search-insights.min.js");function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.insightsClient,r=e.insightsInitParams,s=e.onEvent,l=e.$$internal,m=void 0!==l&&l,v=e.$$automatic,b=void 0!==v&&v,E=t;t||null===t||(0,i.x)(function(e){var t=e.window,r=t.AlgoliaAnalyticsObject||"aa";"string"==typeof r&&(E=t[r]),E||(t.AlgoliaAnalyticsObject=r,t[r]||(t[r]=function(){t[r].queue||(t[r].queue=[]);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];t[r].queue.push(n)},t[r].version=h,t[r].shouldAddScript=!0),E=t[r])});var _=E||a.l;return function(e){var t,i,l=e.instantSearchInstance,h=l.middleware.filter(function(e){return"ais.insights"===e.instance.$$type&&e.instance.$$internal}).map(function(e){return e.creator});l.unuse.apply(l,function(e){if(Array.isArray(e))return f(e)}(h)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(h)||d(h)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var v=c(function(e){if(e.appId&&e.apiKey)return[e.appId,e.apiKey];if(!e.transporter)return[e.applicationID,e.apiKey];var t=e.transporter,r=t.headers||t.baseHeaders,n=t.queryParameters||t.baseQueryParameters,i="x-algolia-application-id",a="x-algolia-api-key";return[r[i]||n[i],r[a]||n[a]]}(l.client),2),E=v[0],S=v[1],w=void 0,T=void 0,O=void 0,x=_.queue;if(Array.isArray(x)){var P=["setUserToken","init"].map(function(e){var t=(0,o.I)(x.slice().reverse(),function(t){return c(t,1)[0]===e})||[];return c(t,2)[1]}),A=c(P,2);T=A[0],w=A[1]}return _("getUserToken",null,function(e,t){O=y(t)}),(r||!g(_))&&_("init",u({appId:E,apiKey:S,partial:!0},r)),{$$type:"ais.insights",$$internal:m,$$automatic:b,onStateChange:function(){},subscribe:function(){if(_.shouldAddScript){var e="[insights middleware]: could not load search-insights.js. Please load it manually following https://alg.li/insights-init";try{var t=document.createElement("script");t.async=!0,t.src=p,t.onerror=function(){l.emit("error",Error(e))},document.body.appendChild(t),_.shouldAddScript=!1}catch(t){_.shouldAddScript=!1,l.emit("error",Error(e))}}},started:function(){_("addAlgoliaAgent","insights-middleware"),i=l.mainHelper;var e,a,d,f,h,p,v,x,P,A,k,I,C,R=_.queue;if(Array.isArray(R)){var D=["setUserToken","init"].map(function(e){var t=(0,o.I)(R.slice().reverse(),function(t){return c(t,1)[0]===e})||[];return c(t,2)[1]}),N=c(D,2);T=N[0],w=N[1]}f=(null==(a=(e=l)._initialResults)||null==(d=a[e.indexName])?void 0:d.state)||{},h=e.mainHelper.state,t={userToken:f.userToken||h.userToken,clickAnalytics:f.clickAnalytics||h.clickAnalytics},b||i.overrideStateWithoutTriggeringChangeEvent(u(u({},i.state),{},{clickAnalytics:!0})),m||l.scheduleSearch();var j=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=y(e);if(r){var n=i.state.userToken;t?a():setTimeout(a,0)}function a(){i.overrideStateWithoutTriggeringChangeEvent(u(u({},i.state),{},{userToken:r})),n&&n!==e&&l.scheduleSearch()}};function M(e){j(e,!0),_("setUserToken",e)}var L=void 0,$=function(){if(("u"<typeof document?"undefined":n(document))==="object"&&"string"==typeof document.cookie)for(var e="".concat("_ALGOLIA","="),t=document.cookie.split(";"),r=0;r<t.length;r++){for(var i=t[r];" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(e))return i.substring(e.length,i.length)}}();L=$||"anonymous-".concat("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}));var U=t.userToken;null!=r&&r.userToken&&(A=r.userToken),A?M(A):U?M(U):O?M(O):T?M(T):L&&(M(L),(null!=r&&r.useCookie||null!=(k=w)&&k.useCookie)&&(p=L,v=(null==r?void 0:r.cookieDuration)||(null==(I=w)?void 0:I.cookieDuration),(x=new Date).setTime(x.getTime()+(v||15552e6)),P="expires=".concat(x.toUTCString()),document.cookie="_ALGOLIA=".concat(p,";").concat(P,";path=/"))),_("onUserTokenChange",function(e){return j(e,!0)},{immediate:!0});var F=_;g(_)&&(F=function(e,t){return _(e,t,{headers:{"X-Algolia-Application-Id":E,"X-Algolia-API-Key":S}})});var B=new Set;l.mainHelper.derivedHelpers[0].on("result",function(e){var t=e.results;t&&(!t.queryID||t.queryID!==C)&&(C=t.queryID,B.clear())}),l.sendEventToInsights=function(e){if(s)s(e,F);else if(e.insightsMethod){if("viewedObjectIDs"===e.insightsMethod){var t=e.payload,r=t.objectIDs.filter(function(e){return!B.has(e)});if(0===r.length)return;r.forEach(function(e){return B.add(e)}),t.objectIDs=r}e.payload.algoliaSource=["instantsearch"],b&&e.payload.algoliaSource.pu
29sh("instantsearch-automatic"),"internal"===e.eventModifier&&e.payload.algoliaSource.push("instantsearch-internal"),F(e.insightsMethod,e.payload)}}},unsubscribe:function(){_("onUserTokenChange",void 0),l.sendEventToInsights=a.l,i&&t&&(i.overrideStateWithoutTriggeringChangeEvent(u(u({},i.state),t)),l.scheduleSearch())}}}}function g(e){var t=c((e.version||"").split(".").map(Number),2),r=t[0],n=t[1];return r>=3||2===r&&n>=6||1===r&&n>=10}function y(e){if(e)return"number"==typeof e?e.toString():e}},62631: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"åå
",verb:"ææ"},file:{unit:"ä½å
çµ",verb:"ææ"},array:{unit:"é
ç®",verb:"ææ"},set:{unit:"é
ç®",verb:"ææ"}},t={regex:"輸å
¥",email:"éµä»¶å°å",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO æ¥ææé",date:"ISO æ¥æ",time:"ISO æé",duration:"ISO æé",ipv4:"IPv4 ä½å",ipv6:"IPv6 ä½å",cidrv4:"IPv4 ç¯å",cidrv6:"IPv6 ç¯å",base64:"base64 編碼å串",base64url:"base64url 編碼å串",json_string:"JSON å串",e164:"E.164 æ¸å¼",jwt:"JWT",template_literal:"輸å
¥"},r=>{switch(r.code){case"invalid_type":return`ç¡æç輸å
¥å¼ï¼é æçº ${r.expected}ï¼ä½æ¶å° ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`ç¡æç輸å
¥å¼ï¼é æçº ${o.stringifyPrimitive(r.values[0])}`;return`ç¡æçé¸é
ï¼é æçºä»¥ä¸å
¶ä¸ä¹ä¸ ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`æ¸å¼é大ï¼é æ ${r.origin??"å¼"} æçº ${t}${r.maximum.toString()} ${n.unit??"åå
ç´ "}`;return`æ¸å¼é大ï¼é æ ${r.origin??"å¼"} æçº ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`æ¸å¼éå°ï¼é æ ${r.origin} æçº ${t}${r.minimum.toString()} ${n.unit}`;return`æ¸å¼éå°ï¼é æ ${r.origin} æçº ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ç¡æçå串ï¼å¿
é 以 "${r.prefix}" éé `;if("ends_with"===r.format)return`ç¡æçå串ï¼å¿
é 以 "${r.suffix}" çµå°¾`;if("includes"===r.format)return`ç¡æçå串ï¼å¿
é å
å« "${r.includes}"`;if("regex"===r.format)return`ç¡æçå串ï¼å¿
é ç¬¦åæ ¼å¼ ${r.pattern}`;return`ç¡æç ${t[r.format]??r.format}`;case"not_multiple_of":return`ç¡æçæ¸åï¼å¿
é çº ${r.divisor} ç忏`;case"unrecognized_keys":return`ç¡æ³èå¥çéµå¼${r.keys.length>1?"å":""}ï¼${o.joinValues(r.keys,"ã")}`;case"invalid_key":return`${r.origin} ä¸æç¡æçéµå¼`;case"invalid_union":default:return"ç¡æç輸å
¥å¼";case"invalid_element":return`${r.origin} ä¸æç¡æçå¼`}})}};let o=a(r(3947))},62869:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=(n=r(58024))&&n.__esModule?n:{default:n},a=r(99955);t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e+(0,a.mod10)(e),r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),t}(i.default)},63642: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);
29(!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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"caract\xe8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xe9l\xe9ments",verb:"avoir"},set:{unit:"\xe9l\xe9ments",verb:"avoir"}},t={regex:"entr\xe9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xe9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xeene encod\xe9e en base64",base64url:"cha\xeene encod\xe9e en base64url",json_string:"cha\xeene JSON",e164:"num\xe9ro E.164",jwt:"JWT",template_literal:"entr\xe9e"},r=>{switch(r.code){case"invalid_type":return`Entr\xe9e invalide : attendu ${r.expected}, re\xe7u ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Entr\xe9e invalide : attendu ${o.stringifyPrimitive(r.values[0])}`;
29return`Option invalide : attendu l'une des valeurs suivantes ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"â¤":"<",n=e[r.origin]??null;if(n)return`Trop grand : attendu que ${r.origin??"la valeur"} ait ${t}${r.maximum.toString()} ${n.unit}`;return`Trop grand : attendu que ${r.origin??"la valeur"} soit ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?"â¥":">",n=e[r.origin]??null;if(n)return`Trop petit : attendu que ${r.origin} ait ${t}${r.minimum.toString()} ${n.unit}`;return`Trop petit : attendu que ${r.origin} soit ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Cha\xeene invalide : doit commencer par "${r.prefix}"`;if("ends_with"===r.format)return`Cha\xeene invalide : doit se terminer par "${r.suffix}"`;if("includes"===r.format)return`Cha\xeene invalide : doit inclure "${r.includes}"`;if("regex"===r.format)return`Cha\xeene invalide : doit correspondre au motif ${r.pattern}`;return`${t[r.format]??r.format} invalide`;case"not_multiple_of":return`Nombre invalide : doit \xeatre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xe9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Cl\xe9 invalide dans ${r.origin}`;case"invalid_union":default:return"Entr\xe9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`}})}};let o=a(r(3947))},63736:(e,t)=>{"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},63738:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},63996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=(n=r(36717))&&n.__esModule?n:{default:n},o=r(65985);t.default=function(){function e(t,r,n){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.canvas=t,this.encodings=r,this.options=n}return i(e,[{key:"render",value:function(){if(!this.canvas.getContext)throw Error("The browser does not support canvas.");this.prepareCanvas();for(var e=0;e<this.encodings.length;e++){var t=(0,a.default)(this.options,this.encodings[e].options);this.drawCanvasBarcode(t,this.encodings[e]),this.drawCanvasText(t,this.encodings[e]),this.moveCanvasDrawing(this.encodings[e])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var e=this.canvas.getContext("2d");e.save(),(0,o.calculateEncodingAttributes)(this.encodings,this.options,e);var t=(0,o.getTotalWidthOfEncodings)(this.encodings),r=(0,o.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=t+this.options.marginLeft+this.options.marginRight,this.canvas.height=r,e.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(e.fillStyle=this.options.background,e.fillRect(0,0,this.canvas.width,this.canvas.height)),e.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(e,t){var r,n=this.canvas.getContext("2d"),i=t.data;r="top"==e.textPosition?e.marginTop+e.fontSize+e.textMargin:e.marginTop,n.fillStyle=e.lineColor;for(var a=0;a<i.length;a++){var o=a*e.width+t.barcodePadding;"1"===i[a]?n.fillRect(o,r,e.width,e.height):i[a]&&n.fillRect(o,r,e.width,e.height*i[a])}}},{key:"drawCanvasText",value:function(e,t){var r,n,i=this.canvas.getContext("2d"),a=e.fontOptions+" "+e.fontSize+"px "+e.font;e.displayValue&&(n="top"==e.textPosition?e.marginTop+e.fontSize-e.textMargin:e.height+e.textMargin+e.marginTop+e.fontSize,i.font=a,"left"==e.textAlign||t.barcodePadding>0?(r=0,i.textAlign="left"):"right"==e.textAlign?(r=t.width-1,i.textAlign="right"):(r=t.width/2,i.textAlign="center"),i.fillText(t.text,r,n))}},{key:"moveCanvasDrawing",value:function(e){this.canvas.getContext("2d").translate(e.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore(
29)}}]),e}()},64162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=s(r(66645)),a=s(r(40355)),o=r(40443);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var u=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],c=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]];function d(e,t){for(var r=u[parseInt(e[e.length-1])],n="",i=0,a=0;a<r.length;a++){var s=r[a];"X"===s?n+=e[i++]:n+=s}return(n=""+t+n)+(0,o.checksum)(n)}t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));if(n.isValid=!1,-1!==e.search(/^[0-9]{6}$/))n.middleDigits=e,n.upcA=d(e,"0"),n.text=r.text||""+n.upcA[0]+e+n.upcA[n.upcA.length-1],n.isValid=!0;else{if(-1===e.search(/^[01][0-9]{7}$/)||(n.middleDigits=e.substring(1,e.length-1),n.upcA=d(n.middleDigits,e[0]),n.upcA[n.upcA.length-1]!==e[e.length-1]))return l(n);n.isValid=!0}return n.displayValue=r.displayValue,r.fontSize>10*r.width?n.fontSize=10*r.width:n.fontSize=r.fontSize,n.guardHeight=r.height+n.fontSize/2+r.textMargin,n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(t,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var e="";return e+="101",e+=this.encodeMiddleDigits(),{data:e+="010101",text:this.text}}},{key:"guardedEncoding",value:function(){var e=[];return this.displayValue&&e.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),e.push({data:"101",options:{height:this.guardHeight}}),e.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),e.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&e.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),e}},{key:"encodeMiddleDigits",value:function(){var e=this.upcA[0],t=c[parseInt(this.upcA[this.upcA.length-1])][parseInt(e)];return(0,i.default)(this.middleDigits,t)}}]),t}(a.default)},64194:(e,t,r)=>{"use strict";var n=r(62212),i=r(8183),a=r(4116),o=r(65320),s=r(11716),l=r(5800),u=r(73192),c=a.escapeFacetValue,d=a.unescapeFacetValue,f=r(49040);function h(e){var t={};return e.forEach(function(e,r){t[e]=r}),t}function p(e,t,r){t&&t[r]&&(e.stats=t[r])}function m(e,t,r){var a=t[0]||{};this._rawResults=t;var l=this;Object.keys(a).forEach(function(e){l[e]=a[e]});var u=i(r,{persistHierarchicalRootCount:!1});Object.keys(u).forEach(function(e){l[e]=u[e]}),this.processingTimeMS=t.reduce(function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS},0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map(function(){return[]}),this.facets=[];var c=e.getRefinedDisjunctiveFacets(),m=h(e.facets),g=h(e.disjunctiveFacets),y=1,v=a.facets||{};Object.keys(v).forEach(function(t){var r=v[t],n=(c=e.hierarchicalFacets,o(c,function(e){return(e.attributes||[]).indexOf(t)>-1}));if(n){var i=n.attributes.indexOf(t),u=s(e.hierarchicalFacets,function(e){return e.name===n.name});l.hierarchicalFacets[u][i]={attribute:t,data:r,exhaustive:a.exhaustiveFacetsCount}}else{var c,d,f=-1!==e.disjunctiveFacets.indexOf(t),h=-1!==e.facets.indexOf(t);f&&(d=g[t],l.disjunctiveFacets[d]={name:t,data:r,exhaustive:a.exhaustiveFacetsCount},p(l.disjunctiveFacets[d],a.facets_stats,t)),h&&(d=m[t],l.facets[d]={name:t,data:r,exhaustive:a.exhaustiveFacetsCount},p(l.facets[d],a.facets_stats,t))}}
29),this.hierarchicalFacets=n(this.hierarchicalFacets),c.forEach(function(r){var n=t[y],o=n&&n.facets?n.facets:{},u=e.getHierarchicalFacetByName(r);Object.keys(o).forEach(function(t){var r,c=o[t];if(u){r=s(e.hierarchicalFacets,function(e){return e.name===u.name});var f=s(l.hierarchicalFacets[r],function(e){return e.attribute===t});if(-1===f)return;l.hierarchicalFacets[r][f].data=l.persistHierarchicalRootCount?i(l.hierarchicalFacets[r][f].data,c):i(c,l.hierarchicalFacets[r][f].data)}else{r=g[t];var h=a.facets&&a.facets[t]||{};l.disjunctiveFacets[r]={name:t,data:i(h,c),exhaustive:n.exhaustiveFacetsCount},p(l.disjunctiveFacets[r],n.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach(function(n){!l.disjunctiveFacets[r].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(d(n))>-1&&(l.disjunctiveFacets[r].data[n]=0)})}}),y++}),e.getRefinedHierarchicalFacets().forEach(function(r){var n=e.getHierarchicalFacetByName(r),a=e._getHierarchicalFacetSeparator(n),o=e.getHierarchicalRefinement(r);0===o.length||o[0].split(a).length<2||t.slice(y).forEach(function(t){var r=t&&t.facets?t.facets:{};Object.keys(r).forEach(function(t){var u=r[t],c=s(e.hierarchicalFacets,function(e){return e.name===n.name}),d=s(l.hierarchicalFacets[c],function(e){return e.attribute===t});if(-1!==d){var f={};if(o.length>0&&!l.persistHierarchicalRootCount){var h=o[0].split(a)[0];f[h]=l.hierarchicalFacets[c][d].data[h]}l.hierarchicalFacets[c][d].data=i(f,u,l.hierarchicalFacets[c][d].data)}}),y++})}),Object.keys(e.facetsExcludes).forEach(function(t){var r=e.facetsExcludes[t],n=m[t];l.facets[n]={name:t,data:v[t],exhaustive:a.exhaustiveFacetsCount},r.forEach(function(e){l.facets[n]=l.facets[n]||{name:t},l.facets[n].data=l.facets[n].data||{},l.facets[n].data[e]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(f(e)),this.facets=n(this.facets),this.disjunctiveFacets=n(this.disjunctiveFacets),this._state=e}function g(e,t){var r=o(e,function(e){return e.name===t});return r&&r.stats}function y(e,t,r,n,i){var a=o(i,function(e){return e.name===r}),s=a&&a.data&&a.data[n]?a.data[n]:0;return{type:t,attributeName:r,name:n,count:s,exhaustive:a&&a.exhaustive||!1}}m.prototype.getFacetByName=function(e){function t(t){return t.name===e}return o(this.facets,t)||o(this.disjunctiveFacets,t)||o(this.hierarchicalFacets,t)},m.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],m.prototype.getFacetValues=function(e,t){var r,n=function(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var n=o(e.facets,r);return n?Object.keys(n.data).map(function(r){var i=c(r);return{name:r,escapedValue:i,count:n.data[r],isRefined:e._state.isFacetRefined(t,i),isExcluded:e._state.isExcludeRefined(t,r)}}):[]}if(e._state.isDisjunctiveFacet(t)){var i=o(e.disjunctiveFacets,r);return i?Object.keys(i.data).map(function(r){var n=c(r);return{name:r,escapedValue:n,count:i.data[r],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}}):[]}if(e._state.isHierarchicalFacet(t)){var a=o(e.hierarchicalFacets,r);if(!a)return a;var s=e._state.getHierarchicalFacetByName(t),l=e._state._getHierarchicalFacetSeparator(s),u=d(e._state.getHierarchicalRefinement(t)[0]||"");0===u.indexOf(s.rootPath)&&(u=u.replace(s.rootPath+l,""));var f=u.split(l);return f.unshift(t),function e(t,r,n){t.isRefined=t.name===(r[n]&&r[n].trim()),t.data&&t.data.forEach(function(t){e(t,r,n+1)})}(a,f,0),a}}(this,e);if(n){var a=i(t,{sortBy:m.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),s=this;return r=Array.isArray(n)?[e]:s._state.getHierarchicalFacetByName(n.name).attributes,function e(t,r,n,a){if(a=a||0,Array.isArray(r))return t(r,n[a]);if(!r.data||0===r.data.length)return r;var o=r.data.map(function(r){return e(t,r,n,a+1)});return i({data:t(o,n[a])},r)}(function(e,t){if(a.facetOrdering){var r,n,i,o,c,d,f,h=s.renderingContent&&s.renderingContent.facetOrdering&&s.renderingContent.facetOrdering.values&&s.renderingContent.facetOrdering.values[t];if(h)return i=[],o=[],c=h.hide||[],d=(h.order||[]).reduce(function(e,t,r){return e[t]=r,e},{}),e.forEach(function(e){var t=e.path||e.name,r=c.indexOf(t)>-1;r||void 0===d[t]?r||o.push(e):i[d[t]]=e}),i=i.filter(function(e){return e}),"hidden"===(f=h.sortRemainingBy)?i:(n="alpha"===f?[["path","name"],["asc","asc"]]:[["count"],["desc"]],i.concat(u(o,n[0],n[1])))}if(Array.isArray(a.sortBy)){var p=l(a.sortBy,m.DEFAULT_SORT);return u(e,p[0],p[1])}if("function"==typeof a.sortBy)return r=a.sortBy,e.sort(r);throw Error("options.sortBy is optional but if defined it must be either an array of str
29ing (predicates) or a sorting function")},n,r)}},m.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?g(this.facets,e):this._state.isDisjunctiveFacet(e)?g(this.disjunctiveFacets,e):void 0},m.prototype.getRefinements=function(){var e=this._state,t=this,r=[];return Object.keys(e.facetsRefinements).forEach(function(n){e.facetsRefinements[n].forEach(function(i){r.push(y(e,"facet",n,i,t.facets))})}),Object.keys(e.facetsExcludes).forEach(function(n){e.facetsExcludes[n].forEach(function(i){r.push(y(e,"exclude",n,i,t.facets))})}),Object.keys(e.disjunctiveFacetsRefinements).forEach(function(n){e.disjunctiveFacetsRefinements[n].forEach(function(i){r.push(y(e,"disjunctive",n,i,t.disjunctiveFacets))})}),Object.keys(e.hierarchicalFacetsRefinements).forEach(function(n){e.hierarchicalFacetsRefinements[n].forEach(function(i){var a,s,l,u,c,d,f,h,p,m,g;r.push((a=e,s=n,l=i,u=t.hierarchicalFacets,c=a.getHierarchicalFacetByName(s),d=a._getHierarchicalFacetSeparator(c),f=l.split(d),h=o(u,function(e){return e.name===s}),m=(p=f.reduce(function(e,t){var r=e&&o(e.data,function(e){return e.name===t});return void 0!==r?r:e},h))&&p.count||0,g=p&&p.exhaustive||!1,{type:"hierarchical",attributeName:s,name:p&&p.path||"",count:m,exhaustive:g}))})}),Object.keys(e.numericRefinements).forEach(function(t){var n=e.numericRefinements[t];Object.keys(n).forEach(function(e){n[e].forEach(function(n){r.push({type:"numeric",attributeName:t,name:n,numericValue:n,operator:e})})})}),e.tagRefinements.forEach(function(e){r.push({type:"tag",attributeName:"_tags",name:e})}),r},e.exports=m},64419: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.$ZodFunction=void 0,t.function=function(e){return new c({type:"function",input:Array.isArray(e?.input)?(0,o._tuple)(l.$ZodTuple,e?.input):e?.input??(0,o._array)(l.$ZodArray,(0,o._unknown)(l.$ZodUnknown)),output:e?.output??(0,o._unknown)(l.$ZodUnknown)})};let o=r(48843),s=r(77998),l=a(r(50767)),u=r(50767);class c{constructor(e){this._def=e,this.def=e}implement(e){if("function"!=typeof e)throw Error("implement() must be called with a function");let t=(...r)=>{let n=this._def.input?(0,s.parse)(this._def.input,r,void 0,{callee:t}):r;if(!Array.isArray(n))throw Error("Invalid arguments schema: not an array or tuple schema.");let i=e(...n);return this._def.output?(0,s.parse)(this._def.output,i,void 0,{callee:t}):i};return t}implementAsync(e){if("function"!=typeof e)throw Error("implement() must be called with a function");let t=async(...r)=>{let n=this._def.input?await (0,s.parseAsync)(this._def.input,r,void 0,{callee:t}):r;if(!Array.isArray(n))throw Error("Invalid arguments schema: not an array or tuple schema.");let i=await e(...n);return this._def.output?(0,s.parseAsync)(this._def.output,i,void 0,{callee:t}):i};return t}input(...e){let t=this.constructor;return new t(Array.isArray(e[0])?{type:"function",input:new u.$ZodTuple({type:"tuple",items:e[0],rest:e[1]}),output:this._def.output}:{type:"function",input:e[0],output:this._def.output})}output(e){return new this.constructor({type:"function",input:this._def.input,output:e})}}t.$ZodFunction=c},64430:(e,t,r)=>{var n=r(50764),i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=o.call(e);return n&&(t?e[s]=r:delete e[s]),i}},64848:(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(93443)),i=m(r(66016)),a=m(r(96963)),o=m(r(45082)),s=m(r(51352)),l=m(r(86285)),u=m(r(37591)),c=m(r(53085)),d=m(r(96052)),f=m(r(89936)),h=m(r(69243)),p=m(r(51202));
29function 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 a.default(e)},t.comment=function(e){return new o.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 h.default(e)},t.universal=function(e){return new p.default(e)}},65223:(e,t,r)=>{"use strict";r.d(t,{V:()=>h});var n=r(43573),i=r(7005),a=r(91577);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var u=(0,n.V)({name:"search-box",connector:!0}),c=function(e,t){return t(e)};let d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.l;return(0,a.t)(e,u()),function(r){var n,i,a=(r||{}).queryHook,o=void 0===a?c:a;return{$$type:"ais.searchBox",init:function(t){var r=t.instantSearchInstance;e(l(l({},this.getWidgetRenderState(t)),{},{instantSearchInstance:r}),!0)},render:function(t){var r=t.instantSearchInstance;e(l(l({},this.getWidgetRenderState(t)),{},{instantSearchInstance:r}),!1)},dispose:function(e){var r=e.state;return t(),r.setQueryParameter("query",void 0)},getRenderState:function(e,t){return l(l({},e),{},{searchBox:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t=e.helper,a=e.instantSearchInstance,s=e.state;return n||(n=function(e){o(e,function(e){return t.setQuery(e).search()})},i=function(){t.setQuery("").search()}),{query:s.query||"",refine:n,clear:i,widgetParams:r,isSearchStalled:"stalled"===a.status}},getWidgetUiState:function(e,t){var r=t.searchParameters.query||"";return""===r||e&&e.query===r?e:l(l({},e),{},{query:r})},getWidgetSearchParameters:function(e,t){var r=t.uiState;return e.setQueryParameter("query",r.query||"")}}}};var f=r(80488);function h(e,t){return(0,f.Z)(d,e,t)}},65320:e=>{"use strict";e.exports=function(e,t){if(Array.isArray(e)){for(var r=0;r<e.length;r++)if(t(e[r]))return e[r]}}},65491:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(26665).createAsyncLocalStorage)()},65674:()=>{},65810:(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},65985:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTotalWidthOfEncodings=t.calculateEncodingAttributes=t.getBarcodePadding=t.getEncodingHeight=t.getMaximumHeightOfEncodings=void 0;var n,i=(n=r(36717))&&n.__esModule?n:{default:n};function a(e,t){return t.height+(t.displayValue&&e.text.length>0?t.fontSize+t.textMargin:0)+t.marginTop+t.marginBottom}function o(e,t,r){if(r.displayValue&&t<e){if("center"==r.textAlign)return Math.floor((e-t)/2);else if("left"==r.textAlign);else if("right"==r.textAlign)return Math.floor(e-t)}return 0}t.getMaximumHeightOfEncodings=function(e){for(var t=0,r=0;r<e.length;r++)e[r].height>t&&(t=e[r].height);return t},t.getEncodingHeight=a,t.getBarcodePadding=o,t.calculateEncodingAttributes=function(e,t,r){for(var n=0;n<e.length;n++){var s,l=e[n],u=(0,i.default)(t,l.options);s=u.displayValue?function(e,t,r){if(r)n=r;else{if(!("u">typeof document))return 0;n=document.createElement("canvas").getContext("2d")}n.font=t.fontOptions+" "+t.fontSize+"px "+t.font;var n,i=n.measureText(e);return i?i.width:0}(l.text,u,r):0;var c=l.data.length*u.width;l.width=Math.ceil(Math.max(s,c)),l.height=a(l,u),l.barcodePadding=o(s,c,u)}},t.getTotalWidthOfEncodings=function(e){for(var t=0,r=0;r<e.length;r++)t+=e[r].width;return t}},66016:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=s(r(7671)),i=r(97913),a=s(r(51401)),o=r(59110);
29function 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)}t.default=function(e){var t;function r(t){var r;return(r=e.call(this,t)||this).type=o.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}(a.default),e.exports=t.default},66645:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(71388);t.default=function(e,t,r){var i=e.split("").map(function(e,r){return n.BINARIES[t[r]]}).map(function(t,r){return t?t[e[r]]:""});if(r){var a=e.length-1;i=i.map(function(e,t){return t<a?e+r:e})}return i.join("")}},66850:(e,t,r)=>{"use strict";r.d(t,{qy:()=>y,JW:()=>v});class n{constructor(e,t,r){this.normal=t,this.property=e,r&&(this.space=r)}}function i(e,t){let r={},i={};for(let t of e)Object.assign(r,t.property),Object.assign(i,t.normal);return new n(r,i,t)}n.prototype.normal={},n.prototype.property={},n.prototype.space=void 0;var a=r(34198),o=r(48872);function s(e){let t={},r={};for(let[n,i]of Object.entries(e.properties)){let s=new o.E(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(s.mustUseProperty=!0),t[n]=s,r[(0,a.S)(n)]=n,r[(0,a.S)(s.attribute)]=n}return new n(t,r,e.space)}var l=r(54589);let u=s({properties:{ariaActiveDescendant:null,ariaAtomic:l.booleanish,ariaAutoComplete:null,ariaBusy:l.booleanish,ariaChecked:l.booleanish,ariaColCount:l.number,ariaColIndex:l.number,ariaColSpan:l.number,ariaControls:l.spaceSeparated,ariaCurrent:null,ariaDescribedBy:l.spaceSeparated,ariaDetails:null,ariaDisabled:l.booleanish,ariaDropEffect:l.spaceSeparated,ariaErrorMessage:null,ariaExpanded:l.booleanish,ariaFlowTo:l.spaceSeparated,ariaGrabbed:l.booleanish,ariaHasPopup:null,ariaHidden:l.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l.spaceSeparated,ariaLevel:l.number,ariaLive:null,ariaModal:l.booleanish,ariaMultiLine:l.booleanish,ariaMultiSelectable:l.booleanish,ariaOrientation:null,ariaOwns:l.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:l.number,ariaPressed:l.booleanish,ariaReadOnly:l.booleanish,ariaRelevant:null,ariaRequired:l.booleanish,ariaRoleDescription:l.spaceSeparated,ariaRowCount:l.number,ariaRowIndex:l.number,ariaRowSpan:l.number,ariaSelected:l.booleanish,ariaSetSize:l.number,ariaSort:null,ariaValueMax:l.number,ariaValueMin:l.number,ariaValueNow:l.number,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function c(e,t){return t in e?e[t]:t}function d(e,t){return c(e,t.toLowerCase())}let f=s({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:l.commaSeparated,acceptCharset:l.spaceSeparated,accessKey:l.spaceSeparated,action:null,allow:null,allowFullScreen:l.boolean,allowPaymentRequest:l.boolean,allowUserMedia:l.boolean,alpha:l.boolean,alt:null,as:null,async:l.boolean,autoCapitalize:null,autoComplete:l.spaceSeparated,autoFocus:l.boolean,autoPlay:l.boolean,blocking:l.spaceSeparated,capture:null,charSet:null,checked:l.boolean,cite:null,className:l.spaceSeparated,closedBy:null,colorSpace:null,cols:l.number,colSpan:l.number,command:null,commandFor:null,content:null,contentEditable:l.booleanish,controls:l.boolean,controlsList:l.spaceSeparated,coords:l.number|l.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:l.boolean,defer:l.boolean,dir:null,dirName:null,disabled:l.boolean,download:l.overloadedBoolean,draggable:l.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:l.boolean,formTarget:null,headers:l.spaceSeparated,height:l.number,hidden:l.overloadedBoolean,high:l.number,href:null,hrefLang:null,htmlFor:l.spaceSeparated,httpEquiv:l.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:l.boolean,inputMode:null,integrity:null,is:null,isMap:l.boolean,itemId:null,itemProp:l.spaceSeparated,itemRef:l.spaceSeparated,itemScope:l.boolean,itemType:l.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:l.boolean,low:l.number,manifest:null,max:null,maxLength:l.number,media:null,method:null,min:null,minLength:l.number,multiple:l.boolean,muted:l.boolean,name:null,nonce:null,noModule:l.boolean,noValidate:l.boolean,onAbort:null,onAfterPrint:null,onAuxCl
29ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:l.boolean,optimum:l.number,pattern:null,ping:l.spaceSeparated,placeholder:null,playsInline:l.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:l.boolean,referrerPolicy:null,rel:l.spaceSeparated,required:l.boolean,reversed:l.boolean,rows:l.number,rowSpan:l.number,sandbox:l.spaceSeparated,scope:null,scoped:l.boolean,seamless:l.boolean,selected:l.boolean,shadowRootClonable:l.boolean,shadowRootCustomElementRegistry:l.boolean,shadowRootDelegatesFocus:l.boolean,shadowRootMode:null,shadowRootSerializable:l.boolean,shape:null,size:l.number,sizes:null,slot:null,span:l.number,spellCheck:l.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:l.number,step:null,style:null,tabIndex:l.number,target:null,title:null,translate:null,type:null,typeMustMatch:l.boolean,useMap:null,value:l.booleanish,width:l.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:l.spaceSeparated,axis:null,background:null,bgColor:null,border:l.number,borderColor:null,bottomMargin:l.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:l.boolean,declare:l.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:l.number,leftMargin:l.number,link:null,longDesc:null,lowSrc:null,marginHeight:l.number,marginWidth:l.number,noResize:l.boolean,noHref:l.boolean,noShade:l.boolean,noWrap:l.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:l.number,rules:null,scheme:null,scrolling:l.booleanish,standby:null,summary:null,text:null,topMargin:l.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l.number,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:l.boolean,disablePictureInPicture:l.boolean,disableRemotePlayback:l.boolean,exportParts:l.commaSeparated,part:l.spaceSeparated,prefix:null,property:null,results:l.number,security:null,unselectable:null},space:"html",transform:d}),h=s({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav
29-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:l.commaOrSpaceSeparated,accentHeight:l.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:l.number,amplitude:l.number,arabicForm:null,ascent:l.number,attributeName:null,attributeType:null,azimuth:l.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:l.number,by:null,calcMode:null,capHeight:l.number,className:l.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:l.number,diffuseConstant:l.number,direction:null,display:null,dur:null,divisor:l.number,dominantBaseline:null,download:l.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:l.number,enableBackgroun
29d:null,end:null,event:null,exponent:l.number,externalResourcesRequired:null,fill:null,fillOpacity:l.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:l.commaSeparated,g2:l.commaSeparated,glyphName:l.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:l.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:l.number,horizOriginX:l.number,horizOriginY:l.number,id:null,ideographic:l.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:l.number,k:l.number,k1:l.number,k2:l.number,k3:l.number,k4:l.number,kernelMatrix:l.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:l.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:l.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:l.number,overlineThickness:l.number,paintOrder:null,panose1:null,path:null,pathLength:l.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:l.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:l.number,pointsAtY:l.number,pointsAtZ:l.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:l.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:l.commaOrSpaceSeparated,rev:l.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:l.commaOrSpaceSeparated,requiredFeatures:l.commaOrSpaceSeparated,requiredFonts:l.commaOrSpaceSeparated,requiredFormats:l.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:l.number,specularExponent:l.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:l.number,strikethroughThickness:l.number,string:null,stroke:null,strokeDashArray:l.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:l.number,strokeOpacity:l.number,strokeWidth:null,style:null,surfaceScale:l.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:l.commaOrSpaceSeparated,tabIndex:l.number,tableValues:null,target:null,targetX:l.number,targetY:l.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:l.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:l.number,underlineThickness:l.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:l.number,values:null,vAlphabetic:l.number,vMathematical:l.number,vectorEffect:null,vHanging:l.number,vIdeographic:l.number,version:null,vertAdvY:l.number,vertOriginX:l.number,vertOriginY:l.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:l.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:c}),p=s({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>
29"xlink:"+t.slice(5).toLowerCase()}),m=s({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:d}),g=s({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),y=i([u,f,p,m,g],"html"),v=i([u,h,p,m,g],"svg")},67035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=(n=r(53436))&&n.__esModule?n:{default:n},o=r(43171);t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,o.A_START_CHAR+e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"valid",value:function(){return RegExp("^"+o.A_CHARS+"+$").test(this.data)}}]),t}(a.default)},67349:(e,t)=>
29{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},67755:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MSI1110=t.MSI1010=t.MSI11=t.MSI10=t.MSI=void 0;var n=l(r(58024)),i=l(r(62869)),a=l(r(34618)),o=l(r(32432)),s=l(r(11247));function l(e){return e&&e.__esModule?e:{default:e}}t.MSI=n.default,t.MSI10=i.default,t.MSI11=a.default,t.MSI1010=o.default,t.MSI1110=s.default},67953:(e,t,r)=>{"use strict";function n(e){if(e)throw e}r.d(t,{l:()=>d});var i=r(74283),a=r(13735);function o(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var s=r(38240);let l=function(e){let t=this.constructor.prototype,r=t[e],n=function(){return r.apply(n,arguments)};return Object.setPrototypeOf(n,t),n},u={}.hasOwnProperty;class c extends l{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let r=-1,n=t.pop();if("function"!=typeof n)throw TypeError("Expected function as last argument, not "+n);!function i(a,...o){let s=e[++r],l=-1;if(a)return void n(a);for(;++l<t.length;)(null===o[l]||void 0===o[l])&&(o[l]=t[l]);t=o,s?(function(e,t){let r;return function(...t){let a,o=e.length>t.length;o&&t.push(n);try{a=e.apply(this,t)}catch(e){if(o&&r)throw e;return n(e)}o||(a&&a.then&&"function"==typeof a.then?a.then(i,n):a instanceof Error?n(a):i(a))};function n(e,...i){r||(r=!0,t(e,...i))}function i(e){n(null,e)}})(s,i)(...o):n(null,...o)}(null,...t)},use:function(r){if("function"!=typeof r)throw TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}()}copy(){let e=new c,t=-1;for(;++t<this.attachers.length;){let r=this.attachers[t];e.use(...r)}return e.data(i(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(p("data",this.frozen),this.namespace[e]=t,this):u.call(this.namespace,e)&&this.namespace[e]||void 0:e?(p("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let r=e.call(this,...t);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=y(e),r=this.parser||this.Parser;return f("parse",r),r(String(t),t)}process(e,t){let r=this;return this.freeze(),f("process",this.parser||this.Parser),h("process",this.compiler||this.Compiler),t?n(void 0,t):new Promise(n);function n(n,i){let o=y(e),s=r.parse(o);function l(e,r){e||!r?i(e):n?n(r):((0,a.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,r))}r.run(s,o,function(e,t,n){var i,a;if(e||!t||!n)return l(e);let o=r.stringify(t,n);"string"==typeof(i=o)||(a=i)&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a?n.value=o:n.result=o,l(e,n)})}}processSync(e){let t,r=!1;return this.freeze(),f("processSync",this.parser||this.Parser),h("processSync",this.compiler||this.Compiler),this.process(e,function(e,i){r=!0,n(e),t=i}),g("processSync","process",r),(0,a.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,r){m(e),this.freeze();let n=this.transformers;return r||"function"!=typeof t||(r=t,t=void 0),r?i(void 0,r):new Promise(i);function i(i,o){(0,a.ok)("function"!=typeof t,"`file` canât be a `done` anymore, we checked");let s=y(t);n.run(e,s,function(t,n,s){let l=n||e;t?o(t):i?i(l):((0,a.ok)(r,"`done` is defined if `resolve` is not"),r(void 0,l,s))})}}runSync(e,t){let r,i=!1;return this.run(e,t,function(e,t){n(e),r=t,i=!0}),g("runSync","run",i),(0,a.ok)(r,"we either bailed on an error or have a tree"),r}stringify(e,t){this.freeze();let r=y(t),n=this.compiler||this.Compiler;return h("stringify",n),m(e),n(e,r)}use(e,...t){let r=this.attachers,n=this.namespace;if(p("use",this.frozen),null==e);else if("function"==typeof e)l(e,t);
29else if("object"==typeof e)Array.isArray(e)?s(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function a(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(e.plugins),e.settings&&(n.settings=i(!0,n.settings,e.settings))}function s(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)l(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...r]=e;l(t,r)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function l(e,t){let n=-1,a=-1;for(;++n<r.length;)if(r[n][0]===e){a=n;break}if(-1===a)r.push([e,...t]);else if(t.length>0){let[n,...s]=t,l=r[a][1];o(l)&&o(n)&&(n=i(!0,l,n)),r[a]=[e,n,...s]}}}}let d=new c().freeze();function f(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function h(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function p(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function m(e){if(!o(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function g(e,t,r){if(!r)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function y(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new s.T(e)}},68356:(e,t,r)=>{"use strict";r.d(t,{R:()=>n});var n=(0,r(74180).createContext)(null)},68365:(e,t,r)=>{"use strict";var n=r(22872);function i(e,t,r){this.main=e,this.fn=t,this.recommendFn=r,this.lastResults=null,this.lastRecommendResults=null}r(49903)(i,n),i.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},i.prototype.getModifiedState=function(e){return this.fn(e)},i.prototype.getModifiedRecommendState=function(e){return this.recommendFn(e)},e.exports=i},68595: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"car\xe0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}},t={regex:"entrada",email:"adre\xe7a electr\xf2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xe7a IPv4",ipv6:"adre\xe7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xfamero E.164",jwt:"JWT",template_literal:"entrada"},r=>{switch(r.code){case"invalid_type":return`Tipus inv\xe0lid: s'esperava ${r.expected}, s'ha rebut ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Valor inv\xe0lid: s'esperava ${o.stringifyPrimitive(r.values[0])}`;return`Opci\xf3 inv\xe0lida: s'esperava una de ${o.joinValues(r.values," o ")}`;case"too_big":{let t=r.inclusive?"com a m\xe0xim":"menys de",n=e[r.origin]??null;if(n)return`Massa gran: s'esperava que ${r.origin??"el valor"} contingu\xe9s ${t} ${r.maximum.toString()} ${n.unit??"elements"}`;return`Massa gran: s'esperava que ${r.origin??"el valor"} fos ${t} ${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?"com a m\xednim":"m\xe9s de",n=e[r.origin]??null;if(n)return`Massa petit: s'esperava que ${r.origin} contingu\xe9s ${t} ${r.minimum.toString()} ${n.unit}`;return`Massa petit: s'esperava que ${r.origin} fos ${t} ${r.minimum.toString()}`}
29case"invalid_format":if("starts_with"===r.format)return`Format inv\xe0lid: ha de comen\xe7ar amb "${r.prefix}"`;if("ends_with"===r.format)return`Format inv\xe0lid: ha d'acabar amb "${r.suffix}"`;if("includes"===r.format)return`Format inv\xe0lid: ha d'incloure "${r.includes}"`;if("regex"===r.format)return`Format inv\xe0lid: ha de coincidir amb el patr\xf3 ${r.pattern}`;return`Format inv\xe0lid per a ${t[r.format]??r.format}`;case"not_multiple_of":return`N\xfamero inv\xe0lid: ha de ser m\xfaltiple de ${r.divisor}`;case"unrecognized_keys":return`Clau${r.keys.length>1?"s":""} no reconeguda${r.keys.length>1?"s":""}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Clau inv\xe0lida a ${r.origin}`;case"invalid_union":default:return"Entrada inv\xe0lida";case"invalid_element":return`Element inv\xe0lid a ${r.origin}`}})}};let o=a(r(3947))},68698:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.codabar=void 0;var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();t.codabar=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");0===e.search(/^[0-9\-\$\:\.\+\/]+$/)&&(e="A"+e+"A");var n=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e.toUpperCase(),r));return n.text=n.options.text||n.text.replace(/[A-D]/g,""),n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"valid",value:function(){return -1!==this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)}},{key:"encode",value:function(){for(var e=[],t=this.getEncodings(),r=0;r<this.data.length;r++)e.push(t[this.data.charAt(r)]),r!==this.data.length-1&&e.push("0");return{text:this.text,data:e.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),t}(((n=r(40355))&&n.__esModule?n:{default:n}).default)},68753: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}},t={regex:"giren",email:"epostag\xe2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xe2mı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO m\xfcddeti",ipv4:"IPv4 niÅ\xe2nı",ipv6:"IPv6 niÅ\xe2nı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-Åifreli metin",base64url:"base64url-Åifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},r=>
29{switch(r.code){case"invalid_type":return`F\xe2sit giren: umulan ${r.expected}, alınan ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"numara";case"object":if(Array.isArray(e))return"saf";if(null===e)return"gayb";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`F\xe2sit giren: umulan ${o.stringifyPrimitive(r.values[0])}`;return`F\xe2sit tercih: m\xfbteberler ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Fazla b\xfcy\xfck: ${r.origin??"value"}, ${t}${r.maximum.toString()} ${n.unit??"elements"} sahip olmalıydı.`;return`Fazla b\xfcy\xfck: ${r.origin??"value"}, ${t}${r.maximum.toString()} olmalıydı.`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Fazla k\xfc\xe7\xfck: ${r.origin}, ${t}${r.minimum.toString()} ${n.unit} sahip olmalıydı.`;return`Fazla k\xfc\xe7\xfck: ${r.origin}, ${t}${r.minimum.toString()} olmalıydı.`}case"invalid_format":if("starts_with"===r.format)return`F\xe2sit metin: "${r.prefix}" ile baÅlamalı.`;if("ends_with"===r.format)return`F\xe2sit metin: "${r.suffix}" ile bitmeli.`;if("includes"===r.format)return`F\xe2sit metin: "${r.includes}" ihtiv\xe2 etmeli.`;if("regex"===r.format)return`F\xe2sit metin: ${r.pattern} nakÅına uymalı.`;return`F\xe2sit ${t[r.format]??r.format}`;case"not_multiple_of":return`F\xe2sit sayı: ${r.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${r.keys.length>1?"s":""}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xe7in tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${r.origin} i\xe7in tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}})}};let o=a(r(3947))},68756:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}}},68787: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"znak\xf3w",verb:"mieÄ"},file:{unit:"bajt\xf3w",verb:"mieÄ"},array:{unit:"element\xf3w",verb:"mieÄ"},set:{unit:"element\xf3w",verb:"mieÄ"}},t={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciÄ
g znak\xf3w zakodowany w formacie base64",base64url:"ciÄ
g znak\xf3w zakodowany w formacie base64url",json_string:"ciÄ
g znak\xf3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejÅcie"},r=>{switch(r.code){case"invalid_type":return`NieprawidÅowe dane wejÅciowe: oczekiwano ${r.expected}, otrzymano ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"liczba";case"object":if(Array.isArray(e))return"tablica";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;
29case"invalid_value":if(1===r.values.length)return`NieprawidÅowe dane wejÅciowe: oczekiwano ${o.stringifyPrimitive(r.values[0])}`;return`NieprawidÅowa opcja: oczekiwano jednej z wartoÅci ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Za duża wartoÅÄ: oczekiwano, że ${r.origin??"wartoÅÄ"} bÄdzie mieÄ ${t}${r.maximum.toString()} ${n.unit??"element\xf3w"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${r.origin??"wartoÅÄ"} bÄdzie wynosiÄ ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Za maÅa wartoÅÄ: oczekiwano, że ${r.origin??"wartoÅÄ"} bÄdzie mieÄ ${t}${r.minimum.toString()} ${n.unit??"element\xf3w"}`;return`Zbyt maÅ(y/a/e): oczekiwano, że ${r.origin??"wartoÅÄ"} bÄdzie wynosiÄ ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`NieprawidÅowy ciÄ
g znak\xf3w: musi zaczynaÄ siÄ od "${r.prefix}"`;if("ends_with"===r.format)return`NieprawidÅowy ciÄ
g znak\xf3w: musi koÅczyÄ siÄ na "${r.suffix}"`;if("includes"===r.format)return`NieprawidÅowy ciÄ
g znak\xf3w: musi zawieraÄ "${r.includes}"`;if("regex"===r.format)return`NieprawidÅowy ciÄ
g znak\xf3w: musi odpowiadaÄ wzorcowi ${r.pattern}`;return`NieprawidÅow(y/a/e) ${t[r.format]??r.format}`;case"not_multiple_of":return`NieprawidÅowa liczba: musi byÄ wielokrotnoÅciÄ
${r.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${r.keys.length>1?"s":""}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`NieprawidÅowy klucz w ${r.origin}`;case"invalid_union":default:return"NieprawidÅowe dane wejÅciowe";case"invalid_element":return`NieprawidÅowa wartoÅÄ w ${r.origin}`}})}};let o=a(r(3947))},68986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"validateRichTextDocument",{enumerable:!0,get:function(){return b}});var n,i=r(23103),a=r(52113),o=r(80302),s=r(5772),l=r(53194),u=r(6141),c=r(35341);function d(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 f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return d(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return d(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var p=(0,l.assert)(h(Object.values(a.INLINES)).concat(["text"]).sort()),m=(0,l.assert)([i.BLOCKS.LIST_ITEM]),g=(0,l.assertLink)("Entry",l.VOID_CONTENT),y=(0,l.assert)(function(){return{nodeTypes:[i.BLOCKS.PARAGRAPH],min:1}},function(e,t){var r=new s.ObjectAssertion(e,t);return r.noAdditionalProperties(["colspan","rowspan"]),r.number("colspan",!0),r.number("rowspan",!0),r.errors}),v=(f(n={},i.BLOCKS.DOCUMENT,(0,l.assert)(o.TOP_LEVEL_BLOCKS)),f(n,i.BLOCKS.PARAGRAPH,p),f(n,i.BLOCKS.HEADING_1,p),f(n,i.BLOCKS.HEADING_2,p),f(n,i.BLOCKS.HEADING_3,p),f(n,i.BLOCKS.HEADING_4,p),f(n,i.BLOCKS.HEADING_5,p),f(n,i.BLOCKS.HEADING_6,p),f(n,i.BLOCKS.QUOTE,(0,l.assert)(o.CONTAINERS[i.BLOCKS.QUOTE])),f(n,i.BLOCKS.EMBEDDED_ENTRY,g),f(n,i.BLOCKS.EMBEDDED_ASSET,(0,l.assertLink)("Asset",l.VOID_CONTENT)),f(n,i.BLOCKS.EMBEDDED_RESOURCE,(0,l.assertLink)("Contentful:Entry",l.VOID_CONTENT)),f(n,i.BLOCKS.HR,(0,l.assert)(l.VOID_CONTENT)),f(n,i.BLOCKS.OL_LIST,m),f(n,i.BLOCKS.UL_LIST,m),f(n,i.BLOCKS.LIST_ITEM,(0,l.assert)(h(o.LIST_ITEM_BLOCKS).sort())),f(n,i.BLOCKS.TABLE,(0,l.assert)(function(){return{nodeTypes:[i.BLOCKS.TABLE_ROW],min:1}})),f(n,i.BLOCKS.TABLE_ROW,(0,l.assert)(function(){return{nodeTypes:[i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL],min:1}})),f(n,i.BLOCKS.TABLE_CELL,y),f(n,i.BLOCKS.TABLE_HEADER_CELL,y),f(n,a.INLINES.HYPERLINK,new l.HyperLinkAssertion),f(n,a.INLINES.EMBEDDED_ENTRY,g),f(n,a.INLINES.EMBEDDED_RESOURCE,(0,l.assertLink)("Contentful:Entry",l.VOID_CONTENT)),f(n,a.INLINES.ENTRY_HYPERLINK,(0,l.assertLink)("Entry",["text"])),f(n,a.INLINES.ASSET_HYPERLINK,(0,l.assertLink)("Asset",["text"])),f(n,a.INLINES.RESOURCE_HYPERLINK,(0,l.assertLink)("Contentful:Entry",["text"])),n),b=function(e){var t=new u.Path,r=new s.ObjectAssertion(e,t);return(r.object()&&r.enum("nodeType",[i.BLOCKS.DOCUMENT]),r.errors.length>0)?r.errors:function e(t,r){if("text"===t.nodeType)return(0,c.assertText)(t,r);var n=v[t.nodeType].assert(t,r);
29if(n.length>0)return n;var i=new s.ObjectAssertion(t,r);return i.each("content",function(t,r){return e(t,r)}),i.errors}(e,t)}},69211:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});let n=r(95565),i=r(72280);function a(e,t,r){let a="",o=(0,i.getRouteRegex)(e),s=o.groups,l=(t!==e?(0,n.getRouteMatcher)(o)(t):"")||r;a=e;let u=Object.keys(s);return u.every(e=>{let t=l[e]||"",{repeat:r,optional:n}=s[e],i=`[${r?"...":""}${e}]`;return n&&(i=`${!t?"/":""}[${i}]`),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(a=a.replace(i,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:u,result:a}}},69243:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(24792))&&n.__esModule?n:{default:n},a=r(59110);function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=a.TAG,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e),t}(i.default),e.exports=t.default},69444:(e,t,r)=>{"use strict";r.d(t,{BM:()=>s,CW:()=>n,Ee:()=>d,HP:()=>c,JQ:()=>o,Ny:()=>p,On:()=>f,cx:()=>a,es:()=>h,lV:()=>i,ok:()=>l,ol:()=>u});let n=m(/[A-Za-z]/),i=m(/[\dA-Za-z]/),a=m(/[#-'*+\--9=?A-Z^-~]/);function o(e){return null!==e&&(e<32||127===e)}let s=m(/\d/),l=m(/[\dA-Fa-f]/),u=m(/[!-/:-@[-`{-~]/);function c(e){return null!==e&&e<-2}function d(e){return null!==e&&(e<0||32===e)}function f(e){return -2===e||-1===e||32===e}let h=m(/\p{P}|\p{S}/u),p=m(/\s/);function m(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},69472:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(11492);function i(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&n._P in e?e[n._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},69833:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return o}});let n=r(4954),i=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,a=/\/\[[^/]+\](?=\/|$)/;function o(e,t=!0){return((0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),t)?a.test(e):i.test(e)}},70308:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(57796);t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var e=(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"valid",value:function(){return -1!==this.data.search(/^([0-9]{2})+$/)}},{key:"encode",value:function(){var e=this,t=this.data.match(/.{2}/g).map(function(t){return e.encodePair(t)}).join("");return{data:a.START_BIN+t+a.END_BIN,text:this.text}}},{key:"encodePair",value:function(e){var t=a.BINARIES[e[1]];return a.BINARIES[e[0]].split("").map(function(e,r){return("1"===e?"111":"1")+("1"===t[r]?"000":"0")}).join("")}}]),t}(((n=r(40355))&&n.__esModule?n:{default:n}).default)},70354:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(26665).createAsyncLocalStorage)()},70826: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);
29(!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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"ØØ±Ù",verb:"Ø£Ù ÙØÙÙ"},file:{unit:"Ø¨Ø§ÙØª",verb:"Ø£Ù ÙØÙÙ"},array:{unit:"Ø¹ÙØµØ±",verb:"Ø£Ù ÙØÙÙ"},set:{unit:"Ø¹ÙØµØ±",verb:"Ø£Ù ÙØÙÙ"}},t={regex:"Ù
دخÙ",email:"Ø¨Ø±ÙØ¯ Ø¥ÙÙØªØ±ÙÙÙ",url:"رابط",emoji:"Ø¥ÙÙ
ÙØ¬Ù",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ØªØ§Ø±ÙØ® ÙÙÙØª بÙ
Ø¹ÙØ§Ø± ISO",date:"ØªØ§Ø±ÙØ® بÙ
Ø¹ÙØ§Ø± ISO",time:"ÙÙØª بÙ
Ø¹ÙØ§Ø± ISO",duration:"Ù
دة بÙ
Ø¹ÙØ§Ø± ISO",ipv4:"عÙÙØ§Ù IPv4",ipv6:"عÙÙØ§Ù IPv6",cidrv4:"Ù
Ø¯Ù Ø¹ÙØ§ÙÙÙ Ø¨ØµÙØºØ© IPv4",cidrv6:"Ù
Ø¯Ù Ø¹ÙØ§ÙÙÙ Ø¨ØµÙØºØ© IPv6",base64:"ÙÙØµ بترÙ
ÙØ² base64-encoded",base64url:"ÙÙØµ بترÙ
ÙØ² base64url-encoded",json_string:"ÙÙØµ عÙÙ ÙÙØ¦Ø© JSON",e164:"رÙÙ
ÙØ§ØªÙ بÙ
Ø¹ÙØ§Ø± E.164",jwt:"JWT",template_literal:"Ù
دخÙ"},r=>{switch(r.code){case"invalid_type":return`Ù
Ø¯Ø®ÙØ§Øª ØºÙØ± Ù
ÙØ¨ÙÙØ©: ÙÙØªØ±Ø¶ إدخا٠${r.expected}Ø ÙÙÙ٠تÙ
إدخا٠${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Ù
Ø¯Ø®ÙØ§Øª ØºÙØ± Ù
ÙØ¨ÙÙØ©: ÙÙØªØ±Ø¶ إدخا٠${o.stringifyPrimitive(r.values[0])}`;return`Ø§Ø®ØªÙØ§Ø± ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØªÙÙØ¹ Ø§ÙØªÙاء Ø£ØØ¯ ÙØ°Ù Ø§ÙØ®Ùارات: ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return` Ø£ÙØ¨Ø± Ù
٠اÙÙØ§Ø²Ù
: ÙÙØªØ±Ø¶ أ٠تÙÙÙ ${r.origin??"اÙÙÙÙ
Ø©"} ${t} ${r.maximum.toString()} ${n.unit??"Ø¹ÙØµØ±"}`;return`Ø£ÙØ¨Ø± Ù
٠اÙÙØ§Ø²Ù
: ÙÙØªØ±Ø¶ أ٠تÙÙÙ ${r.origin??"اÙÙÙÙ
Ø©"} ${t} ${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`أصغر Ù
٠اÙÙØ§Ø²Ù
: ÙÙØªØ±Ø¶ ÙÙ ${r.origin} Ø£Ù ÙÙÙÙ ${t} ${r.minimum.toString()} ${n.unit}`;return`أصغر Ù
٠اÙÙØ§Ø²Ù
: ÙÙØªØ±Ø¶ ÙÙ ${r.origin} Ø£Ù ÙÙÙÙ ${t} ${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ÙÙØµ ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙØ¨Ø¯Ø£ ب٠"${r.prefix}"`;if("ends_with"===r.format)return`ÙÙØµ ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙÙØªÙ٠ب٠"${r.suffix}"`;if("includes"===r.format)return`ÙÙØµ ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙØªØ¶Ù
ÙÙÙ "${r.includes}"`;if("regex"===r.format)return`ÙÙØµ ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙØ·Ø§Ø¨Ù اÙÙÙ
Ø· ${r.pattern}`;return`${t[r.format]??r.format} ØºÙØ± Ù
ÙØ¨ÙÙ`;case"not_multiple_of":return`رÙÙ
ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙÙÙÙ Ù
Ù Ù
Ø¶Ø§Ø¹ÙØ§Øª ${r.divisor}`;case"unrecognized_keys":return`Ù
عرÙ${r.keys.length>1?"ات":""} ØºØ±ÙØ¨${r.keys.length>1?"Ø©":""}: ${o.joinValues(r.keys,"Ø ")}`;case"invalid_key":return`Ù
Ø¹Ø±Ù ØºÙØ± Ù
ÙØ¨ÙÙ ÙÙ ${r.origin}`;case"invalid_union":default:return"Ù
Ø¯Ø®Ù ØºÙØ± Ù
ÙØ¨ÙÙ";case"invalid_element":return`Ù
Ø¯Ø®Ù ØºÙØ± Ù
ÙØ¨ÙÙ ÙÙ ${r.origin}`}})}};let o=a(r(3947))},70870:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=[];return!function e(r){if(Array.isArray(r))for(var n=0;n<r.length;n++)e(r[n]);else r.text=r.text||"",r.data=r.data||"",t.push(r)}(e),t}},71098:(e,t,r)=>{"use strict";function n(e){return(t,r={})=>{let n,i=r.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;let s=o[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}(l,e=>e.test(s)):function(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}(l,e=>e.test(s));return n=e.valueCallback?e.valueCallback(u):u,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(s.length)}}}r.d(t,{A:()=>n})},71374:(e,t,r)=>{"use strict";r.d(t,{s:()=>o,t:()=>a});var n=r(74180);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}function o(...e){return n.useCallback(a(...e),e)}},71380:(e,t,r)=>{"use strict";r.d(t,{V:()=>tO});var n=r(38203),i=r(74180),a=r(2340),o=r(68356);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["children"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
29t%2?u(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e){var t=e.children,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,l),n=i.useRef(null),a=i.useRef(0);return 0===Object.keys(r).length?i.createElement(i.Fragment,null,t):i.createElement(o.R.Provider,{value:c(c({},r),{},{ssrSearchRef:n,recommendIdx:a})},t)}var f=r(60245),h=r(79546),p=r(22872),m=r(58326),g=r(62228);function y(e,t,r){var n=t.getHelper();return{uiState:r,helper:n,parent:t,instantSearchInstance:e,state:n.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,scopedResults:[],searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function v(e,t,r){var n=t.getResultsForWidget(r),i=t.getHelper();return{helper:i,parent:t,instantSearchInstance:e,results:n,scopedResults:t.getScopedResults(),state:n&&"_state"in n?n._state:i.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}var b=r(20022);function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t,r){return(t=S(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e){var t=function(e,t){if("object"!=E(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=E(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==E(t)?t:String(t)}var w=function(e){e&&(window.document.title=e)},T=function(){var e;function t(e){var r=this,i=e.windowTitle,a=e.writeDelay,o=e.createURL,s=e.parseURL,l=e.getLocation,u=e.start,c=e.dispose,d=e.push,f=e.cleanUrlOnDispose;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");_(this,"$$type","ais.browser"),_(this,"windowTitle",void 0),_(this,"writeDelay",void 0),_(this,"_createURL",void 0),_(this,"parseURL",void 0),_(this,"getLocation",void 0),_(this,"writeTimer",void 0),_(this,"_onPopState",void 0),_(this,"inPopState",!1),_(this,"isDisposed",!1),_(this,"latestAcknowledgedHistory",0),_(this,"_start",void 0),_(this,"_dispose",void 0),_(this,"_push",void 0),_(this,"_cleanUrlOnDispose",void 0),this.windowTitle=i,this.writeTimer=void 0,this.writeDelay=void 0===a?400:a,this._createURL=o,this.parseURL=s,this.getLocation=l,this._start=u,this._dispose=c,this._push=d,this._cleanUrlOnDispose=void 0===f||f,(0,n.x)(function(e){var t=e.window;w(r.windowTitle&&r.windowTitle(r.read())),r.latestAcknowledgedHistory=t.history.length})}return e=[{key:"read",value:function(){return this.parseURL({qsModule:b,location:this.getLocation()})}},{key:"write",value:function(e){var t=this;(0,n.x)(function(r){var n=r.window,i=t.createURL(e),a=t.windowTitle&&t.windowTitle(e);t.writeTimer&&clearTimeout(t.writeTimer),t.writeTimer=setTimeout(function(){w(a),t.shouldWrite(i)&&(t._push?t._push(i):n.history.pushState(e,a||"",i),t.latestAcknowledgedHistory=n.history.length),t.inPopState=!1,t.writeTimer=void 0},t.writeDelay)})}}
29,{key:"onUpdate",value:function(e){var t=this;this._start&&this._start(function(){e(t.read())}),this._onPopState=function(){t.writeTimer&&(clearTimeout(t.writeTimer),t.writeTimer=void 0),t.inPopState=!0,e(t.read())},(0,n.x)(function(e){e.window.addEventListener("popstate",t._onPopState)})}},{key:"createURL",value:function(e){return this._createURL({qsModule:b,routeState:e,location:this.getLocation()})}},{key:"dispose",value:function(){var e=this;this._dispose&&this._dispose(),this.isDisposed=!0,(0,n.x)(function(t){var r=t.window;e._onPopState&&r.removeEventListener("popstate",e._onPopState)}),this.writeTimer&&clearTimeout(this.writeTimer),this._cleanUrlOnDispose&&this.write({})}},{key:"start",value:function(){this.isDisposed=!1}},{key:"shouldWrite",value:function(e){var t=this;return(0,n.x)(function(r){var n=r.window;if(t.isDisposed&&!t._cleanUrlOnDispose)return!1;var i=!(t.isDisposed&&t.latestAcknowledgedHistory!==n.history.length);return!t.inPopState&&i&&e!==n.location.href})}}],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,S(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}();function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.createURL,r=void 0===t?function(e){var t=e.qsModule,r=e.routeState,n=e.location,i=n.protocol,a=n.hostname,o=n.port,s=void 0===o?"":o,l=n.pathname,u=n.hash,c=t.stringify(r),d=""===s?"":":".concat(s);return c?"".concat(i,"//").concat(a).concat(d).concat(l,"?").concat(c).concat(u):"".concat(i,"//").concat(a).concat(d).concat(l).concat(u)}:t,i=e.parseURL,a=void 0===i?function(e){var t=e.qsModule,r=e.location;return t.parse(r.search.slice(1),{arrayLimit:99})}:i,o=e.writeDelay,s=e.windowTitle,l=e.getLocation;return new T({createURL:r,parseURL:a,writeDelay:void 0===o?400:o,windowTitle:s,getLocation:void 0===l?function(){return(0,n.x)(function(e){return e.window.location},{fallback:function(){throw Error("You need to provide `getLocation` to the `history` router in environments where `window` does not exist.")}})}:l,start:e.start,dispose:e.dispose,push:e.push,cleanUrlOnDispose:e.cleanUrlOnDispose})}function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var P=["configure"];function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach(function(t){I(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function I(e,t,r){var n;return(n=function(e,t){if("object"!=x(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=x(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==x(n)?n:String(n))in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C(e){return e.configure,function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,P)}function R(e){return e!==Object(e)}function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
29t%2?N(Object(r),!0).forEach(function(t){M(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function M(e,t,r){var n;return(n=function(e,t){if("object"!=D(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=D(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==D(n)?n:String(n))in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.router,r=void 0===t?O():t,n=e.stateMapping,i=void 0===n?{$$type:"ais.simple",stateToRoute:function(e){return Object.keys(e).reduce(function(t,r){return k(k({},t),{},I({},r,C(e[r])))},{})},routeToState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,r){return k(k({},t),{},I({},r,C(e[r])))},{})}}:n,a=e.$$internal,o=void 0!==a&&a;return function(e){var t=e.instantSearchInstance;t._createURL=function(e){var n=0===t.mainIndex.getWidgets().length?t._initialUiState:t.mainIndex.getWidgetUiState({}),a=Object.keys(e).reduce(function(t,r){return j(j({},t),{},M({},r,e[r]))},n),o=i.stateToRoute(a);return r.createURL(o)};var n=void 0,a=t._initialUiState;return{$$type:"ais.router({router:".concat(r.$$type||"__unknown__",", stateMapping:").concat(i.$$type||"__unknown__","})"),$$internal:o,onStateChange:function(e){var t=e.uiState,a=i.stateToRoute(t);(void 0===n||!function e(t,r){if(t===r)return!0;if(R(t)||R(r)||"function"==typeof t||"function"==typeof r)return t===r;if(Object.keys(t).length!==Object.keys(r).length)return!1;for(var n=0,i=Object.keys(t);n<i.length;n++){var a=i[n];if(!(a in r)||!e(t[a],r[a]))return!1}return!0}(n,a))&&(r.write(a),n=a)},subscribe:function(){t._initialUiState=j(j({},a),i.routeToState(r.read())),r.onUpdate(function(e){t.mainIndex.getWidgets().length>0&&t.setUiState(i.routeToState(e))})},started:function(){var e;null==(e=r.start)||e.call(r)},unsubscribe:function(){r.dispose()}}}},$=r(43573),U=r(34335),F=r(27868),B=0;function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var H=["initialSearchParameters"],q=["initialRecommendParameters"];function G(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?G(Object(r),!0).forEach(function(t){V(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):G(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function V(e,t,r){var n;return(n=function(e,t){if("object"!=z(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=z(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==z(n)?n:String(n))in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y(e){return function(e){if(Array.isArray(e))return Z(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return Z(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Z(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(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 K(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var X=(0,$.V)({name:"index-widget"});function Q(e,t){var r=t.state,n=t.recommendState,i=t.isPageReset,a=t._uiState;r!==e.state&&(e.state=r,e.emit("change",{state:e.state,results:e.lastResults,isPageReset:i,_uiState:a})),n!==e.recommendState&&(e.recommendState=n)}function J(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.reduce(function(e,r){return!(0,U.l)(r)&&(r.getWidgetUiState||r.getWidgetState)?r.getWidgetUiState?r.getWidgetUiState(e,t):r.getWidgetState(e,t):e},r)}function ee(e,t){var r=t.initialSearchParameters,n=K(t,H);return e.reduce(function(e,t){return!t.getWidgetSearchParameters||(0,U.l)(t)?e:"search"===t.dependsOn&&t.getWidgetParameters?t.getWidgetParameters(e,n):t.getWidgetSearchParameters(e,n)},r)}function et(e,t){var r=t.initialRecommendParameters,n=K(t,q);return e.reduce(function(e,t){return!(0,U.l)(t)&&"recommend"===t.dependsOn&&t.getWidgetParameters?t.getWidgetParameters(e,n):e},r)}let er=function(e){if(void 0===e||void 0===e.indexName)throw Error(X("The `indexName` option is required."));var t=e.indexName,r=e.indexId,n=void 0===r?t:r,i=[],a={},o=null,s=null,l=null,u=null,c=null,d=!1,f=!1;return{$$type:"ais.index",$$widgetType:"ais.index",getIndexName:function(){return t},getIndexId:function(){return n},getHelper:function(){return l},getResults:function(){var e;return null!=(e=u)&&e.lastResults?(u.lastResults._state=l.state,u.lastResults):null},getResultsForWidget:function(e){var t;return"recommend"!==e.dependsOn||(0,U.l)(e)||void 0===e.$$id?this.getResults():null!=(t=l)&&t.lastRecommendResults?l.lastRecommendResults[e.$$id]:null},getPreviousState:function(){return c},getScopedResults:function(){var e=this.getParent();return function e(t){return t.filter(U.l).reduce(function(t,r){return t.concat.apply(t,[{indexId:r.getIndexId(),results:r.getResults(),helper:r.getHelper()}].concat(Y(e(r.getWidgets()))))},[])}(e?e.getWidgets():0===t.length?this.getWidgets():[this])},getParent:function(){return s},createURL:function(e){return"function"==typeof e?o._createURL(V({},n,e(a))):o._createURL(V({},n,J(i,{searchParameters:e,helper:l})))},getWidgets:function(){return i},addWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(X("The `addWidgets` method expects an array of widgets."));if(e.some(function(e){return"function"!=typeof e.init&&"function"!=typeof e.render}))throw Error(X("The widget definition expects a `render` and/or an `init` method."));return e.forEach(function(e){!(0,U.l)(e)&&(o&&"recommend"===e.dependsOn?o._hasRecommendWidget=!0:o?o._hasSearchWidget=!0:"recommend"===e.dependsOn?d=!0:f=!0,"recommend"===e.dependsOn&&(e.$$id=B++))}
29),i=i.concat(e),o&&e.length&&(Q(l,{state:ee(i,{uiState:a,initialSearchParameters:l.state}),recommendState:et(i,{uiState:a,initialRecommendParameters:l.recommendState}),_uiState:a}),e.forEach(function(e){e.getRenderState&&en({renderState:e.getRenderState(o.renderState[t.getIndexId()]||{},y(o,t,o._initialUiState)),instantSearchInstance:o,parent:t})}),e.forEach(function(e){e.init&&e.init(y(o,t,o._initialUiState))}),o.scheduleSearch()),this},removeWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(X("The `removeWidgets` method expects an array of widgets."));if(e.some(function(e){return"function"!=typeof e.dispose}))throw Error(X("The widget definition expects a `dispose` method."));if((i=i.filter(function(t){return -1===e.indexOf(t)})).forEach(function(e){(0,U.l)(e)||(o&&"recommend"===e.dependsOn?o._hasRecommendWidget=!0:o?o._hasSearchWidget=!0:"recommend"===e.dependsOn?d=!0:f=!0)}),o&&e.length){var r=e.reduce(function(e,r){var n=r.dispose({helper:l,state:e.cleanedSearchState,recommendState:e.cleanedRecommendState,parent:t});return n instanceof m.RecommendParameters?e.cleanedRecommendState=n:n&&(e.cleanedSearchState=n),e},{cleanedSearchState:l.state,cleanedRecommendState:l.recommendState}),n=r.cleanedSearchState,s=r.cleanedRecommendState,u=o.future.preserveSharedStateOnUnmount?ee(i,{uiState:a,initialSearchParameters:new m.SearchParameters({index:this.getIndexName()})}):ee(i,{uiState:J(i,{searchParameters:n,helper:l}),initialSearchParameters:n});a=J(i,{searchParameters:u,helper:l}),l.setState(u),l.recommendState=s,i.length&&o.scheduleSearch()}return this},init:function(e){var r,h=this,p=e.instantSearchInstance,g=e.parent,v=e.uiState;if(null===l){o=p,s=g,a=v[n]||{};var b=p.mainHelper,E=ee(i,{uiState:a,initialSearchParameters:new m.SearchParameters({index:t})}),_=et(i,{uiState:a,initialRecommendParameters:new m.RecommendParameters});(l=m({},E.index,E)).recommendState=_,l.search=function(){return p.onStateChange?(p.onStateChange({uiState:p.mainIndex.getWidgetUiState({}),setUiState:function(e){return p.setUiState(e,!1)}}),b):b.search()},l.searchWithoutTriggeringOnStateChange=function(){return b.search()},l.searchForFacetValues=function(e,t,r,n){var i=l.state.setQueryParameters(n);return b.searchForFacetValues(e,t,r,i)},u=b.derive(function(){return F.p.apply(void 0,[b.state].concat(Y(function(e){for(var t=e.getParent(),r=[e.getHelper().state];null!==t;)r=[t.getHelper().state].concat(r),t=t.getParent();return r}(h))))},function(){return h.getHelper().recommendState});var S=null==(r=p._initialResults)?void 0:r[this.getIndexId()];if(null!=S&&S.results){var w=new m.SearchResults(new m.SearchParameters(S.state),S.results);u.lastResults=w,l.lastResults=w}if(null!=S&&S.recommendResults){var T=new m.RecommendResults(new m.RecommendParameters({params:S.recommendResults.params}),S.recommendResults.results);u.lastRecommendResults=T,l.lastRecommendResults=T}l.on("change",function(e){e.isPageReset&&function e(t){var r=t.filter(U.l);0!==r.length&&r.forEach(function(t){var r=t.getHelper();Q(r,{state:r.state.resetPage(),recommendState:r.recommendState,isPageReset:!0}),e(t.getWidgets())})}(i)}),u.on("search",function(){p.scheduleStalledRender()}),u.on("result",function(e){var t=e.results;p.scheduleRender(),l.lastResults=t,c=null==t?void 0:t._state}),u.on("recommend:result",function(e){var t=e.recommend;p.scheduleRender(),l.lastRecommendResults=t.results}
29),i.forEach(function(e){e.getRenderState&&en({renderState:e.getRenderState(p.renderState[h.getIndexId()]||{},y(p,h,v)),instantSearchInstance:p,parent:h})}),i.forEach(function(e){e.init&&e.init(y(p,h,v))}),l.on("change",function(e){var t=e.state,r=e._uiState;a=J(i,{searchParameters:t,helper:l},r||{}),p.onStateChange||p.onInternalStateChange()}),S&&p.scheduleRender(),d&&(p._hasRecommendWidget=!0),f&&(p._hasSearchWidget=!0)}},render:function(e){var t,r=this,n=e.instantSearchInstance;"error"===n.status&&!n.mainHelper.hasPendingRequests()&&c&&l.setState(c);var a=this.getResults()||null!=(t=u)&&t.lastRecommendResults?i:i.filter(U.l);(a=a.filter(function(e){return!e.shouldRender||e.shouldRender({instantSearchInstance:n})})).forEach(function(e){e.getRenderState&&en({renderState:e.getRenderState(n.renderState[r.getIndexId()]||{},v(n,r,e)),instantSearchInstance:n,parent:r})}),a.forEach(function(e){e.render&&e.render(v(n,r,e))})},dispose:function(){var e,t,r=this;i.forEach(function(e){e.dispose&&l&&e.dispose({helper:l,state:l.state,recommendState:l.recommendState,parent:r})}),o=null,s=null,null==(e=l)||e.removeAllListeners(),l=null,null==(t=u)||t.detach(),u=null},getWidgetUiState:function(e){return i.filter(U.l).reduce(function(e,t){return t.getWidgetUiState(e)},W(W({},e),{},V({},n,W(W({},e[n]),a))))},getWidgetState:function(e){return this.getWidgetUiState(e)},getWidgetSearchParameters:function(e,t){var r=t.uiState;return ee(i,{uiState:r,initialSearchParameters:e})},refreshUiState:function(){a=J(i,{searchParameters:this.getHelper().state,helper:this.getHelper()},a)},setIndexUiState:function(e){var t="function"==typeof e?e(a):e;o.setUiState(function(e){return W(W({},e),{},V({},n,t))})}}};function en(e){var t=e.renderState,r=e.instantSearchInstance,n=e.parent,i=n?n.getIndexId():r.mainIndex.getIndexId();r.renderState=W(W({},r.renderState),{},V({},i,W(W({},r.renderState[i]),t)))}var ei=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.descendantName,n=t.modifierName;return"".concat("ais","-").concat(e).concat(r?"-".concat(r):"").concat(n?"--".concat(n):"")}};function ea(e,t){return(Array.isArray(t)?t:t.split(".")).reduce(function(e,t){return e&&e[t]},e)}var eo=r(3083),es=ei("Highlight");function el(e){var t=eo.sn.highlightPreTag,r=eo.sn.highlightPostTag;return e.map(function(e){return e.isHighlighted?t+e.value+r:e.value}).join("")}var eu=r(17088),ec=new RegExp(/\w/i);function ed(e){return(ed="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ef(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ef(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=ed(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ed(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ed(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ef(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ep(e){return e.some(function(e){return e.isHighlighted})?e.map(function(t,r){var n,i,a,o,s;return eh(eh({},t),{},{isHighlighted:(a=e[r],o=(null==(n=e[r+1])?void 0:n.isHighlighted)||!0,s=(null==(i=e[r-1])?void 0:i.isHighlighted)||!0,ec.test((0,eu.x)(a.value))||s!==o?!a.isHighlighted:!s)})}):e.map(function(e){return eh(eh({},e),{},{isHighlighted:!1})})}function em(e){var t=eo.sn.highlightPostTag,r=eo.sn.highlightPreTag,n=e.split(r),i=n.shift(),a=i?[{value:i,isHighlighted:!1}]:[];
29return n.forEach(function(e){var r=e.split(t);a.push({value:r[0],isHighlighted:!0}),""!==r[1]&&a.push({value:r[1],isHighlighted:!1})}),a}var eg=ei("ReverseHighlight"),ey=ei("Snippet"),ev=ei("ReverseSnippet"),eb=r(12693);function eE(e){return(eE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e_(e){return(e_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ew(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eS(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=e_(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=e_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==e_(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eS(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var eT=Promise.resolve();function eO(e){var t=null,r=!1,n=function(){for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];null===t&&(t=eT.then(function(){if(t=null,r){r=!1;return}e.apply(void 0,i)}))};return n.wait=function(){if(null===t)throw Error("The deferred function should be called before calling `wait()`");return t},n.cancel=function(){null!==t&&(r=!0)},n}var ex=r(7005);function eP(e){return(eP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eA(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 ek(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eI(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ek(Object(r),!0).forEach(function(t){eC(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ek(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function eC(e,t,r){var n;return(n=function(e,t){if("object"!=eP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eP(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==eP(n)?n:String(n))in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eR(e){var t=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=0;return e.replace(/%s/g,function(){return encodeURIComponent(r[i++])})};return Object.keys(e).map(function(r){var n;return t("%s=%s",r,(n=e[r],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n))?JSON.stringify(e[r]):e[r])}).join("&")}function eD(e){return(eD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ej(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
29t%2?eN(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=eD(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eD(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eD(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eN(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function eM(e,t){var r=e[t.getIndexId()]||{};t.getHelper().setState(t.getWidgetSearchParameters(t.getHelper().state,{uiState:r})),t.getWidgets().filter(U.l).forEach(function(t){return eM(e,t)})}function eL(e){return(eL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e$(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eU(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?e$(Object(r),!0).forEach(function(t){eH(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):e$(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function eF(e,t){return(eF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function eB(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ez(e){return(ez=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eH(e,t,r){return(t=eq(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eq(e){var t=function(e,t){if("object"!=eL(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eL(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eL(t)?t:String(t)}var eG=(0,$.V)({name:"instantsearch"});function eW(){return"#"}var eV={preserveSharedStateOnUnmount:!1,persistHierarchicalRootCount:!1},eY=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),e&&eF(a,e);var t,r,i=(t=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=ez(a);return e=t?Reflect.construct(r,arguments,ez(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===eL(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return eB(e)}(this,e)});function a(e){if(!(this instanceof a))throw TypeError("Cannot call a class as a function");eH(eB(t=i.call(this)),"client",void 0),eH(eB(t),"indexName",void 0),eH(eB(t),"compositionID",void 0),eH(eB(t),"insightsClient",void 0),eH(eB(t),"onStateChange",null),eH(eB(t),"future",void 0),eH(eB(t),"helper",void 0),eH(eB(t),"mainHelper",void 0),eH(eB(t),"mainIndex",void 0),eH(eB(t),"started",void 0),eH(eB(t),"templatesConfig",void 0),eH(eB(t),"renderState",{}),eH(eB(t),"_stalledSearchDelay",void 0),eH(eB(t),"_searchStalledTimer",void 0),eH(eB(t),"_initialUiState",void 0),eH(eB(t),"_initialResults",void 0),eH(eB(t),"_createURL",void 0),eH(eB(t),"_searchFunction",void 0),eH(eB(t),"_mainHelperSearch",void 0),eH(eB(t),"_hasSearchWidget",!1),eH(eB(t),"_hasRecommendWidget",!1),eH(eB(t),"_insights",void 0),eH(eB(t),"middleware",[]),eH(eB(t),"sendEventToInsights",void 0),eH(eB(t),"status","idle"),eH(eB(t),"error",void 0),eH(eB(t),"scheduleSearch",eO(function(){t.started&&t.mainHelper.search()})),eH(eB(t),"scheduleRender",eO(function(){var e,r=!(arguments.length>0)||void 0===arguments[0]||arguments[0];!(null!=(e=t.mainHelper)&&e.hasPendingRequests())&&(clearTimeout(t._searchStalledTimer),t._searchStalledTimer=null,r&&(t.status="idle",t.error=void 0)),t.mainIndex.render({instantSearchInstance:eB(t)}),t.emit("render")})),eH(eB(t),"onInternalStateChange",eO(function(){var e=t.mainIndex.getWidgetUiState({});t.middleware.forEach(function(t){t.instance.onStateChange({uiState:e})})})),t.setMaxListeners(100);var t,r=e.indexName,o=e.compositionID,s=e.numberLocale,l=e.initialUiState,u=e.routing,c=void 0===u?null:u,d=e.insights,f=void 0===d?void 0:d,h=e.searchFunction,p=e.stalledSearchDelay,m=e.searchClient,v=void 0===m?null:m,b=e.insightsClient,E=void 0===b?null:b,_=e.onStateChange,S=e.future,w=void 0===S?eU(eU({},eV),e.future||{}):S;if(null===v)throw Error(eG("The `searchClient` option is required."));if("function"!=typeof v.search)throw Error("The `searchClient` must implement a `search` method.\n\nSee: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/");if("function"==typeof v.addAlgoliaAgent&&v.addAlgoliaAgent("instantsearch.js (".concat("4.77.0",")")),E&&"function"!=typeof E)throw Error(eG("The `insightsClient` option should be a function."));if(t.client=v,t.future=w,t.insightsClient=E,t.indexName=void 0===r?"":r,t.compositionID=o,t.helper=null,t.mainHelper=null,t.mainIndex=er({indexName:t.compositionID||t.indexName}),t.onStateChange=void 0===_?null:_,t.started=!1,t.templatesConfig={helpers:{formatNumber:function(e,t){var r;
29return r=Number(t(e)),r.toLocaleString(s)},highlight:function(e,t){try{var r,n,i,a,o,s,l,u,c,d=JSON.parse(e);return t((n=(r=ew(ew({},d),{},{hit:this})).attribute,i=r.highlightedTagName,a=void 0===i?"mark":i,o=r.hit,s=r.cssClasses,l=void 0===s?{}:s,u=(ea(o._highlightResult,n)||{}).value,c=es({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),(void 0===u?"":u).replace(RegExp(eo.sn.highlightPreTag,"g"),"<".concat(a,' class="').concat(c,'">')).replace(RegExp(eo.sn.highlightPostTag,"g"),"</".concat(a,">"))))}catch(e){throw Error('\nThe highlight helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseHighlight:function(e,t){try{var r,n,i,a,o,s,l,u,c,d=JSON.parse(e);return t((n=(r=ew(ew({},d),{},{hit:this})).attribute,i=r.highlightedTagName,a=void 0===i?"mark":i,o=r.hit,s=r.cssClasses,l=void 0===s?{}:s,u=(ea(o._highlightResult,n)||{}).value,c=eg({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),el(ep(em(void 0===u?"":u))).replace(RegExp(eo.sn.highlightPreTag,"g"),"<".concat(a,' class="').concat(c,'">')).replace(RegExp(eo.sn.highlightPostTag,"g"),"</".concat(a,">"))))}catch(e){throw Error('\n The reverseHighlight helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},snippet:function(e,t){try{var r,n,i,a,o,s,l,u,c,d=JSON.parse(e);return t((n=(r=ew(ew({},d),{},{hit:this})).attribute,i=r.highlightedTagName,a=void 0===i?"mark":i,o=r.hit,s=r.cssClasses,l=void 0===s?{}:s,u=(ea(o._snippetResult,n)||{}).value,c=ey({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),(void 0===u?"":u).replace(RegExp(eo.sn.highlightPreTag,"g"),"<".concat(a,' class="').concat(c,'">')).replace(RegExp(eo.sn.highlightPostTag,"g"),"</".concat(a,">"))))}catch(e){throw Error('\nThe snippet helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseSnippet:function(e,t){try{var r,n,i,a,o,s,l,u,c,d=JSON.parse(e);return t((n=(r=ew(ew({},d),{},{hit:this})).attribute,i=r.highlightedTagName,a=void 0===i?"mark":i,o=r.hit,s=r.cssClasses,l=void 0===s?{}:s,u=(ea(o._snippetResult,n)||{}).value,c=ev({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),el(ep(em(void 0===u?"":u))).replace(RegExp(eo.sn.highlightPreTag,"g"),"<".concat(a,' class="').concat(c,'">')).replace(RegExp(eo.sn.highlightPostTag,"g"),"</".concat(a,">"))))}catch(e){throw Error('\n The reverseSnippet helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},insights:function(e,t){try{var r,n=JSON.parse(e),i=n.method,a=n.payload;return t((r=ew({objectIDs:[this.objectID]},a),function(e){var t,r=e.method,n=e.payload;if("object"!==eE(n))throw Error("The insights helper expects the payload to be an object.");try{t=(0,eb.h)(n)}catch(e){throw Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(r,'" data-insights-payload="').concat(t,'"')}({method:i,payload:r})))}catch(e){throw Error('\nThe insights helper expects a JSON object of the format:\n{ "method": "method-name", "payload": { "eventName": "name of the event" } }')}}},compileOptions:{}},t._stalledSearchDelay=void 0===p?200:p,t._searchStalledTimer=null,t._createURL=eW,t._initialUiState=void 0===l?{}:l,t._initialResults=null,t._insights=f,h&&(t._searchFunction=h),t.sendEventToInsights=ex.l,c){var T="boolean"==typeof c?{}:c;T.$$internal=!0,t.use(L(T))}if(f){var O="boolean"==typeof f?{}:f;O.$$internal=!0,t.use((0,g.k)(O))}return(0,n.x)(function(e){var t,r;return(null==(t=e.window.navigator)||null==(r=t.userAgent)?void 0:r.indexOf("Algolia Crawler"))>-1},{fallback:function(){return!1}})&&t.use(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.$$internal,r=void 0!==t&&t;return function(e){var t=e.instantSearchInstance,n={widgets:[]},i=document.createElement("meta"),a=document.querySelector("head");return i.name="instantsearch:widgets",{$$type:"ais.metadata",$$internal:r,onStateChange:function(){},subscribe:function(){setTimeout(function(){var e=t.client;n.ua=e.transporter&&e.transporter.userAgent?e.transporter.userAgent.value:e._ua,function e(t,r,n){var i=y(r,r.mainIndex,r._initialUiState);t.forEach(function(t){var a={};
29if(t.getWidgetRenderState){var o=t.getWidgetRenderState(i);o&&o.widgetParams&&(a=o.widgetParams)}var s=Object.keys(a).filter(function(e){return void 0!==a[e]});n.widgets.push({type:t.$$type,widgetType:t.$$widgetType,params:s}),"ais.index"===t.$$type&&e(t.getWidgets(),r,n)})}(t.mainIndex.getWidgets(),t,n),t.middleware.forEach(function(e){return n.widgets.push({middleware:!0,type:e.instance.$$type,internal:e.instance.$$internal})}),i.content=JSON.stringify(n),a.appendChild(i)},0)},started:function(){},unsubscribe:function(){i.remove()}}}}({$$internal:!0})),t}return r=[{key:"_isSearchStalled",get:function(){return"stalled"===this.status}},{key:"use",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=r.map(function(t){var r=eU({$$type:"__unknown__",$$internal:!1,subscribe:ex.l,started:ex.l,unsubscribe:ex.l,onStateChange:ex.l},t({instantSearchInstance:e}));return e.middleware.push({creator:t,instance:r}),r});return this.started&&i.forEach(function(e){e.subscribe(),e.started()}),this}},{key:"unuse",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.middleware.filter(function(e){return t.includes(e.creator)}).forEach(function(e){return e.instance.unsubscribe()}),this.middleware=this.middleware.filter(function(e){return!t.includes(e.creator)}),this}},{key:"EXPERIMENTAL_use",value:function(){return this.use.apply(this,arguments)}},{key:"addWidget",value:function(e){return this.addWidgets([e])}},{key:"addWidgets",value:function(e){if(!Array.isArray(e))throw Error(eG("The `addWidgets` method expects an array of widgets. Please use `addWidget`."));if(e.some(function(e){return"function"!=typeof e.init&&"function"!=typeof e.render}))throw Error(eG("The widget definition expects a `render` and/or an `init` method."));if(this.compositionID&&e.some(U.l))throw Error(eG("The `index` widget cannot be used with a composition-based InstantSearch implementation."));return this.mainIndex.addWidgets(e),this}},{key:"removeWidget",value:function(e){return this.removeWidgets([e])}},{key:"removeWidgets",value:function(e){if(!Array.isArray(e))throw Error(eG("The `removeWidgets` method expects an array of widgets. Please use `removeWidget`."));if(e.some(function(e){return"function"!=typeof e.dispose}))throw Error(eG("The widget definition expects a `dispose` method."));return this.mainIndex.removeWidgets(e),this}},{key:"start",value:function(){var e=this;if(this.started)throw Error(eG("The `start` method has already been called once."));var t=this.mainHelper||m(this.client,this.indexName,void 0,{persistHierarchicalRootCount:this.future.persistHierarchicalRootCount});if(this.compositionID&&(t.searchForFacetValues=t.searchForCompositionFacetValues.bind(t)),t.search=function(){return e.status="loading",e.scheduleRender(!1),e._hasSearchWidget&&(e.compositionID?t.searchWithComposition():t.searchOnlyWithDerivedHelpers()),e._hasRecommendWidget&&t.recommend(),t},this._searchFunction){var r={search:function(){return new Promise(ex.l)}};this._mainHelperSearch=t.search.bind(t),t.search=function(){var n=e.mainIndex.getHelper(),i=m(r,n.state.index,n.state);return i.once("search",function(t){var r=t.state;n.overrideStateWithoutTriggeringChangeEvent(r),e._mainHelperSearch()}),i.on("change",function(e){var t=e.state;n.setState(t)}),e._searchFunction(i),t}}if(t.on("error",function(t){var r=t.error;if(!(r instanceof Error)){var n=r;r=Object.keys(n).reduce(function(e,t){return e[t]=n[t],e},Error(n.message))}r.error=r,e.error=r,e.status="error",e.scheduleRender(!1),e.emit("error",r)}),this.mainHelper=t,this.middleware.forEach(function(e){e.instance.subscribe()}),this.mainIndex.init({instantSearchInstance:this,parent:null,uiState:this._initialUiState}),this._initialResults){!function(e,t){if(t&&("transporter"in e&&!e._cacheHydrated||e._useCache&&"function"==typeof e.addAlgoliaAgent)){var r=[Object.keys(t).reduce(function(e,r){var n=t[r],i=n.state,a=n.requestParams,o=n.results,s=o&&i?o.map(function(e,t){return eI({indexName:i.index||e.index},null!=a&&a[t]||e.params?{params:eR((null==a?void 0:a[t])||e.params.split("&").reduce(function(e,t){var r,n=function(e){if(Array.isArray(e))return e}
29(r=t.split("="))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,i,a,o=[],s=!0,l=!1;try{i=(t=t.call(e)).next,!1;for(;!(s=(r=i.call(t)).done)&&(o.push(r.value),2!==o.length);s=!0);}catch(e){l=!0,n=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(l)throw n}}return o}}(r)||function(e){if(e){if("string"==typeof e)return eA(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eA(e,2)}}(r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=n[0],a=n[1];return e[i]=a?decodeURIComponent(a):"",e},{}))}:{})}):[];return e.concat(s)},[])],n=Object.keys(t).reduce(function(e,r){var n=t[r].results;return n?e.concat(n):e},[]);if("transporter"in e&&!e._cacheHydrated){e._cacheHydrated=!0;var i=e.search.bind(e);e.search=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];var o=Array.isArray(t)?t.map(function(e){return eI(eI({},e),{},{params:eR(e.params)})}):eR(t.requestBody.params);return e.transporter.responsesCache.get({method:"search",args:[o].concat(n)},function(){return i.apply(void 0,[t].concat(n))})},e.transporter.responsesCache.set({method:"search",args:r},{results:n})}if(!("transporter"in e)){var a="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:r}));e.cache=eI(eI({},e.cache),{},eC({},a,JSON.stringify({results:Object.keys(t).map(function(e){return t[e].results})})))}}}(this.client,this._initialResults),this.mainHelper._recommendCache=Object.keys(n=this._initialResults).reduce(function(e,t){var r=n[t];return r.recommendResults?ej(ej({},e),r.recommendResults.results):e},{});var n,i=this.scheduleSearch;this.scheduleSearch=eO(ex.l),eO(function(){e.scheduleSearch=i})()}else this.mainIndex.getWidgets().length>0&&this.scheduleSearch();this.helper=this.mainIndex.getHelper(),this.started=!0,this.middleware.forEach(function(e){e.instance.started()}),void 0===this._insights&&t.derivedHelpers[0].once("result",function(){e.mainIndex.getScopedResults().some(function(e){var t=e.results;return null==t?void 0:t._automaticInsights})&&e.use((0,g.k)({$$internal:!0,$$automatic:!0}))})}},{key:"dispose",value:function(){var e;this.scheduleSearch.cancel(),this.scheduleRender.cancel(),clearTimeout(this._searchStalledTimer),this.removeWidgets(this.mainIndex.getWidgets()),this.mainIndex.dispose(),this.started=!1,this.removeAllListeners(),null==(e=this.mainHelper)||e.removeAllListeners(),this.mainHelper=null,this.helper=null,this.middleware.forEach(function(e){e.instance.unsubscribe()})}},{key:"scheduleStalledRender",value:function(){var e=this;this._searchStalledTimer||(this._searchStalledTimer=setTimeout(function(){e.status="stalled",e.scheduleRender()},this._stalledSearchDelay))}},{key:"setUiState",value:function(e){var t=this,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!this.mainHelper)throw Error(eG("The `start` method needs to be called before `setUiState`."));this.mainIndex.refreshUiState();var n="function"==typeof e?e(this.mainIndex.getWidgetUiState({})):e;this.onStateChange&&r?this.onStateChange({uiState:n,setUiState:function(e){eM("function"==typeof e?e(n):e,t.mainIndex),t.scheduleSearch(),t.onInternalStateChange()}}):(eM(n,this.mainIndex),this.scheduleSearch(),this.onInternalStateChange())}},{key:"getUiState",value:function(){return this.started&&this.mainIndex.refreshUiState(),this.mainIndex.getWidgetUiState({})}},{key:"createURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.started)throw Error(eG("The `start` method needs to be called before `createURL`."));return this._createURL(e)}},{key:"refresh",value:function(){if(!this.mainHelper)throw Error(eG("The `start` method needs to be called before `refresh`."));this.mainHelper.clearCache().search()}}],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,eq(n.key),n)}}(a.prototype,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(p),eZ=r(35338);let eK="7.15.0";var eX=r(27458);function eQ(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}var eJ=r(51119),e0=r(50825),e1=r(22806),e2=r(30880);function e4(e){return(e4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e6(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function e3(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
29t%2?e6(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=e4(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=e4(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==e4(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):e6(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var e5=["react (".concat(i.version,")"),"react-instantsearch (".concat(eK,")"),"react-instantsearch-core (".concat(eK,")")],e8="react-instantsearch-server (".concat(eK,")");function e9(e,t){"function"==typeof e.addAlgoliaAgent&&t.filter(Boolean).forEach(function(t){e.addAlgoliaAgent(t)})}var e7=["children"];function te(e){var t=e.children,r=function(e){var t=(function(e){if(Array.isArray(e))return e}(d=(0,i.useReducer)(function(e){return e+1},0))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,i,a,o=[],s=!0,l=!1;try{i=(t=t.call(e)).next,!1;for(;!(s=(r=i.call(t)).done)&&(o.push(r.value),2!==o.length);s=!0);}catch(e){l=!0,n=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(l)throw n}}return o}}(d)||function(e){if(e){if("string"==typeof e)return eQ(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eQ(e,2)}}(d)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1],r=(0,eJ.r)(),n=(0,e0.m)(),a=(0,e1.t)(),o=null==n?void 0:n.initialResults,s=(0,i.useRef)(e),l=r||o||a,u=(0,i.useRef)(null);if(n&&(u=n.ssrSearchRef),null===u.current){var c,d,f,h=new eY(e);h._schedule=function(e){h._schedule.queue.push(e),clearTimeout(h._schedule.timer),h._schedule.timer=setTimeout(function(){h._schedule.queue.forEach(function(e){e()}),h._schedule.queue=[]},0)},h._schedule.queue=[],l&&(h._initialResults=o||{}),e9(e.searchClient,[].concat(e5,[r&&e8,(f="u">typeof window&&(null==(c=window.next)?void 0:c.version)||(void 0!==e2?null==e2.env?void 0:"":void 0))?"next.js (".concat(f,")"):null])),l&&h.start(),r&&r.notifyServer({search:h}),e.routing,u.current=h}var p,m=u.current,g=s.current;g.indexName!==e.indexName&&(m.helper.setIndex(e.indexName||"").search(),s.current=e),g.searchClient!==e.searchClient&&(e9(e.searchClient,[].concat(e5,[r&&e8])),m.mainHelper.setClient(e.searchClient).search(),s.current=e),g.onStateChange!==e.onStateChange&&(m.onStateChange=e.onStateChange,s.current=e),g.searchFunction!==e.searchFunction&&(m._searchFunction=e.searchFunction,s.current=e),g.stalledSearchDelay!==e.stalledSearchDelay&&(m._stalledSearchDelay=null!=(p=e.stalledSearchDelay)?p:200,s.current=e),(0,eX.j)(g.future,e.future)||(m.future=e3(e3({},eV),e.future),s.current=e);var y=(0,i.useRef)(null);return(0,eZ.useSyncExternalStore)((0,i.useCallback)(function(){var e=u.current;return null===y.current?e.started||(e.start(),t()):(clearTimeout(y.current),e._preventWidgetCleanup=!1),function(){clearTimeout(e._schedule.timer),y.current=setTimeout(function(){e.dispose()}),e._preventWidgetCleanup=!0}},[t]),function(){return u.current},function(){return u.current})}(function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,e7));return r.started?i.createElement(h.t.Provider,{value:r},i.createElement(f.m.Provider,{value:r.mainIndex},t)):null}
29function tt(e,t){t(e),e.getWidgets().forEach(function(e){(0,U.l)(e)&&tt(e,t)})}function tr(e){return(tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ti(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tn(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=tr(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=tr(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tr(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tn(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var ta=r(25720),to=r(56741);function ts(e){return"status"in e||(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e}var tl={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},tu=/[&><\u2028\u2029]/g;function tc(e){return(tc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function td(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tf(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?td(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=tc(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=tc(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tc(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):td(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var th=function(e){var t=e.options,r=e.results,n=e.nonce;return function(){return t.inserted?i.createElement(i.Fragment,null):(t.inserted=!0,i.createElement("script",{nonce:n,dangerouslySetInnerHTML:{__html:'window[Symbol.for("InstantSearchInitialResults")] = '.concat(JSON.stringify(r).replace(tu,function(e){return tl[e]}))}}))}};function tp(e){var t,r=e.nonce,n=(0,to.I)(),a=(0,e1.t)(),o=(0,i.useContext)(ta.ServerInsertedHTMLContext)||function(){throw Error("Missing ServerInsertedHTMLContext")};n.compositionID?n.mainHelper.setClient(tf(tf({},n.mainHelper.getClient()),{},{search:function(e){return t=[e.requestBody.params],n.client.search(e)}})):n.mainHelper.setClient(tf(tf({},n.mainHelper.getClient()),{},{search:function(e){return t=e.map(function(e){return e.params}),n.client.search(e)}})),B=0;var s=function(){return new Promise(function(e){var t=!1,r=!1;n.mainHelper.derivedHelpers[0].once("result",function(){t=!0,(!n._hasRecommendWidget||r)&&e()}),n.mainHelper.derivedHelpers[0].once("recommend:result",function(){r=!0,(!n._hasSearchWidget||t)&&e()})})},l=function(){o(th({options:{inserted:!1},results:function(e,t){var r={},n=0;if(tt(e,function(e){var i=e.getResults(),a=null==(o=e.getHelper())?void 0:o.lastRecommendResults;if(i||a){var o,s,l,u,c=(null==i||null==(s=i._rawResults)?void 0:s.length)||0,d=c?null==t?void 0:t.slice(n,n+c):[];n+=c,r[e.getIndexId()]=ti(ti(ti({},i&&{state:ti(ti({},i._state),{},{clickAnalytics:null==d||null==(l=d[0])?void 0:l.clickAnalytics,userToken:null==d||null==(u=d[0])?void 0:u.userToken}),results:i._rawResults}),a&&{recommendResults:{params:JSON.parse(JSON.stringify(a._state.params)),results:a._rawResults}}
29),d&&{requestParams:d})}}),0===Object.keys(r).length)throw Error("The root index does not have any results. Make sure you have at least one widget that provides results.");return r}(n.mainIndex,t),nonce:r}))};return(null==a?void 0:a.current)===null&&(a.current=ts(s().then(function(){var e=!1;return tt(n.mainIndex,function(t){e=t.getWidgets().some(function(e){return"ais.dynamicWidgets"===e.$$type})}),e&&(a.current=ts(s().then(l))),e}).then(function(e){e||l()}))),null}r(34014);var tm=r(55783);function tg(e){return(tg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r(2742);var ty=function(){var e;if("u"<typeof window){var t,r=(0,tm.b)();e=(t=(0,tm.b)())&&("object"===tg(t)||"function"==typeof t)&&"function"==typeof t.then?(0,i.use)(r):r}return e};function tv(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tv(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=tE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=tE(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tE(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tv(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function tE(e){return(tE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var t_=["children","routing"];function tS(){return(tS=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)}var tw=Symbol.for("InstantSearchInitialResults"),tT=i.createElement(function(){var e,t,r,n,i=(0,to.I)(),a=(0,e1.t)();return(null==a||null==(e=a.current)?void 0:e.status)==="pending"&&(i._hasSearchWidget&&(i.compositionID?null==(r=i.mainHelper)||r.searchWithComposition():null==(n=i.mainHelper)||n.searchOnlyWithDerivedHelpers()),i._hasRecommendWidget&&(null==(t=i.mainHelper)||t.recommend())),null},null);function tO(e){var t=e.children,r=e.routing,o=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,t_),s=(0,i.useRef)(!0),l="u"<typeof window,u=(0,i.useMemo)(function(){return!l&&void 0===window[tw]},[l]),c=l||u;(0,i.useEffect)(function(){return s.current=!1,function(){delete window[tw]}},[]);var f=ty(),h=(0,n.x)(function(){},{fallback:function(){return(null==f?void 0:f.get("x-nonce"))||void 0}}),p=function(e,t){var r="u"<typeof window,n=(0,ta.usePathname)(),a=(0,ta.useSearchParams)(),o=(0,i.useRef)(null),s=(0,i.useRef)(null);(0,i.useEffect)(function(){s.current&&s.current()},[n,a]);var l=ty();if(e&&!o.current){var u={};u.getLocation=function(){return r?new URL("".concat((null==l?void 0:l.get("x-forwarded-proto"))||"http","://").concat(null==l?void 0:l.get("host")).concat(n,"?").concat(a)):t.current?new URL("".concat(window.location.protocol,"//").concat(window.location.host).concat(n,"?").concat(a)):window.location},u.push=function(e){this.isDisposed||history.pushState({},"",e)},u.start=function(e){s.current=e},o.current={},"object"===tE(e)&&(u=tb(tb({},u),e.router),o.current.stateMapping=e.stateMapping),o.current.router=O(u)}return o.current}(r,s),m=(0,i.useRef)(null),g=(0,n.x)(function(){return window[tw]});return i.createElement(a.V.Provider,{value:m},i.createElement(d,{initialResults:g},i.createElement(te,tS({},o,{routing:p}),c&&i.createElement(tp,{nonce:h}),t,c&&tT)))}},71388:(e,t)=>
29{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SIDE_BIN="101",t.MIDDLE_BIN="01010",t.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},t.EAN2_STRUCTURE=["LL","LG","GL","GG"],t.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],t.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]},71515:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=function(e){var t,r,n,i,o,c,d,f,h,p,m,g,y=[],v=e.css.valueOf(),b=v.length,E=-1,_=1,S=0,w=0;function T(t,r){if(e.safe)v+=r,f=v.length-1;else throw e.error("Unclosed "+t,_,S-E,S)}for(;S<b;){switch((t=v.charCodeAt(S))===a.newline&&(E=S,_+=1),t){case a.space:case a.tab:case a.newline:case a.cr:case a.feed:f=S;do f+=1,(t=v.charCodeAt(f))===a.newline&&(E=f,_+=1);while(t===a.space||t===a.newline||t===a.tab||t===a.cr||t===a.feed);g=a.space,n=_,r=f-E-1,w=f;break;case a.plus:case a.greaterThan:case a.tilde:case a.pipe:f=S;do f+=1,t=v.charCodeAt(f);while(t===a.plus||t===a.greaterThan||t===a.tilde||t===a.pipe);g=a.combinator,n=_,r=S-E,w=f;break;case a.asterisk:case a.ampersand:case a.bang:case a.comma:case a.equals:case a.dollar:case a.caret:case a.openSquare:case a.closeSquare:case a.colon:case a.semicolon:case a.openParenthesis:case a.closeParenthesis:f=S,g=t,n=_,r=S-E,w=f+1;break;case a.singleQuote:case a.doubleQuote:m=t===a.singleQuote?"'":'"',f=S;do for(i=!1,-1===(f=v.indexOf(m,f+1))&&T("quote",m),o=f;v.charCodeAt(o-1)===a.backslash;)o-=1,i=!i;while(i);g=a.str,n=_,r=S-E,w=f+1;break;default:t===a.slash&&v.charCodeAt(S+1)===a.asterisk?(0===(f=v.indexOf("*/",S+2)+1)&&T("comment","*/"),(c=(d=v.slice(S,f+1).split("\n")).length-1)>0?(h=_+c,p=f-d[c].length):(h=_,p=E),g=a.comment,_=h,n=h,r=f-p):t===a.slash?(f=S,g=t,n=_,r=S-E,w=f+1):(f=function(e,t){var r,n=t;do{if(l[r=e.charCodeAt(n)])break;r===a.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===a.space&&r++}else r++;return r}(e,n)+1:n++}while(n<e.length);return n-1}(v,S),g=a.word,n=_,r=f-E),w=f+1}y.push([g,_,S-E,n,r,S,w]),p&&(E=p,p=null),S=w}return y},t.FIELDS=void 0;var n,i,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();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 a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(r(85904));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}for(var s=((n={})[a.tab]=!0,n[a.newline]=!0,n[a.cr]=!0,n[a.feed]=!0,n),l=((i={})[a.space]=!0,i[a.tab]=!0,i[a.newline]=!0,i[a.cr]=!0,i[a.feed]=!0,i[a.ampersand]=!0,i[a.asterisk]=!0,i[a.bang]=!0,i[a.comma]=!0,i[a.colon]=!0,i[a.semicolon]=!0,i[a.openParenthesis]=!0,i[a.closeParenthesis]=!0,i[a.openSquare]=!0,i[a.closeSquare]=!0,i[a.singleQuote]=!0,i[a.doubleQuote]=!0,i[a.plus]=!0,i[a.pipe]=!0,i[a.tilde]=!0,i[a.greaterThan]=!0,i[a.equals]=!0,i[a.dollar]=!0,i[a.caret]=!0,i[a.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}},71681:(e,t,r)=>{"use strict";function n(e){let t=[],r=String(e||""),n=r.indexOf(","),i=0,a=!1;for(;!a;){-1===n&&(n=r.length,a=!0);let e=r.slice(i,n).trim();
29(e||!a)&&t.push(e),i=n+1,n=r.indexOf(",",i)}return t}function i(e,t){let r=t||{};return(""===e[e.length-1]?[...e,""]:e).join((r.padRight?" ":"")+","+(!1===r.padLeft?"":" ")).trim()}r.d(t,{A:()=>i,q:()=>n})},71774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={MutableRequestCookiesAdapter:function(){return p},ReadonlyRequestCookiesError:function(){return u},RequestCookiesAdapter:function(){return c},appendMutableCookies:function(){return h},areCookiesMutableInCurrentPhase:function(){return g},createCookiesWithMutableAccessCheck:function(){return m},getModifiedCookieValues:function(){return f},responseCookiesToRequestCookies:function(){return v}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(73573),o=r(10576),s=r(40923),l=r(94391);class u extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new u}}class c{static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"clear":case"delete":case"set":return u.callable;default:return o.ReflectAdapter.get(e,t,r)}}})}}let d=Symbol.for("next.mutated.cookies");function f(e){let t=e[d];return t&&Array.isArray(t)&&0!==t.length?t:[]}function h(e,t){let r=f(t);if(0===r.length)return!1;let n=new a.ResponseCookies(e),i=n.getAll();for(let e of r)n.set(e);for(let e of i)n.set(e);return!0}class p{static wrap(e,t){let r=new a.ResponseCookies(new Headers);for(let t of e.getAll())r.set(t);let n=[],i=new Set,u=()=>{let e=s.workAsyncStorage.getStore();if(e&&(e.pathWasRevalidated=l.ActionDidRevalidateStaticAndDynamic),n=r.getAll().filter(e=>i.has(e.name)),t){let e=[];for(let t of n){let r=new a.ResponseCookies(new Headers);r.set(t),e.push(r.toString())}t(e)}},c=new Proxy(r,{get(e,t,r){switch(t){case d:return n;case"delete":return function(...t){i.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.delete(...t),c}finally{u()}};case"set":return function(...t){i.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.set(...t),c}finally{u()}};default:return o.ReflectAdapter.get(e,t,r)}}});return c}}function m(e){let t=new Proxy(e.mutableCookies,{get(r,n,i){switch(n){case"delete":return function(...n){return y(e,"cookies().delete"),r.delete(...n),t};case"set":return function(...n){return y(e,"cookies().set"),r.set(...n),t};default:return o.ReflectAdapter.get(r,n,i)}}});return t}function g(e){return"action"===e.phase}function y(e,t){if(!g(e))throw new u}function v(e){let t=new a.RequestCookies(new Headers);for(let r of e.getAll())t.set(r);return t}},72065:e=>{"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},72115:(e,t,r)=>{"use strict";t.__esModule=!0,t.isNode=o,t.isPseudoElement=d,t.isPseudoClass=function(e){return u(e)&&!d(e)},t.isContainer=function(e){return!!(o(e)&&e.walk)},t.isNamespace=function(e){return l(e)||c(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(59110),a=((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 o(e){return"object"==typeof e&&a[e.type]}function s(e,t){return o(t)&&t.type===e}var l=s.bind(null,i.ATTRIBUTE);t.isAttribute=l,t.isClassName=s.bind(null,i.CLASS),t.isCombinator=s.bind(null,i.COMBINATOR),t.isComment=s.bind(null,i.COMMENT),t.isIdentifier=s.bind(null,i.ID),t.isNesting=s.bind(null,i.NESTING);var u=s.bind(null,i.PSEUDO);t.isPseudo=u,t.isRoot=s.bind(null,i.ROOT),t.isSelector=s.bind(null,i.SELECTOR),t.isString=s.bind(null,i.STRING);var c=s.bind(null,i.TAG);function d(e){return u(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.isTag=c,t.isUniversal=s.bind(null,i.UNIVERSAL)},72280:(e,t,r)=>{"use strict";
29Object.defineProperty(t,"__esModule",{value:!0});var n={getNamedMiddlewareRegex:function(){return m},getNamedRouteRegex:function(){return p},getRouteRegex:function(){return d}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(73524),o=r(4954),s=r(21854),l=r(9792),u=r(44111);function c(e,t,r){let n={},i=1,a=[];for(let c of(0,l.removeTrailingSlash)(e).slice(1).split("/")){let e=o.INTERCEPTION_ROUTE_MARKERS.find(e=>c.startsWith(e)),l=c.match(u.PARAMETER_PATTERN);if(e&&l&&l[2]){let{key:t,optional:r,repeat:o}=(0,u.parseMatchedParameter)(l[2]);n[t]={pos:i++,repeat:o,optional:r},a.push(`/${(0,s.escapeStringRegexp)(e)}([^/]+?)`)}else if(l&&l[2]){let{key:e,repeat:t,optional:o}=(0,u.parseMatchedParameter)(l[2]);n[e]={pos:i++,repeat:t,optional:o},r&&l[1]&&a.push(`/${(0,s.escapeStringRegexp)(l[1])}`);let c=t?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";r&&l[1]&&(c=c.substring(1)),a.push(c)}else a.push(`/${(0,s.escapeStringRegexp)(c)}`);t&&l&&l[3]&&a.push((0,s.escapeStringRegexp)(l[3]))}return{parameterizedRoute:a.join(""),groups:n}}function d(e,{includeSuffix:t=!1,includePrefix:r=!1,excludeOptionalTrailingSlash:n=!1}={}){let{parameterizedRoute:i,groups:a}=c(e,t,r),o=i;return n||(o+="(?:/)?"),{re:RegExp(`^${o}$`),groups:a}}function f({interceptionMarker:e,getSafeRouteKey:t,segment:r,routeKeys:n,keyPrefix:i,backreferenceDuplicateKeys:a}){let o,{key:l,optional:c,repeat:d}=(0,u.parseMatchedParameter)(r),h=l.replace(/\W/g,"");i&&(h=`${i}${h}`);let p=!1;(0===h.length||h.length>30)&&(p=!0),isNaN(parseInt(h.slice(0,1)))||(p=!0),p&&(h=t());let m=h in n;i?n[h]=`${i}${l}`:n[h]=l;let g=e?(0,s.escapeStringRegexp)(e):"";return o=m&&a?`\\k<${h}>`:d?`(?<${h}>.+?)`:`(?<${h}>[^/]+?)`,{key:l,pattern:c?`(?:/${g}${o})?`:`/${g}${o}`,cleanedKey:h,optional:c,repeat:d}}function h(e,t,r,n,i,c={names:{},intercepted:{}}){let d,p=(d=0,()=>{let e="",t=++d;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),m={},g=[],y=[];for(let d of(c=structuredClone(c),(0,l.removeTrailingSlash)(e).slice(1).split("/"))){let e,l=o.INTERCEPTION_ROUTE_MARKERS.some(e=>d.startsWith(e)),h=d.match(u.PARAMETER_PATTERN),v=l?h?.[1]:void 0;if(v&&h?.[2]?(e=t?a.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,c.intercepted[h[2]]=v):e=h?.[2]&&c.intercepted[h[2]]?t?a.NEXT_INTERCEPTION_MARKER_PREFIX:void 0:t?a.NEXT_QUERY_PARAM_PREFIX:void 0,v&&h&&h[2]){let{key:t,pattern:r,cleanedKey:n,repeat:a,optional:o}=f({getSafeRouteKey:p,interceptionMarker:v,segment:h[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:i});g.push(r),y.push(`/${h[1]}:${c.names[t]??n}${a?o?"*":"+":""}`),c.names[t]??=n}else if(h&&h[2]){n&&h[1]&&(g.push(`/${(0,s.escapeStringRegexp)(h[1])}`),y.push(`/${h[1]}`));let{key:t,pattern:r,cleanedKey:a,repeat:o,optional:l}=f({getSafeRouteKey:p,segment:h[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:i}),u=r;n&&h[1]&&(u=u.substring(1)),g.push(u),y.push(`/:${c.names[t]??a}${o?l?"*":"+":""}`),c.names[t]??=a}else g.push(`/${(0,s.escapeStringRegexp)(d)}`),y.push(`/${d}`);r&&h&&h[3]&&(g.push((0,s.escapeStringRegexp)(h[3])),y.push(h[3]))}return{namedParameterizedRoute:g.join(""),routeKeys:m,pathToRegexpPattern:y.join(""),reference:c}}
29function p(e,t){let r=h(e,t.prefixRouteKeys,t.includeSuffix??!1,t.includePrefix??!1,t.backreferenceDuplicateKeys??!1,t.reference),n=r.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(n+="(?:/)?"),{...d(e,t),namedRegex:`^${n}$`,routeKeys:r.routeKeys,pathToRegexpPattern:r.pathToRegexpPattern,reference:r.reference}}function m(e,t){let{parameterizedRoute:r}=c(e,!1,!1),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:`^/${n?".*":""}$`};let{namedParameterizedRoute:i}=h(e,!1,!1,!1,!1,void 0);return{namedRegex:`^${i}${n?"(?:(/.*)?)":""}$`}}},73192:e=>{"use strict";e.exports=function(e,t,r){if(!Array.isArray(e))return[];Array.isArray(r)||(r=[]);var n=e.map(function(e,r){return{criteria:t.map(function(t){return e[t]}),index:r,value:e}});return n.sort(function(e,t){for(var n=-1;++n<e.criteria.length;){var i=function(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=void 0!==t,a=null===t;if(!a&&e>t||n&&i||!r)return 1;if(!n&&e<t||a&&r||!i)return -1}return 0}(e.criteria[n],t.criteria[n]);if(i){if(n>=r.length)return i;if("desc"===r[n])return-i;return i}}return e.index-t.index}),n.map(function(e){return e.value})}},73573:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={RequestCookies:function(){return a.RequestCookies},ResponseCookies:function(){return a.ResponseCookies},stringifyCookie:function(){return a.stringifyCookie}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(32596)},74283:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},o=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,i=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!a)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;else if(i)return i(e,r).value}return e[r]};e.exports=function e(){var t,r,n,i,u,c,d=arguments[0],f=1,h=arguments.length,p=!1;for("boolean"==typeof d&&(p=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<h;++f)if(t=arguments[f],null!=t)for(r in t)n=l(d,r),d!==(i=l(t,r))&&(p&&i&&(o(i)||(u=a(i)))?(u?(u=!1,c=n&&a(n)?n:[]):c=n&&o(n)?n:{},s(d,{name:r,newValue:e(p,c,i)})):void 0!==i&&s(d,{name:r,newValue:i}));return d}},74495:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(74180),i="u">typeof window?n.useLayoutEffect:n.useEffect},74777:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return T},useLinkStatus:function(){return w}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(87408),o=r(67368),s=a._(r(74180)),l=r(25675),u=r(76203),c=r(67202),d=r(49596),f=r(56053),h=r(9882),p=r(44821),m=r(36331),g=r(18390),y=r(38927);r(77801);let v=new Set;function b(e,t,r,n){if((0,u.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)}e.prefetch(t,r,n).catch(e=>{})}}function E(e){return"string"==typeof e?e:(0,c.formatUrl)(e)}let _=s.default.forwardRef(function(e,t){let r,n,{href:i,as:a,children:c,prefetch:v=null,passHref:_,replace:S,shallow:w,scroll:T,locale:O,onClick:x,onNavigate:P,onMouseEnter:A,onTouchStart:k,legacyBehavior:I=!1,transitionTypes:C,...R}=e;r=c,I&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let D=s.default.useContext(h.RouterContext),N=!1!==v,{href:j,as:M}=s.default.useMemo(()=>{if(!D){let e=E(i);return{href:e,as:a?E(a):e}}let[e,t]=(0,l.resolveHref)(D,i,!0);return{href:e,as:a?(0,l.resolveHref)(D,a):t||e}},[D,i,a]),L=s.default.useRef(j),$=s.default.useRef(M);I&&(n=s.default.Children.only(r));let U=I?n&&"object"==typeof n&&n.ref:t,[F,B,z]=(0,p.useIntersection)({rootMargin:"200px"}),H=s.default.useCallback(e=>{($.current!==M||L.current!==j)&&(z(),$.current=M,L.current=j),F(e)},[M,j,z,F]),q=(0,y.useMergedRef)(H,U);s.default.useEffect(()=>{!D||B&&N&&b(D,j,M,{locale:O})},[M,j,B,O,N,D?.locale,D]);let G={ref:q,onClick(e){I||"function"!=typeof x||x(e),I&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!D||e.defaultPrevented||function(e,t,r,n,i,a,o,s,l){let c,{nodeName:d}=e.currentTarget;if(!("A"===d.toUpperCase()&&((c=e.currentTarget.getAttribute("target"))&&"_self"!==c||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))){if
29(!(0,u.isLocalURL)(r)){i&&(e.preventDefault(),location.replace(r));return}e.preventDefault(),(()=>{if(l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let e=o??!0;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:a,locale:s,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})})()}}(e,D,j,M,S,w,T,O,P)},onMouseEnter(e){I||"function"!=typeof A||A(e),I&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),D&&b(D,j,M,{locale:O,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){I||"function"!=typeof k||k(e),I&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),D&&b(D,j,M,{locale:O,priority:!0,bypassPrefetchedCheck:!0})}};if((0,d.isAbsoluteUrl)(M))G.href=M;else if(!I||_||"a"===n.type&&!("href"in n.props)){let e=void 0!==O?O:D?.locale;G.href=D?.isLocaleDomain&&(0,m.getDomainLocale)(M,e,D?.locales,D?.domainLocales)||(0,g.addBasePath)((0,f.addLocale)(M,e,D?.defaultLocale))}return I?s.default.cloneElement(n,G):(0,o.jsx)("a",{...R,...G,children:r})}),S=(0,s.createContext)({pending:!1}),w=()=>(0,s.useContext)(S),T=_;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},75518:(e,t,r)=>{"use strict";var n,i=r(30880);Object.defineProperty(t,"__esModule",{value:!0});var a={dim:function(){return c},default:function(){return d}};for(var o in a)Object.defineProperty(t,o,{enumerable:!0,get:a[o]});let s=(n=r(58690))&&n.__esModule?n:{default:n},l=new Set;function u(e,t,r){void 0!==i&&i.env.JEST_WORKER_ID||r&&l.has(r)||(r&&l.add(r),console.warn(""),t.forEach(t=>console.warn(e,"-",t)))}function c(e){return s.default.dim(e)}let d={info(e,t){u(s.default.bold(s.default.cyan("info")),...Array.isArray(e)?[e]:[t,e])},warn(e,t){u(s.default.bold(s.default.yellow("warn")),...Array.isArray(e)?[e]:[t,e])},risk(e,t){u(s.default.bold(s.default.magenta("risk")),...Array.isArray(e)?[e]:[t,e])}}},75721:e=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t={};(()=>{function e(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r<e.length;){var n=e[r];if("*"===n||"+"===n||"?"===n){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===n){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===n){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===n){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===n){for(var i="",a=r+1;a<e.length;){var o=e.charCodeAt(a);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||95===o){i+=e[a++];continue}break}if(!i)throw TypeError("Missing parameter name at ".concat(r));t.push({type:"NAME",index:r,value:i}),r=a;continue}if("("===n){var s=1,l="",a=r+1;if("?"===e[a])throw TypeError('Pattern cannot start with "?" at '.concat(a));for(;a<e.length;){if("\\"===e[a]){l+=e[a++]+e[a++];continue}if(")"===e[a]){if(0==--s){a++;break}}else if("("===e[a]&&(s++,"?"!==e[a+1]))throw TypeError("Capturing groups are not allowed at ".concat(a));l+=e[a++]}if(s)throw TypeError("Unbalanced pattern at ".concat(r));if(!l)throw TypeError("Missing pattern at ".concat(r));t.push({type:"PATTERN",index:r,value:l}),r=a;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),n=t.prefixes,a=void 0===n?"./":n,o=t.delimiter,s=void 0===o?"/#?":o,l=[],u=0,c=0,d="",f=function(e){if(c<r.length&&r[c].type===e)return r[c++].value},h=function(e){var t=f(e);if(void 0!==t)return t;var n=r[c],i=n.type,a=n.index;throw TypeError("Unexpected ".concat(i," at ").concat(a,", expected ").concat(e))},p=function(){for(var e,t="";e=f("CHAR")||f("ESCAPED_CHAR");)t+=e;return t},m=function(e){for(var t=0;t<s.length;t++){var r=s[t];if(e.indexOf(r)>-1)return!0}return!1},g=function(e){var t=l[l.length-1],r=e||(t&&"string"==typeof t?t:"");if(t&&!r)throw TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!r||m(r)?"[^".concat(i(s),"]+?"):"(?:(?!".concat(i(r),")[^").concat(i(s),"])+?")};c<r.length;){var y=f("CHAR"),v=f("NAME"),b=f("PATTERN");if(v||b){var E=y||"";-1===a.indexOf(E)&&(d+=E,E=""),d&&(l.push(d),d=""),l.push({name:v||u++,prefix:E,suffix:"",pattern:b||g(E),modifier:f("MODIFIER")||""});continue}var _=y||f("ESCAPED_CHAR");
29if(_){d+=_;continue}if(d&&(l.push(d),d=""),f("OPEN")){var E=p(),S=f("NAME")||"",w=f("PATTERN")||"",T=p();h("CLOSE"),l.push({name:S||(w?u++:""),pattern:S&&!w?g(E):w,prefix:E,suffix:T,modifier:f("MODIFIER")||""});continue}h("END")}return l}function r(e,t){void 0===t&&(t={});var r=a(t),n=t.encode,i=void 0===n?function(e){return e}:n,o=t.validate,s=void 0===o||o,l=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),r)});return function(t){for(var r="",n=0;n<e.length;n++){var a=e[n];if("string"==typeof a){r+=a;continue}var o=t?t[a.name]:void 0,u="?"===a.modifier||"*"===a.modifier,c="*"===a.modifier||"+"===a.modifier;if(Array.isArray(o)){if(!c)throw TypeError('Expected "'.concat(a.name,'" to not repeat, but got an array'));if(0===o.length){if(u)continue;throw TypeError('Expected "'.concat(a.name,'" to not be empty'))}for(var d=0;d<o.length;d++){var f=i(o[d],a);if(s&&!l[n].test(f))throw TypeError('Expected all "'.concat(a.name,'" to match "').concat(a.pattern,'", but got "').concat(f,'"'));r+=a.prefix+f+a.suffix}continue}if("string"==typeof o||"number"==typeof o){var f=i(String(o),a);if(s&&!l[n].test(f))throw TypeError('Expected "'.concat(a.name,'" to match "').concat(a.pattern,'", but got "').concat(f,'"'));r+=a.prefix+f+a.suffix;continue}if(!u){var h=c?"an array":"a string";throw TypeError('Expected "'.concat(a.name,'" to be ').concat(h))}}return r}}function n(e,t,r){void 0===r&&(r={});var n=r.decode,i=void 0===n?function(e){return e}:n;return function(r){var n=e.exec(r);if(!n)return!1;for(var a=n[0],o=n.index,s=Object.create(null),l=1;l<n.length;l++)!function(e){if(void 0!==n[e]){var r=t[e-1];"*"===r.modifier||"+"===r.modifier?s[r.name]=n[e].split(r.prefix+r.suffix).map(function(e){return i(e,r)}):s[r.name]=i(n[e],r)}}(l);return{path:a,index:o,params:s}}}function i(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function a(e){return e&&e.sensitive?"":"i"}function o(e,t,r){void 0===r&&(r={});for(var n=r.strict,o=void 0!==n&&n,s=r.start,l=r.end,u=r.encode,c=void 0===u?function(e){return e}:u,d=r.delimiter,f=r.endsWith,h="[".concat(i(void 0===f?"":f),"]|$"),p="[".concat(i(void 0===d?"/#?":d),"]"),m=void 0===s||s?"^":"",g=0;g<e.length;g++){var y=e[g];if("string"==typeof y)m+=i(c(y));else{var v=i(c(y.prefix)),b=i(c(y.suffix));if(y.pattern)if(t&&t.push(y),v||b)if("+"===y.modifier||"*"===y.modifier){var E="*"===y.modifier?"?":"";m+="(?:".concat(v,"((?:").concat(y.pattern,")(?:").concat(b).concat(v,"(?:").concat(y.pattern,"))*)").concat(b,")").concat(E)}else m+="(?:".concat(v,"(").concat(y.pattern,")").concat(b,")").concat(y.modifier);else{if("+"===y.modifier||"*"===y.modifier)throw TypeError('Can not repeat "'.concat(y.name,'" without a prefix and suffix'));m+="(".concat(y.pattern,")").concat(y.modifier)}else m+="(?:".concat(v).concat(b,")").concat(y.modifier)}}if(void 0===l||l)o||(m+="".concat(p,"?")),m+=r.endsWith?"(?=".concat(h,")"):"$";else{var _=e[e.length-1],S="string"==typeof _?p.indexOf(_[_.length-1])>-1:void 0===_;o||(m+="(?:".concat(p,"(?=").concat(h,"))?")),S||(m+="(?=".concat(p,"|").concat(h,")"))}return new RegExp(m,a(r))}function s(t,r,n){if(t instanceof RegExp){var i;if(!r)return t;for(var l=/\((?:\?<(.*?)>)?(?!\?)/g,u=0,c=l.exec(t.source);c;)r.push({name:c[1]||u++,prefix:"",suffix:"",modifier:"",pattern:""}),c=l.exec(t.source);return t}return Array.isArray(t)?(i=t.map(function(e){return s(e,r,n).source}),new RegExp("(?:".concat(i.join("|"),")"),a(n))):o(e(t,n),r,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.pathToRegexp=t.tokensToRegexp=t.regexpToFunction=t.match=t.tokensToFunction=t.compile=t.parse=void 0,t.parse=e,t.compile=function(t,n){return r(e(t,n),n)},t.tokensToFunction=r,t.match=function(e,t){var r=[];return n(s(e,r,t),r,t)},t.regexpToFunction=n,t.tokensToRegexp=o,t.pathToRegexp=s})(),e.exports=t})()},77015:(e,t,r)=>{"use strict";let n;r.d(t,{UE:()=>eE,ll:()=>ep,rD:()=>eS,UU:()=>ey,jD:()=>eb,ER:()=>e_,cY:()=>em,BN:()=>eg,Ej:()=>ev});let i=["top","right","bottom","left"],a=Math.min,o=Math.max,s=Math.round,l=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function y(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let v=["left","right"],b=["right","left"],E=["top","bottom"],_=["bottom","top"];function S(e){let t=f(e);return c[t]+e.slice(t.length)}function w(e){var t,r,n,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(r=e.right)?r:0,bottom:null!=(n=e.bottom)?n:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}}function T(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function O(e,t,r){let n,{reference:i,floating:a}=e,o=g(t),s=p(g(t)),l=m(s),u=f(t),c=i.x+i.width/2-a.width/2,d=i.y+i.height/2-a.height/2,y=i[l]/2-a[l]/2;switch(u){case"top":n={x:c,y:i.y-a.height};break;case"bottom":n={x:c,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:d};break;case"left":n={x:i.x-a.width,y:d};break;default:n={x:i.x,y:i.y}}let v=h(t);return v&&(n[s]+=y*("end"===v?1:-1)*(r&&"y"===o?-1:1)),n}async function x(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:a,rects:o,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=d(t,e),m=w(p),g=s[h?"floating"===f?"reference":"floating":f],y=T(await a.getClippingRect
29({element:null==(r=await (null==a.isElement?void 0:a.isElement(g)))||r?g:g.contextElement||await (null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===f?{x:n,y:i,width:o.floating.width,height:o.floating.height}:o.reference,b=await (null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),E=await (null==a.isElement?void 0:a.isElement(b))&&await (null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},_=T(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:b,strategy:l}):v);return{top:(y.top-_.top+m.top)/E.y,bottom:(_.bottom-y.bottom+m.bottom)/E.y,left:(y.left-_.left+m.left)/E.x,right:(_.right-y.right+m.right)/E.x}}let P=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:o}=r,s=o.detectOverflow?o:{...o,detectOverflow:x},l=await (null==o.isRTL?void 0:o.isRTL(t)),u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=O(u,n,l),f=n,h=0,p={};for(let r=0;r<a.length;r++){let m=a[r];if(!m)continue;let{name:g,fn:y}=m,{x:v,y:b,data:E,reset:_}=await y({x:c,y:d,initialPlacement:n,placement:f,strategy:i,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=b?b:d,p[g]={...p[g],...E},_&&h<50&&(h++,"object"==typeof _&&(_.placement&&(f=_.placement),_.rects&&(u=!0===_.rects?await o.getElementRects({reference:e,floating:t,strategy:i}):_.rects),{x:c,y:d}=O(u,f,l)),r=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:p}};function A(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function k(e){return i.some(t=>e[t]>=0)}let I=new Set(["left","top"]);async function C(e,t){let{placement:r,platform:n,elements:i}=e,a=await (null==n.isRTL?void 0:n.isRTL(i.floating)),o=f(r),s=h(r),l="y"===g(r),u=I.has(o)?-1:1,c=a&&l?-1:1,p=d(t,e),{mainAxis:m,crossAxis:y,alignmentAxis:v}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return s&&"number"==typeof v&&(y="end"===s?-1*v:v),l?{x:y*c,y:m*u}:{x:m*u,y:y*c}}function R(){return"u">typeof window}function D(e){return M(e)?(e.nodeName||"").toLowerCase():"#document"}function N(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function j(e){var t;return null==(t=(M(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function M(e){return!!R()&&(e instanceof Node||e instanceof N(e).Node)}function L(e){return!!R()&&(e instanceof Element||e instanceof N(e).Element)}function $(e){return!!R()&&(e instanceof HTMLElement||e instanceof N(e).HTMLElement)}function U(e){return!(!R()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof N(e).ShadowRoot)}function F(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==i&&"contents"!==i}function B(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let z=/transform|translate|scale|rotate|perspective|filter/,H=/paint|layout|strict|content/,q=e=>!!e&&"none"!==e;function G(e){let t=L(e)?Y(e):e;return q(t.transform)||q(t.translate)||q(t.scale)||q(t.rotate)||q(t.perspective)||!W()&&(q(t.backdropFilter)||q(t.filter))||z.test(t.willChange||"")||H.test(t.contain||"")}function W(){return null==n&&(n="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function V(e){return/^(html|body|#document)$/.test(D(e))}function Y(e){return N(e).getComputedStyle(e)}function Z(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function K(e){if("html"===D(e))return e;let t=e.assignedSlot||e.parentNode||U(e)&&e.host||j(e);return U(t)?t.host:t}function X(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=K(t);return V(r)?(t.ownerDocument||t).body:$(r)&&F(r)?r:e(r)}(e),a=i===(null==(n=e.ownerDocument)?void 0:n.body),o=N(i);
29if(!a)return t.concat(i,X(i,[],r));{let e=Q(o);return t.concat(o,o.visualViewport||[],F(i)?i:[],e&&r?X(e):[])}}function Q(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function J(e){let t=Y(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=$(e),a=i?e.offsetWidth:r,o=i?e.offsetHeight:n,l=s(r)!==a||s(n)!==o;return l&&(r=a,n=o),{width:r,height:n,$:l}}function ee(e){return L(e)?e:e.contextElement}function et(e){let t=ee(e);if(!$(t))return u(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:a}=J(t),o=(a?s(r.width):r.width)/n,l=(a?s(r.height):r.height)/i;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}let er=u(0);function en(e){let t=N(e);return W()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function ei(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let a=e.getBoundingClientRect(),o=ee(e),s=u(1);t&&(n?L(n)&&(s=et(n)):s=et(e));let l=(void 0===(i=r)&&(i=!1),n&&i&&n===N(o))?en(o):u(0),c=(a.left+l.x)/s.x,d=(a.top+l.y)/s.y,f=a.width/s.x,h=a.height/s.y;if(o&&n){let e=N(o),t=L(n)?N(n):n,r=e,i=Q(r);for(;i&&t!==r;){let e=et(i),t=i.getBoundingClientRect(),n=Y(i),a=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,d*=e.y,f*=e.x,h*=e.y,c+=a,d+=o,i=Q(r=N(i))}}return T({width:f,height:h,x:c,y:d})}function ea(e,t){let r=Z(e).scrollLeft;return t?t.left+r:ei(j(e)).left+r}function eo(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ea(e,r),y:r.top+t.scrollTop}}function es(e,t,r){var n;let i;if("viewport"===t||"layoutViewport"===t)i=function(e,t,r){void 0===r&&(r="viewport");let n="layoutViewport"===r,i=N(e),a=j(e),o=i.visualViewport,s=a.clientWidth,l=a.clientHeight,u=0,c=0;if(o){let e=!W()||"fixed"===t;n?e||(u=-o.offsetLeft,c=-o.offsetTop):(s=o.width,l=o.height,e&&(u=o.offsetLeft,c=o.offsetTop))}if(0>=ea(a)){let e=a.ownerDocument,t=e.body,r=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-n),o="stable both-edges"===getComputedStyle(a).scrollbarGutter?i/2:i;o<=25&&(s-=o)}return{width:s,height:l,x:u,y:c}}(e,r,t);else if("document"===t){let t,r,a,s,l,u;t=Z(n=j(e)),r=n.ownerDocument.body,a=o(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),s=o(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight),l=-t.scrollLeft+ea(n),u=-t.scrollTop,"rtl"===Y(r).direction&&(l+=o(n.clientWidth,r.clientWidth)-a),i={width:a,height:s,x:l,y:u}}else if(L(t)){let e,n,a,o,s,l;n=(e=ei(t,!0,"fixed"===r)).top+t.clientTop,a=e.left+t.clientLeft,o=et(t),s=t.clientWidth*o.x,l=t.clientHeight*o.y,i={width:s,height:l,x:a*o.x,y:n*o.y}}else{let r=en(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return T(i)}function el(e){return"static"===Y(e).position}function eu(e,t){if(!$(e)||"fixed"===Y(e).position)return null;if(t)return t(e);let r=e.offsetParent;return j(e)===r&&(r=r.ownerDocument.body),r}function ec(e,t){var r;let n=N(e);if(B(e))return n;if(!$(e)){let t=K(e);for(;t&&!V(t);){if(L(t)&&!el(t))return t;t=K(t)}return n}let i=eu(e,t);for(;i&&(r=i,/^(table|td|th)$/.test(D(r)))&&el(i);)i=eu(i,t);return i&&V(i)&&el(i)&&!G(i)?n:i||function(e){let t=K(e);for(;$(t)&&!V(t);){if(G(t))return t;if(B(t))break;t=K(t)}return null}(e)||n}let ed=async function(e){let t=this.getOffsetParent||ec,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=$(t),i=j(t),a="fixed"===r,o=ei(e,!0,a,t),s={scrollLeft:0,scrollTop:0},l=u(0);if((n||!a)&&(("body"!==D(t)||F(i))&&(s=Z(t)),n)){let e=ei(t,!0,a,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}!n&&i&&(l.x=ea(i));let c=!i||n||a?u(0):eo(i,s);return{x:o.left+s.scrollLeft-l.x-c.x,y:o.top+s.scrollTop-l.y-c.y,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},ef={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,a="fixed"===i,o=j(n),s=!!t&&B(t.floating);if(n===o||s&&a)return r;let l={scrollLeft:0,scrollTop:0},c=u(1),d=u(0),f=$(n);
29if((f||!a)&&(("body"!==D(n)||F(o))&&(l=Z(n)),f)){let e=ei(n);c=et(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}let h=!o||f||a?u(0):eo(o,l);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:r.y*c.y-l.scrollTop*c.y+d.y+h.y}},getDocumentElement:j,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,s=[..."clippingAncestors"===r?B(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=X(e,[],!1).filter(e=>L(e)&&"body"!==D(e)),i=null,a="fixed"===Y(e).position,o=a?K(e):e;for(;L(o)&&!V(o);){let e=Y(o),t=G(o),r=i?i.position:a?"fixed":"";t||"fixed"!==r&&("absolute"!==r||"static"!==e.position)?i=e:n=n.filter(e=>e!==o),o=K(o)}return t.set(e,n),n}(t,this._c):[].concat(r),n],l=es(t,s[0],i),u=l.top,c=l.right,d=l.bottom,f=l.left;for(let e=1;e<s.length;e++){let r=es(t,s[e],i);u=o(r.top,u),c=a(r.right,c),d=a(r.bottom,d),f=o(r.left,f)}return{width:c-f,height:d-u,x:f,y:u}},getOffsetParent:ec,getElementRects:ed,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:r}=J(e);return{width:t,height:r}},getScale:et,isElement:L,isRTL:function(e){return"rtl"===Y(e).direction}};function eh(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ep(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:s=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=n,h=ee(e),p=s||u?[...h?X(h):[],...t?X(t):[]]:[];p.forEach(e=>{s&&e.addEventListener("scroll",r),u&&e.addEventListener("resize",r)});let m=h&&d?function(e,t,r){let n,i=null,s=j(e);function u(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}function c(r,d){void 0===r&&(r=!1),void 0===d&&(d=1),u();let f=e.getBoundingClientRect(),{left:h,top:p,width:m,height:g}=f;if(r||t(),!m||!g)return;let y={rootMargin:-l(p)+"px "+-l(s.clientWidth-(h+m))+"px "+-l(s.clientHeight-(p+g))+"px "+-l(h)+"px",threshold:o(0,a(1,d))||1},v=!0;function b(t){let r=t[0].intersectionRatio;if(!eh(f,e.getBoundingClientRect()))return c();if(r!==d){if(!v)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}v=!1}try{i=new IntersectionObserver(b,{...y,root:s.ownerDocument})}catch(e){i=new IntersectionObserver(b,y)}i.observe(e)}let d=N(e),f=()=>c(r);return d.addEventListener("resize",f),c(!0),()=>{d.removeEventListener("resize",f),u()}}(h,r,u):null,g=-1,y=null;c&&(y=new ResizeObserver(e=>{let[n]=e;n&&n.target===h&&y&&t&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),r()}),h&&!f&&y.observe(h),t&&y.observe(t));let v=f?ei(e):null;return f&&function t(){let n=ei(e);v&&!eh(v,n)&&r(),v=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;p.forEach(e=>{s&&e.removeEventListener("scroll",r),u&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,f&&cancelAnimationFrame(i)}}let em=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:i,y:a,placement:o,middlewareData:s}=t,l=await C(t,e);return o===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:o}}}}},eg=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i,platform:s}=t,{mainAxis:l=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...f}=d(e,t),h={x:r,y:n},m=await s.detectOverflow(t,f),y=g(i),v=p(y),b=h[v],E=h[y],_=(e,t)=>o(t+m["y"===e?"top":"left"],a(t,t-m["y"===e?"bottom":"right"]));l&&(b=_(v,b)),u&&(E=_(y,E));let S=c.fn({...t,[v]:b,[y]:E});return{...S,data:{x:S.x-r,y:S.y-n,enabled:{[v]:l,[y]:u}}}}}},ey=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,i,a,o,s,l,u;let c,w,T,{placement:O,middlewareData:x,rects:P,initialPlacement:A,platform:k,elements:I}=t,{mainAxis:C=!0,crossAxis:R=!0,fallbackPlacements:D,fallbackStrategy:N="bestFit",fallbackAxisSideDirection:j="none",flipAlignment:M=!0,...L}=d(e,t);if(null!=(r=x.arrow)&&r.alignmentOffset)return{};let $=f(O),U=g(A),F=f(A)===A,B=await (null==k.isRTL?void 0:k.isRTL(I.floating)),z=D||(F||!M?[S(A)]:(c=S(A),[y(A),c,y(c)])
29),H="none"!==j;!D&&H&&z.push(...(w=h(A),T=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?b:v;return t?v:b;case"left":case"right":return t?E:_;default:return[]}}(f(A),"start"===j,B),w&&(T=T.map(e=>e+"-"+w),M&&(T=T.concat(T.map(y)))),T));let q=[A,...z],G=await k.detectOverflow(t,L),W=[],V=(null==(n=x.flip)?void 0:n.overflows)||[];if(C&&W.push(G[$]),R){let e,t,r,n,i=(s=O,l=P,void 0===(u=B)&&(u=!1),e=h(s),r=m(t=p(g(s))),n="x"===t?e===(u?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[r]>l.floating[r]&&(n=S(n)),[n,S(n)]);W.push(G[i[0]],G[i[1]])}if(V=[...V,{placement:O,overflows:W}],!W.every(e=>e<=0)){let e=((null==(i=x.flip)?void 0:i.index)||0)+1,t=q[e];if(t&&("alignment"!==R||U===g(t)||V.every(e=>g(e.placement)!==U||e.overflows[0]>0)))return{data:{index:e,overflows:V},reset:{placement:t}};let r=null==(a=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!r)switch(N){case"bestFit":{let e=null==(o=V.filter(e=>{if(H){let t=g(e.placement);return t===U||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(r=e);break}case"initialPlacement":r=A}if(O!==r)return{reset:{placement:r}}}return{}}}},ev=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let r,n,{placement:i,rects:s,platform:l,elements:u}=t,{apply:c=()=>{},...p}=d(e,t),m=await l.detectOverflow(t,p),y=f(i),v=h(i),b="y"===g(i),{width:E,height:_}=s.floating;"top"===y||"bottom"===y?(r=y,n=v===(await (null==l.isRTL?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(n=y,r="end"===v?"top":"bottom");let S=_-m.top-m.bottom,w=E-m.left-m.right,T=a(_-m[r],S),O=a(E-m[n],w),x=t.middlewareData.shift,P=!x,A=T,k=O;null!=x&&x.enabled.x&&(k=w),null!=x&&x.enabled.y&&(A=S),P&&!v&&(b?k=E-2*o(m.left,m.right):A=_-2*o(m.top,m.bottom)),await c({...t,availableWidth:k,availableHeight:A});let I=await l.getDimensions(u.floating);return E!==I.width||_!==I.height?{reset:{rects:!0}}:{}}}},eb=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r,platform:n}=t,{strategy:i="referenceHidden",...a}=d(e,t);switch(i){case"referenceHidden":{let e=A(await n.detectOverflow(t,{...a,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:k(e)}}}case"escaped":{let e=A(await n.detectOverflow(t,{...a,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:k(e)}}}default:return{}}}}},eE=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:s,platform:l,elements:u,middlewareData:c}=t,{element:f,padding:y=0}=d(e,t)||{};if(null==f)return{};let v=w(y),b={x:r,y:n},E=p(g(i)),_=m(E),S=await l.getDimensions(f),T="y"===E,O=T?"clientHeight":"clientWidth",x=s.reference[_]+s.reference[E]-b[E]-s.floating[_],P=b[E]-s.reference[E],A=await (null==l.getOffsetParent?void 0:l.getOffsetParent(f)),k=A?A[O]:0;k&&await (null==l.isElement?void 0:l.isElement(A))||(k=u.floating[O]||s.floating[_]);let I=k/2-S[_]/2-1,C=a(v[T?"top":"left"],I),R=a(v[T?"bottom":"right"],I),D=k-S[_]-R,N=k/2-S[_]/2+(x/2-P/2),j=o(C,a(N,D)),M=!c.arrow&&null!=h(i)&&N!==j&&s.reference[_]/2-(N<C?C:R)-S[_]/2<0,L=M?N<C?N-C:N-D:0;return{[E]:b[E]+L,data:{[E]:j,centerOffset:N-j-L,...M&&{alignmentOffset:L}},reset:M}}}),e_=function(e){return void 0===e&&(e={}),{options:e,fn(t){var r,n,i,a;let{x:o,y:s,placement:l,rects:u,middlewareData:c}=t,{offset:h=0,mainAxis:m=!0,crossAxis:y=!0}=d(e,t),v={x:o,y:s},b=g(l),E=p(b),_=v[E],S=v[b],w=d(h,t),T="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:null!=(r=w.mainAxis)?r:0,crossAxis:null!=(n=w.crossAxis)?n:0};if(m){let e="y"===E?"height":"width",t=u.reference[E]-u.floating[e]+T.mainAxis,r=u.reference[E]+u.reference[e]-T.mainAxis;_<t?_=t:_>r&&(_=r)}if(y){let e="y"===E?"width":"height",t=I.has(f(l)),r=u.reference[b]-u.floating[e]+(t&&(null==(i=c.offset)?void 0:i[b])||0)+(t?0:T.crossAxis),n=u.reference[b]+u.reference[e]+(t?0:(null==(a=c.offset)?void 0:a[b])||0)-(t?T.crossAxis:0);S<r?S=r:S>n&&(S=n)}return{[E]:_,[b]:S}}}},eS=(e,t,r)=>{let n=new Map,i=null!=r?r:{},a={...ef,...i.platform,_c:n};return P(e,t,{...i,platform:a})}},77350:(e,t,r)=>{"use strict";r.d(t,{Oh:()=>a});var n=r(74180),i=0;function a(){n.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??o()),document.body.insertAdjacentElement("beforeend",e[1]??o()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
29=>e.remove()),i--}},[])}function o(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},77411: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"à¸à¸±à¸§à¸à¸±à¸à¸©à¸£",verb:"à¸à¸§à¸£à¸¡à¸µ"},file:{unit:"à¹à¸à¸à¹",verb:"à¸à¸§à¸£à¸¡à¸µ"},array:{unit:"รายà¸à¸²à¸£",verb:"à¸à¸§à¸£à¸¡à¸µ"},set:{unit:"รายà¸à¸²à¸£",verb:"à¸à¸§à¸£à¸¡à¸µ"}},t={regex:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¹à¸à¸",email:"à¸à¸µà¹à¸à¸¢à¸¹à¹à¸à¸µà¹à¸¡à¸¥",url:"URL",emoji:"à¸à¸´à¹à¸¡à¸à¸´",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วัà¸à¸à¸µà¹à¹à¸§à¸¥à¸²à¹à¸à¸ ISO",date:"วัà¸à¸à¸µà¹à¹à¸à¸ ISO",time:"à¹à¸§à¸¥à¸²à¹à¸à¸ ISO",duration:"à¸à¹à¸§à¸à¹à¸§à¸¥à¸²à¹à¸à¸ ISO",ipv4:"à¸à¸µà¹à¸à¸¢à¸¹à¹ IPv4",ipv6:"à¸à¸µà¹à¸à¸¢à¸¹à¹ IPv6",cidrv4:"à¸à¹à¸§à¸ IP à¹à¸à¸ IPv4",cidrv6:"à¸à¹à¸§à¸ IP à¹à¸à¸ IPv6",base64:"à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ Base64",base64url:"à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ Base64 สำหรัภURL",json_string:"à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ JSON",e164:"à¹à¸à¸à¸£à¹à¹à¸à¸£à¸¨à¸±à¸à¸à¹à¸£à¸°à¸«à¸§à¹à¸²à¸à¸à¸£à¸°à¹à¸à¸¨ (E.164)",jwt:"à¹à¸à¹à¸à¸ JWT",template_literal:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¹à¸à¸"},r=>{switch(r.code){case"invalid_type":return`à¸à¸£à¸°à¹à¸ à¸à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸ ${r.expected} à¹à¸à¹à¹à¸à¹à¸£à¸±à¸ ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"à¹à¸¡à¹à¹à¸à¹à¸à¸±à¸§à¹à¸¥à¸ (NaN)":"à¸à¸±à¸§à¹à¸¥à¸";case"object":if(Array.isArray(e))return"à¸à¸²à¸£à¹à¹à¸£à¸¢à¹ (Array)";if(null===e)return"à¹à¸¡à¹à¸¡à¸µà¸à¹à¸² (null)";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`à¸à¹à¸²à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸ ${o.stringifyPrimitive(r.values[0])}`;return`à¸à¸±à¸§à¹à¸¥à¸·à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸à¸«à¸à¸¶à¹à¸à¹à¸ ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"à¹à¸¡à¹à¹à¸à¸´à¸":"à¸à¹à¸à¸¢à¸à¸§à¹à¸²",n=e[r.origin]??null;if(n)return`à¹à¸à¸´à¸à¸à¸³à¸«à¸à¸: ${r.origin??"à¸à¹à¸²"} à¸à¸§à¸£à¸¡à¸µ${t} ${r.maximum.toString()} ${n.unit??"รายà¸à¸²à¸£"}`;
29return`à¹à¸à¸´à¸à¸à¸³à¸«à¸à¸: ${r.origin??"à¸à¹à¸²"} à¸à¸§à¸£à¸¡à¸µ${t} ${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?"à¸à¸¢à¹à¸²à¸à¸à¹à¸à¸¢":"มาà¸à¸à¸§à¹à¸²",n=e[r.origin]??null;if(n)return`à¸à¹à¸à¸¢à¸à¸§à¹à¸²à¸à¸³à¸«à¸à¸: ${r.origin} à¸à¸§à¸£à¸¡à¸µ${t} ${r.minimum.toString()} ${n.unit}`;return`à¸à¹à¸à¸¢à¸à¸§à¹à¸²à¸à¸³à¸«à¸à¸: ${r.origin} à¸à¸§à¸£à¸¡à¸µ${t} ${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¹à¸à¸à¸à¸¶à¹à¸à¸à¹à¸à¸à¹à¸§à¸¢ "${r.prefix}"`;if("ends_with"===r.format)return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¹à¸à¸à¸¥à¸à¸à¹à¸²à¸¢à¸à¹à¸§à¸¢ "${r.suffix}"`;if("includes"===r.format)return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¹à¸à¸à¸¡à¸µ "${r.includes}" à¸à¸¢à¸¹à¹à¹à¸à¸à¹à¸à¸à¸§à¸²à¸¡`;if("regex"===r.format)return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸à¸£à¸à¸à¸±à¸à¸£à¸¹à¸à¹à¸à¸à¸à¸µà¹à¸à¸³à¸«à¸à¸ ${r.pattern}`;return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: ${t[r.format]??r.format}`;case"not_multiple_of":return`à¸à¸±à¸§à¹à¸¥à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¹à¸à¹à¸à¸à¸³à¸à¸§à¸à¸à¸µà¹à¸«à¸²à¸£à¸à¹à¸§à¸¢ ${r.divisor} à¹à¸à¹à¸¥à¸à¸à¸±à¸§`;case"unrecognized_keys":return`à¸à¸à¸à¸µà¸¢à¹à¸à¸µà¹à¹à¸¡à¹à¸£à¸¹à¹à¸à¸±à¸: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`à¸à¸µà¸¢à¹à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸à¹à¸ ${r.origin}`;case"invalid_union":return"à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¹à¸¡à¹à¸à¸£à¸à¸à¸±à¸à¸£à¸¹à¸à¹à¸à¸à¸¢à¸¹à¹à¸à¸µà¸¢à¸à¸à¸µà¹à¸à¸³à¸«à¸à¸à¹à¸§à¹";case"invalid_element":return`à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸à¹à¸ ${r.origin}`;default:return"à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸"}})}};let o=a(r(3947))},77571:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var r in t)t.hasOwnProperty(r)&&"string"==typeof e[r=t[r]]&&(e[r]=parseInt(e[r],10));return"string"==typeof e.displayValue&&(e.displayValue="false"!=e.displayValue),e}},77658: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.parsedType=void 0,t.default=function(){let e,r;return{localeError:(e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"}},r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},n=>{switch(n.code){case"invalid_type":return`Invalid input: expected ${n.expected}, received ${(0,t.parsedType)(n.input)}`;case"invalid_value":if(1===n.values.length)return`Invalid input: expected ${o.stringifyPrimitive(n.values[0])}`;return`Invalid option: expected one of ${o.joinValues(n.values,"|")}`;
29case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Too big: expected ${n.origin??"value"} to have ${t}${n.maximum.toString()} ${r.unit??"elements"}`;return`Too big: expected ${n.origin??"value"} to be ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Too small: expected ${n.origin} to have ${t}${n.minimum.toString()} ${r.unit}`;return`Too small: expected ${n.origin} to be ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Invalid string: must start with "${n.prefix}"`;if("ends_with"===n.format)return`Invalid string: must end with "${n.suffix}"`;if("includes"===n.format)return`Invalid string: must include "${n.includes}"`;if("regex"===n.format)return`Invalid string: must match pattern ${n.pattern}`;return`Invalid ${r[n.format]??n.format}`;case"not_multiple_of":return`Invalid number: must be a multiple of ${n.divisor}`;case"unrecognized_keys":return`Unrecognized key${n.keys.length>1?"s":""}: ${o.joinValues(n.keys,", ")}`;case"invalid_key":return`Invalid key in ${n.origin}`;case"invalid_union":default:return"Invalid input";case"invalid_element":return`Invalid value in ${n.origin}`}})}};let o=a(r(3947));t.parsedType=e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}},77748:e=>{"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},77998: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.safeParseAsync=t._safeParseAsync=t.safeParse=t._safeParse=t.parseAsync=t._parseAsync=t.parse=t._parse=void 0;let o=a(r(36974)),s=a(r(10478)),l=a(r(3947));t._parse=e=>(t,r,n,i)=>{let a=n?Object.assign(n,{async:!1}):{async:!1},s=t._zod.run({value:r,issues:[]},a);if(s instanceof Promise)throw new o.$ZodAsyncError;if(s.issues.length){let t=new(i?.Err??e)(s.issues.map(e=>l.finalizeIssue(e,a,o.config())));throw l.captureStackTrace(t,i?.callee),t}return s.value},t.parse=(0,t._parse)(s.$ZodRealError),t._parseAsync=e=>async(t,r,n,i)=>{let a=n?Object.assign(n,{async:!0}):{async:!0},s=t._zod.run({value:r,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){let t=new(i?.Err??e)(s.issues.map(e=>l.finalizeIssue(e,a,o.config())));throw l.captureStackTrace(t,i?.callee),t}return s.value},t.parseAsync=(0,t._parseAsync)(s.$ZodRealError),t._safeParse=e=>(t,r,n)=>{let i=n?{...n,async:!1}:{async:!1},a=t._zod.run({value:r,issues:[]},i);if(a instanceof Promise)throw new o.$ZodAsyncError;return a.issues.length?{success:!1,error:new(e??s.$ZodError)(a.issues.map(e=>l.finalizeIssue(e,i,o.config())))}:{success:!0,data:a.value}},t.safeParse=(0,t._safeParse)(s.$ZodRealError),t._safeParseAsync=e=>async(t,r,n)=>{let i=n?Object.assign(n,{async:!0}):{async:!0},a=t._zod.run({value:r,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>l.finalizeIssue(e,i,o.config())))}:{success:!0,data:a.value}},t.safeParseAsync=(0,t._safeParseAsync)(s.$ZodRealError)},78011:(e,t,r)=>{"use strict";r.d(t,{u:()=>x});var n=r(43573),i=r(7005),a=r(91577),o=r(12693);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
29t%2?s(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(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 c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e){var t,r=e.getIndex,n=e.widgetType,i=(e.methodName,e.args),a=e.instantSearchInstance;if(1===i.length&&"object"===c(i[0]))return[i[0]];var o=function(e){if(Array.isArray(e))return e}(t=i[0].split(":"))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,i,a,o=[],s=!0,l=!1;try{i=(t=t.call(e)).next,!1;for(;!(s=(r=i.call(t)).done)&&(o.push(r.value),2!==o.length);s=!0);}catch(e){l=!0,n=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(l)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return u(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),s=o[0],d=o[1],f=i[1],h=i[2],p=i[3]||{};if(!f||("click"===s||"conversion"===s)&&!h)return[];var m=Array.isArray(f)?f:[f];if(0===m.length)return[];var g=m[0].__queryID,y=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,r=[],n=0;n<Math.ceil(e.length/t);n++)r.push(e.slice(n*t,(n+1)*t));return r}(m),v=y.map(function(e){return e.map(function(e){return e.objectID})}),b=y.map(function(e){return e.map(function(e){return e.__position})});return"view"===s?"idle"!==a.status?[]:y.map(function(e,t){return{insightsMethod:"viewedObjectIDs",widgetType:n,eventType:s,payload:l({eventName:h||"Hits Viewed",index:r(),objectIDs:v[t]},p),hits:e,eventModifier:d}}):"click"===s?y.map(function(e,t){return{insightsMethod:"clickedObjectIDsAfterSearch",widgetType:n,eventType:s,payload:l({eventName:h||"Hit Clicked",index:r(),queryID:g,objectIDs:v[t],positions:b[t]},p),hits:e,eventModifier:d}}):"conversion"===s?y.map(function(e,t){return{insightsMethod:"convertedObjectIDsAfterSearch",widgetType:n,eventType:s,payload:l({eventName:h||"Hit Converted",index:r(),queryID:g,objectIDs:v[t]},p),hits:e,eventModifier:d}}):[]}var f=r(3083);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=h(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=h(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==h(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEac
29h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=g(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=g(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==g(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach(function(t){S(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function S(e,t,r){var n;return(n=function(e,t){if("object"!=b(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==b(n)?n:String(n))in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var w=(0,n.V)({name:"hits",connector:!0});let T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.l;return(0,a.t)(e,w()),function(r){var n,i,a=r||{},s=a.escapeHTML,l=void 0===s||s,u=a.transformItems,c=void 0===u?function(e){return e}:u;return{$$type:"ais.hits",init:function(t){e(_(_({},this.getWidgetRenderState(t)),{},{instantSearchInstance:t.instantSearchInstance}),!0)},render:function(t){var r=this.getWidgetRenderState(t);e(_(_({},r),{},{instantSearchInstance:t.instantSearchInstance}),!1),r.sendEvent("view:internal",r.items)},getRenderState:function(e,t){return _(_({},e),{},{hits:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t,a,s,u,h,p,g,y,b,E,_,S,w,T,O,x,P,A,k=e.results,I=e.helper,C=e.instantSearchInstance;if(n||(a=(t={instantSearchInstance:C,getIndex:function(){return I.getIndex()},widgetType:this.$$type}).instantSearchInstance,s=t.getIndex,u=t.widgetType,h={},p=void 0,n=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];d({widgetType:u,getIndex:s,methodName:"sendEvent",args:t,instantSearchInstance:a}).forEach(function(e){"click"===e.eventType&&"internal"===e.eventModifier&&h[e.eventType]||(h[e.eventType]=!0,a.sendEventToInsights(e))}),clearTimeout(p),p=setTimeout(function(){h={}},0)}),i||(y=(g={getIndex:function(){return I.getIndex()},widgetType:this.$$type,instantSearchInstance:C}).getIndex,b=g.widgetType,E=g.instantSearchInstance,i=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=d({widgetType:b,getIndex:y,methodName:"bindEvent",args:t,instantSearchInstance:E});return n.length?"data-insights-event=".concat((0,o.h)(n)):""}),!k)return{hits:[],items:[],results:void 0,banner:void 0,sendEvent:n,bindEvent:i,widgetParams:r};l&&k.hits.length>0&&(k.hits=(0,f.S8)(k.hits));var R=c((_=k.hits,S=k.page,w=k.hitsPerPage,T=_.map(function(e,t){return m(m({},e),{},{__position:w*S+t+1})}),(O=k.queryID)?T.map(function(e){return v(v({},e),{},{__queryID:O})}):T),{results:k}),D=null==(x=k.renderingContent)||null==(P=x.widgets)||null==(A=P.banners)?void 0:A[0];return{hits:R,items:R,results:k,banner:D,sendEvent:n,bindEvent:i,widgetParams:r}},dispose:function(e){var r=e.state;return(t(),l)?r.setQueryParameters(Object.keys(f.FU).reduce(function(e,t){return _(_({},e),{},S({},t,void 0))},{})):r},getWidgetSearchParameters:function(e,t){return l?e.setQueryParameters(f.FU):e}}}};var O=r(80488);function x(e,t){return(0,O.Z)(T,e,t)}},78465:(e,t,r)=>
29{let n=r(7480),i=r(48520),a=r(21952),o=r(413),{commonTrailingPseudos:s}=r(46584),l={};function u(e,{className:t,modifier:r,prefix:n}){let i=n(`.not-${t}`).slice(1),a=e.startsWith(">")?`${"DEFAULT"===r?`.${t}`:`.${t}-${r}`} `:"",[o,l]=s(e);return o?`:where(${a}${l}):not(:where([class~="${i}"],[class~="${i}"] *))${o}`:`:where(${a}${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:o,prefix:s}){let d=o("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 a="legacy"===t?i.map(e=>`& ${e}`):i.join(", ");r(`${e}-${n}`,"legacy"===t?a:`& :is(${u(a,f)})`)}n(Object.keys(d).map(r=>({["DEFAULT"===r?`.${e}`:`.${e}-${r}`]:function(e={},{target:t,className:r,modifier:n,prefix:o}){return Object.fromEntries(Object.entries(i({},...Object.keys(e).filter(e=>l[e]).map(t=>l[t](e[t])),...a(e.css||{}))).map(([e,i])=>(function e(i,a){return"legacy"===t||Array.isArray(a)?[i,a]:c(a)?Object.values(a).some(c)?[u(i,{className:r,modifier:n,prefix:o}),a,Object.fromEntries(Object.entries(a).map(([t,r])=>e(t,r)))]:[u(i,{className:r,modifier:n,prefix:o}),a]:[i,a]})(e,i)))}(d[r],{target:t,className:e,modifier:r,prefix:s})})))},()=>({theme:{typography:o}}))},78475:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"afterTaskAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(47166).createAsyncLocalStorage)()},78739:(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},78998:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e={},t={}){let r=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>r.indexOf(e)).forEach(r=>{void 0===e[r]?e[r]=t[r]:n(t[r])&&n(e[r])&&Object.keys(t[r]).length>0&&i(e[r],t[r])})}r.d(t,{a:()=>l,g:()=>o});let a={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function o(){let e="u">typeof document?document:{};return i(e,a),e}let s={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"u"<typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"u">typeof setTimeout&&clearTimeout(e)}};function l(){let e="u">typeof window?window:{};return i(e,s),e}},79546:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});var n=(0,r(74180).createContext)(null)},80017:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var n=r(88786),i=r(37446);function a(){if(i.r.current=!0,n.B)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>i.O.current=e.matches;e.addListener(t),t()}else i.O.current=!1}},80302:(e,t,r)=>{"use strict";
29Object.defineProperty(t,"__esModule",{value:!0});var n={get CONTAINERS(){return m},get HEADINGS(){return g},get LIST_ITEM_BLOCKS(){return f},get TABLE_BLOCKS(){return h},get TEXT_CONTAINERS(){return y},get TOP_LEVEL_BLOCKS(){return d},get V1_MARKS(){return b},get V1_NODE_TYPES(){return v},get VOID_BLOCKS(){return p}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:Object.getOwnPropertyDescriptor(n,i).get});var a,o=r(23103),s=r(52113),l=r(99818);function u(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 c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=[o.BLOCKS.PARAGRAPH,o.BLOCKS.HEADING_1,o.BLOCKS.HEADING_2,o.BLOCKS.HEADING_3,o.BLOCKS.HEADING_4,o.BLOCKS.HEADING_5,o.BLOCKS.HEADING_6,o.BLOCKS.OL_LIST,o.BLOCKS.UL_LIST,o.BLOCKS.HR,o.BLOCKS.QUOTE,o.BLOCKS.EMBEDDED_ENTRY,o.BLOCKS.EMBEDDED_ASSET,o.BLOCKS.EMBEDDED_RESOURCE,o.BLOCKS.TABLE],f=[o.BLOCKS.PARAGRAPH,o.BLOCKS.HEADING_1,o.BLOCKS.HEADING_2,o.BLOCKS.HEADING_3,o.BLOCKS.HEADING_4,o.BLOCKS.HEADING_5,o.BLOCKS.HEADING_6,o.BLOCKS.OL_LIST,o.BLOCKS.UL_LIST,o.BLOCKS.HR,o.BLOCKS.QUOTE,o.BLOCKS.EMBEDDED_ENTRY,o.BLOCKS.EMBEDDED_ASSET,o.BLOCKS.EMBEDDED_RESOURCE],h=[o.BLOCKS.TABLE,o.BLOCKS.TABLE_ROW,o.BLOCKS.TABLE_CELL,o.BLOCKS.TABLE_HEADER_CELL],p=[o.BLOCKS.HR,o.BLOCKS.EMBEDDED_ENTRY,o.BLOCKS.EMBEDDED_ASSET,o.BLOCKS.EMBEDDED_RESOURCE],m=(c(a={},o.BLOCKS.OL_LIST,[o.BLOCKS.LIST_ITEM]),c(a,o.BLOCKS.UL_LIST,[o.BLOCKS.LIST_ITEM]),c(a,o.BLOCKS.LIST_ITEM,f),c(a,o.BLOCKS.QUOTE,[o.BLOCKS.PARAGRAPH]),c(a,o.BLOCKS.TABLE,[o.BLOCKS.TABLE_ROW]),c(a,o.BLOCKS.TABLE_ROW,[o.BLOCKS.TABLE_CELL,o.BLOCKS.TABLE_HEADER_CELL]),c(a,o.BLOCKS.TABLE_CELL,[o.BLOCKS.PARAGRAPH,o.BLOCKS.UL_LIST,o.BLOCKS.OL_LIST]),c(a,o.BLOCKS.TABLE_HEADER_CELL,[o.BLOCKS.PARAGRAPH]),a),g=[o.BLOCKS.HEADING_1,o.BLOCKS.HEADING_2,o.BLOCKS.HEADING_3,o.BLOCKS.HEADING_4,o.BLOCKS.HEADING_5,o.BLOCKS.HEADING_6],y=[o.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return u(e)}(g)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(g)||function(e){if(e){if("string"==typeof e)return u(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(e,void 0)}}(g)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v=[o.BLOCKS.DOCUMENT,o.BLOCKS.PARAGRAPH,o.BLOCKS.HEADING_1,o.BLOCKS.HEADING_2,o.BLOCKS.HEADING_3,o.BLOCKS.HEADING_4,o.BLOCKS.HEADING_5,o.BLOCKS.HEADING_6,o.BLOCKS.OL_LIST,o.BLOCKS.UL_LIST,o.BLOCKS.LIST_ITEM,o.BLOCKS.HR,o.BLOCKS.QUOTE,o.BLOCKS.EMBEDDED_ENTRY,o.BLOCKS.EMBEDDED_ASSET,s.INLINES.HYPERLINK,s.INLINES.ENTRY_HYPERLINK,s.INLINES.ASSET_HYPERLINK,s.INLINES.EMBEDDED_ENTRY,"text"],b=[l.MARKS.BOLD,l.MARKS.CODE,l.MARKS.ITALIC,l.MARKS.UNDERLINE]},80488:(e,t,r)=>{"use strict";r.d(t,{Z:()=>w});var n=r(74180),i=r.t(n,2),a=r(27458),o=r(28935),s=r(32438),l=r(56741),u=r(51119),c=r(50825);function d(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 f(e){var t,r=function(e){if(Array.isArray(e))return e}(t=(0,n.useState)(function(){return e}))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,i,a,o=[],s=!0,l=!1;try{i=(t=t.call(e)).next,!1;for(;!(s=(r=i.call(t)).done)&&(o.push(r.value),2!==o.length);s=!0);}catch(e){l=!0,n=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(l)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return d(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return d(e,2)}}
29(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=r[0],o=r[1];return(0,a.j)(i,e)||o(e),i}var h=i.use,p=r(74495),m=r(22806);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var y=["instantSearchInstance","widgetParams"],v=["widgetParams"];function b(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 E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=g(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=g(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==g(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function S(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function w(e){var t,r,i,d,g,E,w,T,O,x,P,A,k,I,C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},R=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},D=(0,u.r)(),N=(0,c.m)(),j=(0,l.I)(),M=(0,s.R)(),L=f(C),$=f(R),U=(0,n.useRef)(!0),F=(0,n.useRef)(null),B=(0,n.useRef)(j.status),z=(0,n.useMemo)(function(){return _(_({},e(function(e,t){if(t){U.current=!0;return}if(U.current){var r=e.instantSearchInstance,n=(e.widgetParams,S(e,y));(0,a.j)(n,F.current,function(e,t){return(null==e?void 0:e.constructor)===Function&&(null==t?void 0:t.constructor)===Function})&&r.status===B.current||(G(n),F.current=n,B.current=r.status)}},function(){U.current=!1})(L)),$)},[e,L,$]),H=function(e){if(Array.isArray(e))return e}(t=(0,n.useState)(function(){if(z.getWidgetRenderState){var e,t=M.getHelper(),r=M.getWidgetUiState({})[M.getIndexId()];t.state=(null==(e=z.getWidgetSearchParameters)?void 0:e.call(z,t.state,{uiState:r}))||t.state;var n=(0,o.J)(M),i=n.results,a=n.scopedResults,s=n.recommendResults,l=z.getWidgetRenderState({helper:t,parent:M,instantSearchInstance:j,results:"recommend"===z.dependsOn&&s&&N?s[N.recommendIdx.current++]:i,scopedResults:a,state:t.state,renderState:j.renderState,templatesConfig:j.templatesConfig,createURL:M.createURL,searchMetadata:{isSearchStalled:"stalled"===j.status},status:j.status,error:j.error});return l.widgetParams,S(l,v)}return{}}))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,i,a,o=[],s=!0,l=!1;try{i=(t=t.call(e)).next,!1;for(;!(s=(r=i.call(t)).done)&&(o.push(r.value),2!==o.length);s=!0);}catch(e){l=!0,n=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(l)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return b(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return b(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),q=H[0],G=H[1];return g=(r={widget:z,parentIndex:M,props:L,shouldSsr:!!D}).widget,E=r.parentIndex,w=r.props,T=r.shouldSsr,O=(0,m.t)(),x=(0,n.useRef)(w),(0,n.useEffect)(function(){x.current=w},[w]),P=(0,n.useRef)(g),(0,n.useEffect)(function(){P.current=g},[g]),A=(0,n.useRef)(null),k=T&&!E.getWidgets().includes(g),I=(0,l.I)(),(0,p.E)(function(){var e=P.current;return A.current?(clearTimeout(A.current),(0,a.j)(w,x.current)||(E.removeWidgets([e]),E.addWidgets([g]))):T||E.addWidgets([g]),function(){A.current=setTimeout(function(){I._schedule(function(){I._preventWidgetCleanup||E.removeWidgets([e])})})}},[E,g,T,I,w]),(k||(null==O||null==(i=O.current)?void 0:i.status)==="pending")&&E.addWidgets([g]),"u"<typeof window&&null!=O&&O.current&&"ais.index"!==g.$$type&&(h(O.current),"ais.dynamicWidgets"!==g.$$type&&null!=(d=I.helper)&&d.lastResults&&h(O.current)),q}},80636:(e,t,r)=>{"use strict";
29Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=s(r(25379)),a=s(r(1068)),o=r(24394);function s(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){if("string"==typeof t){var r,s,l=t,u=document.querySelectorAll(l);if(0!==u.length){for(var c=[],d=0;d<u.length;d++)c.push(e(u[d]));return c}return}if(Array.isArray(t)){for(var f=[],h=0;h<t.length;h++)f.push(e(t[h]));return f}if("u">typeof HTMLCanvasElement&&t instanceof HTMLImageElement){return r=t,{element:s=document.createElement("canvas"),options:(0,i.default)(r),renderer:a.default.CanvasRenderer,afterRender:function(){r.setAttribute("src",s.toDataURL())}}}if(t&&t.nodeName&&"svg"===t.nodeName.toLowerCase()||"u">typeof SVGElement&&t instanceof SVGElement)return{element:t,options:(0,i.default)(t),renderer:a.default.SVGRenderer};if("u">typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement)return{element:t,options:(0,i.default)(t),renderer:a.default.CanvasRenderer};else if(t&&t.getContext)return{element:t,renderer:a.default.CanvasRenderer};else if(t&&(void 0===t?"undefined":n(t))==="object"&&!t.nodeName)return{element:t,renderer:a.default.ObjectRenderer};else throw new o.InvalidElementException}},80813:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={ACTION_HEADER:function(){return a},FLIGHT_HEADERS:function(){return m},NEXT_ACTION_NOT_FOUND_HEADER:function(){return S},NEXT_ACTION_REVALIDATED_HEADER:function(){return O},NEXT_DID_POSTPONE_HEADER:function(){return v},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return c},NEXT_HMR_REFRESH_HEADER:function(){return u},NEXT_HTML_REQUEST_ID_HEADER:function(){return T},NEXT_INSTANT_PREFETCH_HEADER:function(){return h},NEXT_INSTANT_TEST_COOKIE:function(){return p},NEXT_IS_PRERENDER_HEADER:function(){return _},NEXT_REQUEST_ID_HEADER:function(){return w},NEXT_REWRITTEN_PATH_HEADER:function(){return b},NEXT_REWRITTEN_QUERY_HEADER:function(){return E},NEXT_ROUTER_PREFETCH_HEADER:function(){return s},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return l},NEXT_ROUTER_STALE_TIME_HEADER:function(){return y},NEXT_ROUTER_STATE_TREE_HEADER:function(){return o},NEXT_RSC_UNION_QUERY:function(){return g},NEXT_URL:function(){return d},RSC_CONTENT_TYPE_HEADER:function(){return f},RSC_HEADER:function(){return i}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i="rsc",a="next-action",o="next-router-state-tree",s="next-router-prefetch",l="next-router-segment-prefetch",u="next-hmr-refresh",c="__next_hmr_refresh_hash__",d="next-url",f="text/x-component",h="next-instant-navigation-testing-prefetch",p="next-instant-navigation-testing",m=[i,o,s,u,l],g="_rsc",y="x-nextjs-stale-time",v="x-nextjs-postponed",b="x-nextjs-rewritten-path",E="x-nextjs-rewritten-query",_="x-nextjs-prerender",S="x-nextjs-action-not-found",w="x-nextjs-request-id",T="x-nextjs-html-request-id",O="x-action-revalidated";("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)},81814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=(n=r(53436))&&n.__esModule?n:{default:n},o=r(43171);t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,o.B_START_CHAR+e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),i(t,[{key:"valid",value:function(){return RegExp("^"+o.B_CHARS+"+$").test(this.data)}}]),t}(a.default)},81951:(e,t,r)=>{let n=r(90539);e.exports=(n.__esModule?n:{default:n}).default},82416: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);
29(!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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"æå",verb:"ã§ãã"},file:{unit:"ãã¤ã",verb:"ã§ãã"},array:{unit:"è¦ç´ ",verb:"ã§ãã"},set:{unit:"è¦ç´ ",verb:"ã§ãã"}},t={regex:"å
¥åå¤",email:"ã¡ã¼ã«ã¢ãã¬ã¹",url:"URL",emoji:"çµµæå",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISOæ¥æ",date:"ISOæ¥ä»",time:"ISOæå»",duration:"ISOæé",ipv4:"IPv4ã¢ãã¬ã¹",ipv6:"IPv6ã¢ãã¬ã¹",cidrv4:"IPv4ç¯å²",cidrv6:"IPv6ç¯å²",base64:"base64ã¨ã³ã³ã¼ãæåå",base64url:"base64urlã¨ã³ã³ã¼ãæåå",json_string:"JSONæåå",e164:"E.164çªå·",jwt:"JWT",template_literal:"å
¥åå¤"},r=>{switch(r.code){case"invalid_type":return`ç¡å¹ãªå
¥å: ${r.expected}ãæå¾
ããã¾ãããã${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"æ°å¤";case"object":if(Array.isArray(e))return"é
å";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}ãå
¥åããã¾ãã`;case"invalid_value":if(1===r.values.length)return`ç¡å¹ãªå
¥å: ${o.stringifyPrimitive(r.values[0])}ãæå¾
ããã¾ãã`;return`ç¡å¹ãªé¸æ: ${o.joinValues(r.values,"ã")}ã®ããããã§ããå¿
è¦ãããã¾ã`;case"too_big":{let t=r.inclusive?"以ä¸ã§ãã":"ããå°ãã",n=e[r.origin]??null;if(n)return`大ããããå¤: ${r.origin??"å¤"}ã¯${r.maximum.toString()}${n.unit??"è¦ç´ "}${t}å¿
è¦ãããã¾ã`;return`大ããããå¤: ${r.origin??"å¤"}ã¯${r.maximum.toString()}${t}å¿
è¦ãããã¾ã`}case"too_small":{let t=r.inclusive?"以ä¸ã§ãã":"ãã大ãã",n=e[r.origin]??null;if(n)return`å°ããããå¤: ${r.origin}ã¯${r.minimum.toString()}${n.unit}${t}å¿
è¦ãããã¾ã`;return`å°ããããå¤: ${r.origin}ã¯${r.minimum.toString()}${t}å¿
è¦ãããã¾ã`}case"invalid_format":if("starts_with"===r.format)return`ç¡å¹ãªæåå: "${r.prefix}"ã§å§ã¾ãå¿
è¦ãããã¾ã`;if("ends_with"===r.format)return`ç¡å¹ãªæåå: "${r.suffix}"ã§çµããå¿
è¦ãããã¾ã`;if("includes"===r.format)return`ç¡å¹ãªæåå: "${r.includes}"ãå«ãå¿
è¦ãããã¾ã`;if("regex"===r.format)return`ç¡å¹ãªæåå: ãã¿ã¼ã³${r.pattern}ã«ä¸è´ããå¿
è¦ãããã¾ã`;return`ç¡å¹ãª${t[r.format]??r.format}`;case"not_multiple_of":return`ç¡å¹ãªæ°å¤: ${r.divisor}ã®åæ°ã§ããå¿
è¦ãããã¾ã`;case"unrecognized_keys":return`èªèããã¦ããªããã¼${r.keys.length>1?"群":""}: ${o.joinValues(r.keys,"ã")}`;case"invalid_key":return`${r.origin}å
ã®ç¡å¹ãªãã¼`;case"invalid_union":default:return"ç¡å¹ãªå
¥å";case"invalid_element":return`${r.origin}å
ã®ç¡å¹ãªå¤`}})}};let o=a(r(3947))},82458:(e,t,r)=>{"use strict";r.d(t,{TL:()=>o});var n=r(74180),i=r(71374),a=r(67368);function o(e){var t;let r,o=(t=e,(r=n.forwardRef((e,t)=>{let{children:r,...a}=e;if(n.isValidElement(r)){var o;let e,s,l=(o=r,(s=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(s=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(a,r.props);return r.type!==n.Fragment&&(u.ref=t?(0,i.t)(t,l):l),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null})).displayName=`${t}.SlotClone`,r),s=n.forwardRef((e,t)=>
29{let{children:r,...i}=e,s=n.Children.toArray(r),u=s.find(l);if(u){let e=u.props.children,r=s.map(t=>t!==u?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,a.jsx)(o,{...i,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,a.jsx)(o,{...i,ref:t,children:r})});return s.displayName=`${e}.Slot`,s}var s=Symbol("radix.slottable");function l(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}},82581:(e,t,r)=>{var n=r(50764),i=r(64430),a=r(27635),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?i(e):a(e)}},83037:(e,t,r)=>{"use strict";r.d(t,{B:()=>l});var n,i=r(74180),a=r(89133),o=(n||(n=r.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),s=0;function l(e){let[t,r]=i.useState(o());return(0,a.N)(()=>{e||r(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},83305:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={PARAM_SEPARATOR:function(){return i},hasAdjacentParameterIssues:function(){return a},normalizeAdjacentParameters:function(){return o},normalizeTokensForRegexp:function(){return s},stripNormalizedSeparators:function(){return l},stripParameterSeparators:function(){return u}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i="_NEXTSEP_";function a(e){return"string"==typeof e&&!!(/\/\(\.{1,3}\):[^/\s]+/.test(e)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(e))}function o(e){let t=e;return(t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${i}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${i}`)}function s(e){return e.map(e=>"object"==typeof e&&null!==e&&"modifier"in e&&("*"===e.modifier||"+"===e.modifier)&&"prefix"in e&&"suffix"in e&&""===e.prefix&&""===e.suffix?{...e,prefix:"/"}:e)}function l(e){return e.replace(RegExp(`\\)${i}`,"g"),")")}function u(e){let t={};for(let[r,n]of Object.entries(e))"string"==typeof n?t[r]=n.replace(RegExp(`^${i}`),""):Array.isArray(n)?t[r]=n.map(e=>"string"==typeof e?e.replace(RegExp(`^${i}`),""):e):t[r]=n;return t}},83687:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={HeadersAdapter:function(){return s},ReadonlyHeadersError:function(){return o}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(10576);class o extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new o}}class s extends Headers{constructor(e){super(),this.headers=new Proxy(e,{get(t,r,n){if("symbol"==typeof r)return a.ReflectAdapter.get(t,r,n);let i=r.toLowerCase(),o=Object.keys(e).find(e=>e.toLowerCase()===i);if(void 0!==o)return a.ReflectAdapter.get(t,o,n)},set(t,r,n,i){if("symbol"==typeof r)return a.ReflectAdapter.set(t,r,n,i);let o=r.toLowerCase(),s=Object.keys(e).find(e=>e.toLowerCase()===o);return a.ReflectAdapter.set(t,s??r,n,i)},has(t,r){if("symbol"==typeof r)return a.ReflectAdapter.has(t,r);let n=r.toLowerCase(),i=Object.keys(e).find(e=>e.toLowerCase()===n);return void 0!==i&&a.ReflectAdapter.has(t,i)},deleteProperty(t,r){if("symbol"==typeof r)return a.ReflectAdapter.deleteProperty(t,r);let n=r.toLowerCase(),i=Object.keys(e).find(e=>e.toLowerCase()===n);return void 0===i||a.ReflectAdapter.deleteProperty(t,i)}})}static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"append":case"delete":case"set":return o.callable;default:return a.ReflectAdapter.get(e,t,r)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new s(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,n]of this.entries())e.call(t,n,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}},83739:(e,t)=>
29{"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,a=l(e),o=a[0],s=a[1],u=new i((o+s)*3/4-s),c=0,d=s>0?o-4:o;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,a=[],o=0,s=n-i;o<s;o+=16383)a.push(function(e,t,n){for(var i,a=[],o=t;o<n;o+=3)i=(e[o]<<16&0xff0000)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}(e,o,o+16383>s?s:o+16383));return 1===i?a.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&a.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),a.join("")};for(var r=[],n=[],i="u">typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o<s;++o)r[o]=a[o],n[a.charCodeAt(o)]=o;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},83773:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(71388),a=o(r(66645));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return n.fontSize=!r.flat&&r.fontSize>10*r.width?10*r.width:r.fontSize,n.guardHeight=r.height+n.fontSize/2+r.textMargin,n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(t,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(e,t){return this.text.substr(e,t)}},{key:"leftEncode",value:function(e,t){return(0,a.default)(e,t)}},{key:"rightText",value:function(e,t){return this.text.substr(e,t)}},{key:"rightEncode",value:function(e,t){return(0,a.default)(e,t)}},{key:"encodeGuarded",value:function(){var e={fontSize:this.fontSize},t={height:this.guardHeight};return[{data:i.SIDE_BIN,options:t},{data:this.leftEncode(),text:this.leftText(),options:e},{data:i.MIDDLE_BIN,options:t},{data:this.rightEncode(),text:this.rightText(),options:e},{data:i.SIDE_BIN,options:t}]}},{key:"encodeFlat",value:function(){return{data:[i.SIDE_BIN,this.leftEncode(),i.MIDDLE_BIN,this.rightEncode(),i.SIDE_BIN].join(""),text:this.text}}}]),t}(o(r(40355)).default)},83825:(e,t,r)=>{"use strict";r.d(t,{hO:()=>l,sG:()=>s});var n=r(74180),i=r(13957),a=r(82458),o=r(67368),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,a.TL)(`Primitive.${t}`),i=n.forwardRef((e,n)=>{let{asChild:i,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i?r:t,{...a,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},84114:(e,t,r)=>{"use strict";var n=f(r(11187)),i=f(r(36717)),a=f(r(70870)),o=f(r(28856)),s=f(r(80636)),l=f(r(77571)),u=f(r(11362)),c=r(24394),d=f(r(68756));function f(e){return e&&e.__esModule?e:{default:e}}var h=function(){},p=function(e,t,r){var n=new h;if(void 0===e)throw Error("No element to render on was provided.");return n._renderProperties=(0,s.default)(e),n._encodings=[],n._options=d.default,n._errorHandler=new u.default(n),void 0!==t&&((r=r||{}).format||(r.format=y()),n.options(r)[r.format](t,r).render()),n};for(var m in p.getModule=function(e){return n.default[e]},n.default)n.default.hasOwnProperty(m)&&function(e,t){h.prototype[t]=h.prototype[t.toUpperCase()]=h.prototype[t.toLowerCase()]=function(r,n){var a=this;return a._errorHandler.wrapBarcodeCall(function(){n.text=void 0===n.text?void 0:""+n.text;var o=(0,i.default)(a._options,n);o=(0,l.default)(o);var s=g(r,e[t],o);return a._encodings.push(s),a})}}(n.default,m);function g(e,t,r){var n=new t(e=""+e,r);if(!n.valid())throw new c.InvalidInputException(n.constructor.name,e);var o=n.encode();o=(0,a.default)(o);for(var s=0;s<o.length;s++)o[s].options=(0,i.default)(r,o[s].options);return o}function y(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}function v(e,t,r){t=(0,a.default)(t);for(var n=0;n<t.length;n++)t[n].options=(0,i.default)(r,t[n].options),(0,o.default)(t[n].options);(0,o.default)(r),new e.renderer(e.element,t,r).render(),e.afterRe
29nder&&e.afterRender()}h.prototype.options=function(e){return this._options=(0,i.default)(this._options,e),this},h.prototype.blank=function(e){var t=Array(e+1).join("0");return this._encodings.push({data:t}),this},h.prototype.init=function(){if(this._renderProperties)for(var e in Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]),this._renderProperties){var t=this._renderProperties[e],r=(0,i.default)(this._options,t.options);"auto"==r.format&&(r.format=y()),this._errorHandler.wrapBarcodeCall(function(){v(t,g(r.value,n.default[r.format.toUpperCase()],r),r)})}},h.prototype.render=function(){if(!this._renderProperties)throw new c.NoElementException;if(Array.isArray(this._renderProperties))for(var e=0;e<this._renderProperties.length;e++)v(this._renderProperties[e],this._encodings,this._options);else v(this._renderProperties,this._encodings,this._options);return this},h.prototype._defaults=d.default,"u">typeof window&&(window.JsBarcode=p),"u">typeof jQuery&&(jQuery.fn.JsBarcode=function(e,t){var r=[];return jQuery(this).each(function(){r.push(this)}),p(r,e,t)}),e.exports=p},84458:e=>{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,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 h(){var e={line:c,column:d};return function(t){return t.position=new p(e),g(n),t}}function p(e){this.start=e,this.end={line:c,column:d},this.source=l.source}function m(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);else throw r}function g(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=v();)!1!==t&&e.push(t);return e}function v(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;""!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,""===e.charAt(r-1))return m("End of comment missing");var n=e.slice(2,r-2);return d+=2,f(n),e=e.slice(r),d+=2,t({type:"comment",comment:n})}}p.prototype.content=e,g(n);var b,E=[];for(y(E);b=function(){var e=h(),r=g(i);if(r){if(v(),!g(a))return m("property missing ':'");var n=g(o),l=e({type:"declaration",property:u(r[0].replace(t,"")),value:n?u(n[0].replace(t,"")):""});return g(s),l}}();)!1!==b&&(E.push(b),y(E));return E}},84961:e=>{"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){t(e)||(e={});for(var r=1,n=arguments.length;r<n;r++){var i=arguments[r];t(i)&&function e(r,n){if(r===n)return r;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&"__proto__"!==i&&"constructor"!==i){var a=n[i],o=r[i];(void 0===o||void 0!==a)&&(t(o)&&t(a)?r[i]=e(o,a):r[i]="object"==typeof a&&null!==a?e(Array.isArray(a)?[]:{},a):a)}return r}(e,i)}return e}},85865:(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 a=t.charCodeAt(i),o=a>=97&&a<=102||a>=48&&a<=57;if(n=32===a,!o)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]:[String.fromCodePoint(s),r.length+ +!!n]}}(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},85904:(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.comb
29inator=-3},86285:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(51401))&&n.__esModule?n:{default:n},a=r(59110);function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=a.NESTING,r.value="&",r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e),t}(i.default),e.exports=t.default},86653:(e,t,r)=>{var n=r(92101),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},86965: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"ÑимволÑв",verb:"маÑиме"},file:{unit:"байÑÑв",verb:"маÑиме"},array:{unit:"елеменÑÑв",verb:"маÑиме"},set:{unit:"елеменÑÑв",verb:"маÑиме"}},t={regex:"вÑ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ",email:"адÑеÑа елекÑÑÐ¾Ð½Ð½Ð¾Ñ Ð¿Ð¾ÑÑи",url:"URL",emoji:"емодзÑ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"даÑа Ñа ÑÐ°Ñ ISO",date:"даÑа ISO",time:"ÑÐ°Ñ ISO",duration:"ÑÑивалÑÑÑÑ ISO",ipv4:"адÑеÑа IPv4",ipv6:"адÑеÑа IPv6",cidrv4:"дÑапазон IPv4",cidrv6:"дÑапазон IPv6",base64:"ÑÑдок Ñ ÐºÐ¾Ð´ÑÐ²Ð°Ð½Ð½Ñ base64",base64url:"ÑÑдок Ñ ÐºÐ¾Ð´ÑÐ²Ð°Ð½Ð½Ñ base64url",json_string:"ÑÑдок JSON",e164:"Ð½Ð¾Ð¼ÐµÑ E.164",jwt:"JWT",template_literal:"вÑ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ"},r=>{switch(r.code){case"invalid_type":return`ÐепÑавилÑÐ½Ñ Ð²Ñ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ: оÑÑкÑÑÑÑÑÑ ${r.expected}, оÑÑимано ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"ÑиÑло";case"object":if(Array.isArray(e))return"маÑив";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`ÐепÑавилÑÐ½Ñ Ð²Ñ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ: оÑÑкÑÑÑÑÑÑ ${o.stringifyPrimitive(r.values[0])}`;return`ÐепÑавилÑна опÑÑÑ: оÑÑкÑÑÑÑÑÑ Ð¾Ð´Ð½Ðµ з ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`ÐанадÑо велике: оÑÑкÑÑÑÑÑÑ, Ñо ${r.origin??"знаÑеннÑ"} ${n.verb} ${t}${r.maximum.toString()} ${n.unit??"елеменÑÑв"}`;return`ÐанадÑо велике: оÑÑкÑÑÑÑÑÑ, Ñо ${r.origin??"знаÑеннÑ"} бÑде ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`ÐанадÑо мале: оÑÑкÑÑÑÑÑÑ, Ñо ${r.origin} ${n.verb} ${t}${r.minimum.toString()} ${n.unit}`;return`ÐанадÑо мале: оÑÑкÑÑÑÑÑÑ, Ñо ${r.origin} бÑде ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`ÐепÑавилÑний ÑÑдок: повинен поÑинаÑиÑÑ Ð· "${r.prefix}"`;if("ends_with"===r.format)return`ÐепÑавилÑний ÑÑдок: повинен закÑнÑÑваÑиÑÑ Ð½Ð° "${r.suffix}"`;if("includes"===r.format)return`ÐепÑавилÑний ÑÑдок: повинен мÑÑÑиÑи "${r.includes}"`;if("regex"===r.format)return`ÐепÑавилÑний ÑÑдок: повинен вÑдповÑдаÑи ÑÐ°Ð±Ð»Ð¾Ð½Ñ ${r.pattern}`;return`ÐепÑавилÑний ${t[r.format]??r.format}`;case"not_multiple_of":return`ÐепÑавилÑне ÑиÑло: повинно бÑÑи Ð
29ºÑаÑним ${r.divisor}`;case"unrecognized_keys":return`ÐеÑозпÑзнаний клÑÑ${r.keys.length>1?"Ñ":""}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`ÐепÑавилÑний клÑÑ Ñ ${r.origin}`;case"invalid_union":default:return"ÐепÑавилÑÐ½Ñ Ð²Ñ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ";case"invalid_element":return`ÐепÑавилÑне знаÑÐµÐ½Ð½Ñ Ñ ${r.origin}`}})}};let o=a(r(3947))},87273:(e,t,r)=>{"use strict";let n;r.d(t,{YJ:()=>e1,bL:()=>e0});var i,a=r(74180),o=r(13957);function s(e,[t,r]){return Math.min(r,Math.max(t,e))}var l=r(21538),u=r(39392),c=r(71374),d=r(36116),f=r(67368),h=new WeakMap;function p(e,t){var r,n;let i,a,o;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(r=e,n=t,i=r.length,(o=(a=m(n))>=0?a:i+a)<0||o>=i?-1:o);return -1===s?void 0:e[s]}function m(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],h.set(this,!0)}set(e,t){return h.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),a=this.#e.length,o=m(e),s=o>=0?o:a+o,l=s<0||s>=a?-1:s;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,r),this;let u=this.size+ +!i;o<0&&s++;let c=[...this.#e],d=!1;for(let e=s;e<u;e++)if(s===e){let a=c[e];c[e]===t&&(a=c[e+1]),i&&this.delete(t),n=this.get(a),this.set(t,r)}else{d||c[e-1]!==t||(d=!0);let r=c[d?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=p(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=p(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return p(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}});var g=a.createContext(void 0),y=r(56410),v=r(30285),b=r(52869),E="dismissableLayer.update",_=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S=a.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:u,onDismiss:d,...h}=e,p=a.useContext(_),[m,g]=a.useState(null),S=m?.ownerDocument??globalThis?.document,[,O]=a.useState({}),x=(0,c.s)(t,e=>g(e)),P=Array.from(p.layers),[A]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),k=P.indexOf(A),I=m?P.indexOf(m):-1,C=p.layersWithOutsidePointerEventsDisabled.size>0,R=I>=k,D=function(e,t=globalThis?.document){let r=(0,v.c)(e),n=a.useRef(!1),i=a.useRef(()=>{});return a.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){T("dismissableLayer.pointerDownOutside",r,a,{discrete:!0})},a={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=n,t.addEventListener("click",i.current,{once:!0})):n()}else t.removeEventListener("click",i.current);n.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...p.branches].some(e=>e.contains(t));R&&!r&&(o?.(e),u?.(e),e.defaultPrevented||d?.())},S),N=function(e,t=globalThis?.document){let r=(0,v.c)(e),n=a.useRef(!1);return a.useEffect(()=>{let e=e=>{e.target&&!n.current&&T("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...p.branches].some(e=>e.contains(t))&&(s?.(e),u?.(e),e.defaultPrevented||d?.())},S);return(0,b.U)(e=>{I===p.layers.size-1&&(n?.(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))},S),a.useEffect(()=>{if(m)return r&&(0===p.layersWithOutsidePointerEventsDisabled.size&&(i=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),w(),()=>{r&&1===p.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=i)}},[m,S,r,p]),a.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),w())},[m,p]),a.useEffect(()=>{let e=()=>O({});return document.addEventListener(E,e),()=>document.removeEventListener(E,e)},[]),(0,f.jsx)(y.sG.div,{...h,ref:x,style:{pointerEvents:C?R?"auto":"none":void 0,...e.style},onFocusCapture:(0,l.m)(e.onFocusCapture,N.onFocusCapture),onBlurCapture:(0,l.m)(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:(0,l.m)(e.onPointerDownCapture,D.onPointerDownCapture)})});function w(){let e=new CustomEvent(E);document.dispatchEvent(e)}function T(e,t,r,{discrete:n}){let i=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?(0,y.hO)(i,a):i.dispatchEvent(a)}S.displayName="DismissableLayer",a.forwardRef((e,t)=>
29{let r=a.useContext(_),n=a.useRef(null),i=(0,c.s)(t,n);return a.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,f.jsx)(y.sG.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var O=r(77350),x="focusScope.autoFocusOnMount",P="focusScope.autoFocusOnUnmount",A={bubbles:!1,cancelable:!0},k=a.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...s}=e,[l,u]=a.useState(null),d=(0,v.c)(i),h=(0,v.c)(o),p=a.useRef(null),m=(0,c.s)(t,e=>u(e)),g=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(n){let e=function(e){if(g.paused||!l)return;let t=e.target;l.contains(t)?p.current=t:R(p.current,{select:!0})},t=function(e){if(g.paused||!l)return;let t=e.relatedTarget;null!==t&&(l.contains(t)||R(p.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&R(l)});return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,l,g.paused]),a.useEffect(()=>{if(l){D.add(g);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(x,A);l.addEventListener(x,d),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(R(n,{select:t}),document.activeElement!==r)return}(I(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&R(l))}return()=>{l.removeEventListener(x,d),setTimeout(()=>{let t=new CustomEvent(P,A);l.addEventListener(P,h),l.dispatchEvent(t),t.defaultPrevented||R(e??document.body,{select:!0}),l.removeEventListener(P,h),D.remove(g)},0)}}},[l,d,h,g]);let b=a.useCallback(e=>{if(!r&&!n||g.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){var a;let t,n=e.currentTarget,[o,s]=[C(t=I(a=n),a),C(t.reverse(),a)];o&&s?e.shiftKey||i!==s?e.shiftKey&&i===o&&(e.preventDefault(),r&&R(s,{select:!0})):(e.preventDefault(),r&&R(o,{select:!0})):i===n&&e.preventDefault()}},[r,n,g.paused]);return(0,f.jsx)(y.sG.div,{tabIndex:-1,...s,ref:m,onKeyDown:b})});function I(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function C(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function R(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}k.displayName="FocusScope";var D=(n=[],{add(e){let t=n[0];e!==t&&t?.pause(),(n=N(n,e)).unshift(e)},remove(e){n=N(n,e),n[0]?.resume()}});function N(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var j=r(83037),M=r(59388),L=r(77015),$=a.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...a}=e;return(0,f.jsx)(y.sG.svg,{...a,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,f.jsx)("polygon",{points:"0,0 30,0 15,10"})})});$.displayName="Arrow";var U=r(89133),F=r(7413),B="Popper",[z,H]=(0,u.A)(B),[q,G]=z(B),W=e=>{let{__scopePopper:t,children:r}=e,[n,i]=a.useState(null);return(0,f.jsx)(q,{scope:t,anchor:n,onAnchorChange:i,children:r})};W.displayName=B;var V="PopperAnchor",Y=a.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...i}=e,o=G(V,r),s=a.useRef(null),l=(0,c.s)(t,s);return a.useEffect(()=>{o.onAnchorChange(n?.current||s.current)}),n?null:(0,f.jsx)(y.sG.div,{...i,ref:l})});Y.displayName=V;var Z="PopperContent",[K,X]=z(Z),Q=a.forwardRef((e,t)=>{let{__scopePopper:r,side:n="bottom",sideOffset:i=0,align:o="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:u=!0,collisionBoundary:d=[],collisionPadding:h=0,sticky:p="partial",hideWhenDetached:m=!1,updatePositionStrategy:g="optimized",onPlaced:b,...E}
29=e,_=G(Z,r),[S,w]=a.useState(null),T=(0,c.s)(t,e=>w(e)),[O,x]=a.useState(null),P=(0,F.X)(O),A=P?.width??0,k=P?.height??0,I="number"==typeof h?h:{top:0,right:0,bottom:0,left:0,...h},C=Array.isArray(d)?d:[d],R=C.length>0,D={padding:I,boundary:C.filter(er),altBoundary:R},{refs:N,floatingStyles:j,placement:$,isPositioned:B,middlewareData:z}=(0,M.we)({strategy:"fixed",placement:n+("center"!==o?"-"+o:""),whileElementsMounted:(...e)=>(0,L.ll)(...e,{animationFrame:"always"===g}),elements:{reference:_.anchor},middleware:[(0,M.cY)({mainAxis:i+k,alignmentAxis:s}),u&&(0,M.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===p?(0,M.ER)():void 0,...D}),u&&(0,M.UU)({...D}),(0,M.Ej)({...D,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty("--radix-popper-available-width",`${r}px`),o.setProperty("--radix-popper-available-height",`${n}px`),o.setProperty("--radix-popper-anchor-width",`${i}px`),o.setProperty("--radix-popper-anchor-height",`${a}px`)}}),O&&(0,M.UE)({element:O,padding:l}),en({arrowWidth:A,arrowHeight:k}),m&&(0,M.jD)({strategy:"referenceHidden",...D})]}),[H,q]=ei($),W=(0,v.c)(b);(0,U.N)(()=>{B&&W?.()},[B,W]);let V=z.arrow?.x,Y=z.arrow?.y,X=z.arrow?.centerOffset!==0,[Q,J]=a.useState();return(0,U.N)(()=>{S&&J(window.getComputedStyle(S).zIndex)},[S]),(0,f.jsx)("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...j,transform:B?j.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[z.transformOrigin?.x,z.transformOrigin?.y].join(" "),...z.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,f.jsx)(K,{scope:r,placedSide:H,onArrowChange:x,arrowX:V,arrowY:Y,shouldHideArrow:X,children:(0,f.jsx)(y.sG.div,{"data-side":H,"data-align":q,...E,ref:T,style:{...E.style,animation:B?void 0:"none"}})})})});Q.displayName=Z;var J="PopperArrow",ee={top:"bottom",right:"left",bottom:"top",left:"right"},et=a.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=X(J,r),a=ee[i.placedSide];return(0,f.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,f.jsx)($,{...n,ref:t,style:{...n.style,display:"block"}})})});function er(e){return null!==e}et.displayName=J;var en=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[l,u]=ei(r),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,h="",p="";return"bottom"===l?(h=a?c:`${d}px`,p=`${-s}px`):"top"===l?(h=a?c:`${d}px`,p=`${n.floating.height+s}px`):"right"===l?(h=`${-s}px`,p=a?c:`${f}px`):"left"===l&&(h=`${n.floating.width+s}px`,p=a?c:`${f}px`),{data:{x:h,y:p}}}});function ei(e){let[t,r="center"]=e.split("-");return[t,r]}a.forwardRef((e,t)=>{let{container:r,...n}=e,[i,s]=a.useState(!1);(0,U.N)(()=>s(!0),[]);let l=r||i&&globalThis?.document?.body;return l?o.createPortal((0,f.jsx)(y.sG.div,{...n,ref:t}),l):null}).displayName="Portal";var ea=r(62049),eo=r(15597),es=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"});a.forwardRef((e,t)=>(0,f.jsx)(y.sG.span,{...e,ref:t,style:{...es,...e.style}})).displayName="VisuallyHidden";var el=r(89499),eu=r(36756),ec=[" ","Enter","ArrowUp","ArrowDown"],ed=[" ","Enter"],ef="Select",[eh,ep,em]=function(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[i,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:r}=e,n=a.useRef(null),o=a.useRef(new Map).current;return(0,f.jsx)(i,{scope:t,itemMap:o,collectionRef:n,children:r})};s.displayName=t;let l=e+"CollectionSlot",h=(0,d.TL)(l),p=a.forwardRef((e,t)=>
29{let{scope:r,children:n}=e,i=o(l,r),a=(0,c.s)(t,i.collectionRef);return(0,f.jsx)(h,{ref:a,children:n})});p.displayName=l;let m=e+"CollectionItemSlot",g="data-radix-collection-item",y=(0,d.TL)(m),v=a.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,s=a.useRef(null),l=(0,c.s)(t,s),u=o(m,r);return a.useEffect(()=>(u.itemMap.set(s,{ref:s,...i}),()=>void u.itemMap.delete(s))),(0,f.jsx)(y,{...{[g]:""},ref:l,children:n})});return v.displayName=m,[{Provider:s,Slot:p,ItemSlot:v},function(t){let r=o(e+"CollectionConsumer",t);return a.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}(ef),[eg,ey]=(0,u.A)(ef,[em,H]),ev=H(),[eb,eE]=eg(ef),[e_,eS]=eg(ef),ew=e=>{let t,{__scopeSelect:r,children:n,open:i,defaultOpen:o,onOpenChange:s,value:l,defaultValue:u,onValueChange:c,dir:d,name:h,autoComplete:p,disabled:m,required:y,form:v}=e,b=ev(r),[E,_]=a.useState(null),[S,w]=a.useState(null),[T,O]=a.useState(!1),x=(t=a.useContext(g),d||t||"ltr"),[P,A]=(0,ea.i)({prop:i,defaultProp:o??!1,onChange:s,caller:ef}),[k,I]=(0,ea.i)({prop:l,defaultProp:u,onChange:c,caller:ef}),C=a.useRef(null),R=!E||v||!!E.closest("form"),[D,N]=a.useState(new Set),M=Array.from(D).map(e=>e.props.value).join(";");return(0,f.jsx)(W,{...b,children:(0,f.jsxs)(eb,{required:y,scope:r,trigger:E,onTriggerChange:_,valueNode:S,onValueNodeChange:w,valueNodeHasChildren:T,onValueNodeHasChildrenChange:O,contentId:(0,j.B)(),value:k,onValueChange:I,open:P,onOpenChange:A,dir:x,triggerPointerDownPosRef:C,disabled:m,children:[(0,f.jsx)(eh.Provider,{scope:r,children:(0,f.jsx)(e_,{scope:e.__scopeSelect,onNativeOptionAdd:a.useCallback(e=>{N(t=>new Set(t).add(e))},[]),onNativeOptionRemove:a.useCallback(e=>{N(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:n})}),R?(0,f.jsxs)(eK,{"aria-hidden":!0,required:y,tabIndex:-1,name:h,autoComplete:p,value:k,onChange:e=>I(e.target.value),disabled:m,form:v,children:[void 0===k?(0,f.jsx)("option",{value:""}):null,Array.from(D)]},M):null]})})};ew.displayName=ef;var eT="SelectTrigger";a.forwardRef((e,t)=>{let{__scopeSelect:r,disabled:n=!1,...i}=e,o=ev(r),s=eE(eT,r),u=s.disabled||n,d=(0,c.s)(t,s.onTriggerChange),h=ep(r),p=a.useRef("touch"),[m,g,v]=eQ(e=>{let t=h().filter(e=>!e.disabled),r=t.find(e=>e.value===s.value),n=eJ(t,e,r);void 0!==n&&s.onValueChange(n.value)}),b=e=>{u||(s.onOpenChange(!0),v()),e&&(s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,f.jsx)(Y,{asChild:!0,...o,children:(0,f.jsx)(y.sG.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":eX(s.value)?"":void 0,...i,ref:d,onClick:(0,l.m)(i.onClick,e=>{e.currentTarget.focus(),"mouse"!==p.current&&b(e)}),onPointerDown:(0,l.m)(i.onPointerDown,e=>{p.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(b(e),e.preventDefault())}),onKeyDown:(0,l.m)(i.onKeyDown,e=>{let t=""!==m.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||g(e.key),(!t||" "!==e.key)&&ec.includes(e.key)&&(b(),e.preventDefault())})})})}).displayName=eT;var eO="SelectValue";a.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:i,children:a,placeholder:o="",...s}=e,l=eE(eO,r),{onValueNodeHasChildrenChange:u}=l,d=void 0!==a,h=(0,c.s)(t,l.onValueNodeChange);return(0,U.N)(()=>{u(d)},[u,d]),(0,f.jsx)(y.sG.span,{...s,ref:h,style:{pointerEvents:"none"},children:eX(l.value)?(0,f.jsx)(f.Fragment,{children:o}):a})}).displayName=eO,a.forwardRef((e,t)=>{let{__scopeSelect:r,children:n,...i}=e;return(0,f.jsx)(y.sG.span,{"aria-hidden":!0,...i,ref:t,children:n||"â¼"})}).displayName="SelectIcon";var ex="SelectContent";a.forwardRef((e,t)=>{let r=eE(ex,e.__scopeSelect),[n,i]=a.useState();return((0,U.N)(()=>{i(new DocumentFragment)},[]),r.open)?(0,f.jsx)(eI,{...e,ref:t}):n?o.createPortal((0,f.jsx)(eP,{scope:e.__scopeSelect,children:(0,f.jsx)(eh.Slot,{scope:e.__scopeSelect,children:(0,f.jsx)("div",{children:e.children})})}),n):null}).displayName=ex;var[eP,eA]=eg(ex),ek=(0,d.TL)("SelectContent.RemoveScroll"),eI=a.forwardRef((e,t)=>
29{let{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:s,side:u,sideOffset:d,align:h,alignOffset:p,arrowPadding:m,collisionBoundary:g,collisionPadding:y,sticky:v,hideWhenDetached:b,avoidCollisions:E,..._}=e,w=eE(ex,r),[T,x]=a.useState(null),[P,A]=a.useState(null),I=(0,c.s)(t,e=>x(e)),[C,R]=a.useState(null),[D,N]=a.useState(null),j=ep(r),[M,L]=a.useState(!1),$=a.useRef(!1);a.useEffect(()=>{if(T)return(0,el.Eq)(T)},[T]),(0,O.Oh)();let U=a.useCallback(e=>{let[t,...r]=j().map(e=>e.ref.current),[n]=r.slice(-1),i=document.activeElement;for(let r of e)if(r===i||(r?.scrollIntoView({block:"nearest"}),r===t&&P&&(P.scrollTop=0),r===n&&P&&(P.scrollTop=P.scrollHeight),r?.focus(),document.activeElement!==i))return},[j,P]),F=a.useCallback(()=>U([C,T]),[U,C,T]);a.useEffect(()=>{M&&F()},[M,F]);let{onOpenChange:B,triggerPointerDownPosRef:z}=w;a.useEffect(()=>{if(T){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(z.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(z.current?.y??0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():T.contains(r.target)||B(!1),document.removeEventListener("pointermove",t),z.current=null};return null!==z.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[T,B,z]),a.useEffect(()=>{let e=()=>B(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[B]);let[H,q]=eQ(e=>{let t=j().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=eJ(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),G=a.useCallback((e,t,r)=>{let n=!$.current&&!r;(void 0!==w.value&&w.value===t||n)&&(R(e),n&&($.current=!0))},[w.value]),W=a.useCallback(()=>T?.focus(),[T]),V=a.useCallback((e,t,r)=>{let n=!$.current&&!r;(void 0!==w.value&&w.value===t||n)&&N(e)},[w.value]),Y="popper"===n?eR:eC,Z=Y===eR?{side:u,sideOffset:d,align:h,alignOffset:p,arrowPadding:m,collisionBoundary:g,collisionPadding:y,sticky:v,hideWhenDetached:b,avoidCollisions:E}:{};return(0,f.jsx)(eP,{scope:r,content:T,viewport:P,onViewportChange:A,itemRefCallback:G,selectedItem:C,onItemLeave:W,itemTextRefCallback:V,focusSelectedItem:F,selectedItemText:D,position:n,isPositioned:M,searchRef:H,children:(0,f.jsx)(eu.A,{as:ek,allowPinchZoom:!0,children:(0,f.jsx)(k,{asChild:!0,trapped:w.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,l.m)(i,e=>{w.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,f.jsx)(S,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:(0,f.jsx)(Y,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:e=>e.preventDefault(),..._,...Z,onPlaced:()=>L(!0),ref:I,style:{display:"flex",flexDirection:"column",outline:"none",..._.style},onKeyDown:(0,l.m)(_.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||q(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=j().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>U(t)),e.preventDefault()}})})})})})})});eI.displayName="SelectContentImpl";var eC=a.forwardRef((e,t)=>{let{__scopeSelect:r,onPlaced:n,...i}=e,o=eE(ex,r),l=eA(ex,r),[u,d]=a.useState(null),[h,p]=a.useState(null),m=(0,c.s)(t,e=>p(e)),g=ep(r),v=a.useRef(!1),b=a.useRef(!0),{viewport:E,selectedItem:_,selectedItemText:S,focusSelectedItem:w}=l,T=a.useCallback(()=>{if(o.trigger&&o.valueNode&&u&&h&&E&&_&&S){let e=o.trigger.getBoundingClientRect(),t=h.getBoundingClientRect(),r=o.valueNode.getBoundingClientRect(),i=S.getBoundingClientRect();if("rtl"!==o.dir){let n=i.left-t.left,a=r.left-n,o=e.left-a,l=e.width+o,c=Math.max(l,t.width),d=s(a,[10,Math.max(10,window.innerWidth-10-c)]);u.style.minWidth=l+"px",u.style.left=d+"px"}else{let n=t.right-i.right,a=window.innerWidth-r.right-n,o=window.innerWidth-e.right-a,l=e.width+o,c=Math.max(l,t.width),d=s(a,[10,Math.max(10,window.innerWidth-10-c)]);u.style.minWidth=l+"px",u.style.right=d+"px"}let a=g(),l=window.innerHeight-20,c=E.scrollHeight,d=window.getComputedStyle(h),f=parseInt(d.borderTopWidth,10),p=parseInt(d.paddingTop,10),m=parseInt(d.borderBottomWidth,10),y=f+p+c+parseInt(d.paddingBottom,10)+m,b=Math.min(5*_.offsetHeight,y),w=window.getComputedStyle(E),T=parseInt(w.paddingTop,10),O=parseInt(w.paddingBottom,10),x=e.top+e.height/2-10,P=_.offsetHeight/2,A=f+p+(_.offsetTop+P);if(A<=x){let e=a.length>0&&_===a[a.length-1].ref.current;u.style.bottom="0px";let t=Math.max(l-x,P+(e?O:0)+(h.clientHeight-E.offsetTop-E.offsetHeight)+m);u.style.height=A+t+"px"}else{let e=a.length>0&&_===a[0].ref.current;u.style.top="0px";let t=Math.max(x,f+E.offsetTop+(e?T:0)+P);
29u.style.height=t+(y-A)+"px",E.scrollTop=A-x+E.offsetTop}u.style.margin="10px 0",u.style.minHeight=b+"px",u.style.maxHeight=l+"px",n?.(),requestAnimationFrame(()=>v.current=!0)}},[g,o.trigger,o.valueNode,u,h,E,_,S,o.dir,n]);(0,U.N)(()=>T(),[T]);let[O,x]=a.useState();(0,U.N)(()=>{h&&x(window.getComputedStyle(h).zIndex)},[h]);let P=a.useCallback(e=>{e&&!0===b.current&&(T(),w?.(),b.current=!1)},[T,w]);return(0,f.jsx)(eD,{scope:r,contentWrapper:u,shouldExpandOnScrollRef:v,onScrollButtonChange:P,children:(0,f.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O},children:(0,f.jsx)(y.sG.div,{...i,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});eC.displayName="SelectItemAlignedPosition";var eR=a.forwardRef((e,t)=>{let{__scopeSelect:r,align:n="start",collisionPadding:i=10,...a}=e,o=ev(r);return(0,f.jsx)(Q,{...o,...a,ref:t,align:n,collisionPadding:i,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});eR.displayName="SelectPopperPosition";var[eD,eN]=eg(ex,{}),ej="SelectViewport";a.forwardRef((e,t)=>{let{__scopeSelect:r,nonce:n,...i}=e,o=eA(ej,r),s=eN(ej,r),u=(0,c.s)(t,o.onViewportChange),d=a.useRef(0);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),(0,f.jsx)(eh.Slot,{scope:r,children:(0,f.jsx)(y.sG.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:(0,l.m)(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=s;if(n?.current&&r){let e=Math.abs(d.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,i=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(i<n){let a=i+e,o=Math.min(n,a),s=a-o;r.style.height=o+"px","0px"===r.style.bottom&&(t.scrollTop=s>0?s:0,r.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})}).displayName=ej;var eM="SelectGroup",[eL,e$]=eg(eM),eU=a.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,i=(0,j.B)();return(0,f.jsx)(eL,{scope:r,id:i,children:(0,f.jsx)(y.sG.div,{role:"group","aria-labelledby":i,...n,ref:t})})});eU.displayName=eM;var eF="SelectLabel";a.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,i=e$(eF,r);return(0,f.jsx)(y.sG.div,{id:i.id,...n,ref:t})}).displayName=eF;var eB="SelectItem",[ez,eH]=eg(eB);a.forwardRef((e,t)=>{let{__scopeSelect:r,value:n,disabled:i=!1,textValue:o,...s}=e,u=eE(eB,r),d=eA(eB,r),h=u.value===n,[p,m]=a.useState(o??""),[g,v]=a.useState(!1),b=(0,c.s)(t,e=>
29d.itemRefCallback?.(e,n,i)),E=(0,j.B)(),_=a.useRef("touch"),S=()=>{i||(u.onValueChange(n),u.onOpenChange(!1))};if(""===n)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,f.jsx)(ez,{scope:r,value:n,disabled:i,textId:E,isSelected:h,onItemTextChange:a.useCallback(e=>{m(t=>t||(e?.textContent??"").trim())},[]),children:(0,f.jsx)(eh.ItemSlot,{scope:r,value:n,disabled:i,textValue:p,children:(0,f.jsx)(y.sG.div,{role:"option","aria-labelledby":E,"data-highlighted":g?"":void 0,"aria-selected":h&&g,"data-state":h?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...s,ref:b,onFocus:(0,l.m)(s.onFocus,()=>v(!0)),onBlur:(0,l.m)(s.onBlur,()=>v(!1)),onClick:(0,l.m)(s.onClick,()=>{"mouse"!==_.current&&S()}),onPointerUp:(0,l.m)(s.onPointerUp,()=>{"mouse"===_.current&&S()}),onPointerDown:(0,l.m)(s.onPointerDown,e=>{_.current=e.pointerType}),onPointerMove:(0,l.m)(s.onPointerMove,e=>{_.current=e.pointerType,i?d.onItemLeave?.():"mouse"===_.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,l.m)(s.onPointerLeave,e=>{e.currentTarget===document.activeElement&&d.onItemLeave?.()}),onKeyDown:(0,l.m)(s.onKeyDown,e=>{(d.searchRef?.current===""||" "!==e.key)&&(ed.includes(e.key)&&S()," "===e.key&&e.preventDefault())})})})})}).displayName=eB;var eq="SelectItemText";a.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:i,...s}=e,l=eE(eq,r),u=eA(eq,r),d=eH(eq,r),h=eS(eq,r),[p,m]=a.useState(null),g=(0,c.s)(t,e=>m(e),d.onItemTextChange,e=>u.itemTextRefCallback?.(e,d.value,d.disabled)),v=p?.textContent,b=a.useMemo(()=>(0,f.jsx)("option",{value:d.value,disabled:d.disabled,children:v},d.value),[d.disabled,d.value,v]),{onNativeOptionAdd:E,onNativeOptionRemove:_}=h;return(0,U.N)(()=>(E(b),()=>_(b)),[E,_,b]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(y.sG.span,{id:d.textId,...s,ref:g}),d.isSelected&&l.valueNode&&!l.valueNodeHasChildren?o.createPortal(s.children,l.valueNode):null]})}).displayName=eq;var eG="SelectItemIndicator";a.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return eH(eG,r).isSelected?(0,f.jsx)(y.sG.span,{"aria-hidden":!0,...n,ref:t}):null}).displayName=eG;var eW="SelectScrollUpButton";a.forwardRef((e,t)=>{let r=eA(eW,e.__scopeSelect),n=eN(eW,e.__scopeSelect),[i,o]=a.useState(!1),s=(0,c.s)(t,n.onScrollButtonChange);return(0,U.N)(()=>{if(r.viewport&&r.isPositioned){let e=function(){o(t.scrollTop>0)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),i?(0,f.jsx)(eY,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null}).displayName=eW;var eV="SelectScrollDownButton";a.forwardRef((e,t)=>{let r=eA(eV,e.__scopeSelect),n=eN(eV,e.__scopeSelect),[i,o]=a.useState(!1),s=(0,c.s)(t,n.onScrollButtonChange);return(0,U.N)(()=>{if(r.viewport&&r.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;o(Math.ceil(t.scrollTop)<e)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),i?(0,f.jsx)(eY,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null}).displayName=eV;var eY=a.forwardRef((e,t)=>{let{__scopeSelect:r,onAutoScroll:n,...i}=e,o=eA("SelectScrollButton",r),s=a.useRef(null),u=ep(r),c=a.useCallback(()=>{null!==s.current&&(window.clearInterval(s.current),s.current=null)},[]);return a.useEffect(()=>()=>c(),[c]),(0,U.N)(()=>{let e=u().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[u]),(0,f.jsx)(y.sG.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:(0,l.m)(i.onPointerDown,()=>{null===s.current&&(s.current=window.setInterval(n,50))}),onPointerMove:(0,l.m)(i.onPointerMove,()=>{o.onItemLeave?.(),null===s.current&&(s.current=window.setInterval(n,50))}),onPointerLeave:(0,l.m)(i.onPointerLeave,()=>{c()})})});a.forwardRef((e,t)=>
29{let{__scopeSelect:r,...n}=e;return(0,f.jsx)(y.sG.div,{"aria-hidden":!0,...n,ref:t})}).displayName="SelectSeparator";var eZ="SelectArrow";a.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,i=ev(r),a=eE(eZ,r),o=eA(eZ,r);return a.open&&"popper"===o.position?(0,f.jsx)(et,{...i,...n,ref:t}):null}).displayName=eZ;var eK=a.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{let i=a.useRef(null),o=(0,c.s)(n,i),s=(0,eo.Z)(t);return a.useEffect(()=>{let e=i.current;if(!e)return;let r=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==t&&r){let n=new Event("change",{bubbles:!0});r.call(e,t),e.dispatchEvent(n)}},[s,t]),(0,f.jsx)(y.sG.select,{...r,style:{...es,...r.style},ref:o,defaultValue:t})});function eX(e){return""===e||void 0===e}function eQ(e){let t=(0,v.c)(e),r=a.useRef(""),n=a.useRef(0),i=a.useCallback(e=>{let i=r.current+e;t(i),function e(t){r.current=t,window.clearTimeout(n.current),""!==t&&(n.current=window.setTimeout(()=>e(""),1e3))}(i)},[t]),o=a.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return a.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,i,o]}function eJ(e,t,r){var n,i;let a=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=r?e.indexOf(r):-1,s=(n=e,i=Math.max(o,0),n.map((e,t)=>n[(i+t)%n.length]));1===a.length&&(s=s.filter(e=>e!==r));let l=s.find(e=>e.textValue.toLowerCase().startsWith(a.toLowerCase()));return l!==r?l:void 0}eK.displayName="SelectBubbleInput";var e0=ew,e1=eU},87441:(e,t,r)=>{"use strict";r.d(t,{A:()=>C});var n=r(71681),i=r(13735);let a=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,o=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s={};function l(e,t){return((t||s).jsx?o:a).test(e)}let u=/[ \t\n\f\r]/g;function c(e){return""===e.replace(u,"")}var d=r(66850),f=r(32040);let h={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var p=r(15502),m=r(52456),g=r(26891),y=r(20549);let v={}.hasOwnProperty,b=new Map,E=/[A-Z]/g,_=new Set(["table","tbody","thead","tfoot","tr"]),S=new Set(["td","th"]),w="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function T(e,t,r){var a,o,s,l,u,g,b,T,C;let R,D,N,j,M,L,$,U,F,B,z;return"element"===t.type?(a=e,o=t,s=r,D=R=a.schema,"svg"===o.tagName.toLowerCase()&&"html"===R.space&&(a.schema=d.JW),a.ancestors.push(o),N=A(a,o.tagName,!1),j=function(e,t){let r,i,a={};for(i in t.properties)if("children"!==i&&v.call(t.properties,i)){let o=function(e,t,r){let i=(0,f.I)(e.schema,t);if(!(null==r||"number"==typeof r&&Number.isNaN(r))){if(Array.isArray(r)&&(r=i.commaSeparated?(0,n.A)(r):(0,p.A)(r)),"style"===i.property){let t="object"==typeof r?r:function(e,t){try{return m(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};let t=new y.o("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=w+"#cannot-parse-style-attribute",t}}(e,String(r));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,r={};for(t in e)v.call(e,t)&&(r[function(e){let t=e.replace(E,I);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return r}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&i.space?h[i.property]||i.property:i.attribute,r]}}(e,i,t.properties[i]);if(o){let[n,i]=o;e.tableCellAlignToStyle&&"align"===n&&"string"==typeof i&&S.has(t.tagName)?r=i:a[n]=i}}return r&&((a.style||(a.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),a}(a,o),M=P(a,o),_.has(o.tagName)&&(M=M.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&c(e.value):c(e))})),O(a,j,N,o),x(j,M),a.ancestors.pop(),a.schema=R,a.create(o,N,j,s)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let r=t.data.estree.body[0];return(0,i.ok)("ExpressionStatement"===r.type),e.evaluater.evaluateExpression(r.expression)}k(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(l=e,u=t,g=r,$=L=l.schema,"svg"===u.name&&"html"===L.space&&(l.schema=d.JW),l.ancestors.push(u),U=null===u.name?l.Fragment:A(l,u.name,!0),F=function(e,t){let r={};for(let n of t.attributes)if("mdxJsxExpressionAttribute"===n.type)if(n.data&&n.data.estree&&e.evaluater){let t=n.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type);let a=t.expression;(0,i.ok)("ObjectExpression"===a.type);let o=a.properties[0];(0,i.ok)("SpreadElement"===o.type),Object.assign(r,e.evaluater.evaluateExpression(o.argument))}else k(e,t.position);else{let a,o=n.name;if(n.value&&"object"==typeof n.value)if(n.value.data&&n.value.data.estree&&e.evaluater){let t=n.value.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type),a=e.evaluater.evaluateExpression(t.expression)}else k(e,t.position);else a=null===n.value||n.value;r[o]=a}return r}(l,u),B=P(l,u),O(l,F,U,u),x(F,B),l.ancestors.pop(),l.schema=L,l.create(u,U,F,g)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);k(e,t.position)}(e,t):"root"===t.type?(b=e,T=t,C=r,x(z={},P(b,T)),b.create(T,b.Fragment,z,C)):"text"===t.type?t.value:void 0}function O(e,t,r,n){"string"!=typeof r&&r!==e.Fragment&&e.passNode&&(t.node=n)}function x(e,t){if(t.length>0){let r=t.length>1?t:t[0];r&&(e.children=r)}}function P(e,t){let r=[],n=-1,i=e.passKeys?new Map:b;for(;++n<t.children.length;){let a,o=t.children[n];if(e.passKeys){let e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){let t=i.get(e)||0;a=e+"-"+t,i.set(e,t+1)}}let s=T(e,o,a);void 0!==s&&r.push(s)}return r}function A(e,t,r){let n;if(r)if(t.includes(".")){let e,r=t.split("."),a=-1;for(;++a<r.length;){let t=l(r[a])?{type:"Identifier",name:r[a]}:{type:"Literal",value:r[a]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(a&&"Literal"===t.type),optional:!1}:t}(0,i.ok)(e,"always a result"),n=e}else n=l(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else n={type:"Literal",value:t};if("Literal"===n.type){let t=n.value;return v.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(n);k(e)}function k(e,t){let r=new y.o("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=w+"#cannot-handle-mdx-estrees-without-createevaluater",r}function I(e){return"-"+e.toLowerCase()}function C(e){this.compiler=function(t,r){return function(e,t){var r,n,i,a;let o;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let s=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=s,n=t.jsxDEV,o=function(e,t,i,a){let o=Array.isArray(i.children),s=(0,g.PW)(e);return n(t,i,a,o,{columnNumber:s?s.column-1:void 0,fileName:r,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
29if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,a=t.jsxs,o=function(e,t,r,n){let o=Array.isArray(r.children)?a:i;return n?o(t,r,n):o(t,r)}}let l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:s,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?d.JW:d.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=T(l,e,void 0);return u&&"string"!=typeof u?u:l.create(e,l.Fragment,{children:u||void 0},void 0)}(t,{filePath:r.path,...e})}}},88163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseLoaderTree",{enumerable:!0,get:function(){return i}});let n=r(73004);function i(e){let[t,r,i,a]=e,{layout:o,template:s}=i,{page:l}=i;l=t===n.DEFAULT_SEGMENT_KEY?i.defaultPage:l;let u=o?.[1]||s?.[1]||l?.[1];return{page:l,segment:t,modules:i,conventionPath:u,parallelRoutes:r,staticSiblings:a}}},88166:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return E},handleClientScriptLoad:function(){return y},initScriptLoader:function(){return v}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(93051),o=r(87408),s=r(67368),l=a._(r(13957)),u=o._(r(74180)),c=r(82997),d=r(42069),f=r(53769),h=r(25221),p=new Map,m=new Set,g=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:a,children:o="",strategy:s="afterInteractive",onError:u,stylesheets:c}=e,f=r||t;if(f&&m.has(f))return;if(p.has(t)){m.add(f),p.get(t).then(n,u);return}let h=()=>{i&&i(),m.add(f)},g=document.createElement("script"),y=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),h()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});a?(g.innerHTML=a.__html||"",h()):o?(g.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",h()):t&&(g.src=t,p.set(t,y)),(0,d.setAttributesFromProps)(g,e),"worker"===s&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",s),c&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(c),document.body.appendChild(g)};function y(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>g(e))}):g(e)}function v(e){e.forEach(y),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");m.add(t)})}function b(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:a="afterInteractive",onError:o,stylesheets:d,...p}=e,{updateScripts:y,scripts:v,getIsSsr:b,appDir:E,nonce:_}=(0,u.useContext)(c.HeadManagerContext);_=p.nonce||_;let S=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||r;S.current||(i&&e&&m.has(e)&&i(),S.current=!0)},[i,t,r]);let w=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{if(!w.current){if("afterInteractive"===a)g(e);else"lazyOnload"===a&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>g(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>g(e))}));w.current=!0}},[e,a]),("beforeInteractive"===a||"worker"===a)&&(y?(v[a]=(v[a]||[]).concat([{id:t,src:r,onLoad:n,onReady:i,onError:o,...p,nonce:_}]),y(v)):b&&b()?m.add(t||r):b&&!b()&&g({...e,nonce:_})),E){if(d&&d.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===a)if(!r)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,h.htmlEscapeJsonString)(JSON.stringify([0,{...p,id:t}]))})`}});else return l.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:_,crossOrigin:p.crossOrigin}:{as:"script",nonce:_,crossOrigin:p.crossOrigin}),(0,s.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,h.htmlEscapeJsonString)(JSON.stringify([r,{...p,id:t}]))})`}});"afterInteractive"===a&&r&&l.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:_,crossOrigin:p.crossOrigin}:{as:"script",nonce:_,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});let E=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
29dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},88509:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createDedupedByCallsiteServerErrorLoggerDev",{enumerable:!0,get:function(){return l}});let n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=n?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,t&&t.set(e,r),r}(r(74180));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}let a={current:null},o="function"==typeof n.cache?n.cache:e=>e,s=console.warn;function l(e){return function(...t){s(e(...t))}}o(e=>{try{s(a.current)}finally{a.current=null}})},88522:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=(n=r(36717))&&n.__esModule?n:{default:n},o=r(65985),s="http://www.w3.org/2000/svg";t.default=function(){function e(t,r,n){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.svg=t,this.encodings=r,this.options=n,this.document=n.xmlDocument||document}return i(e,[{key:"render",value:function(){var e=this.options.marginLeft;this.prepareSVG();for(var t=0;t<this.encodings.length;t++){var r=this.encodings[t],n=(0,a.default)(this.options,r.options),i=this.createGroup(e,n.marginTop,this.svg);this.setGroupOptions(i,n),this.drawSvgBarcode(i,n,r),this.drawSVGText(i,n,r),e+=r.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,o.calculateEncodingAttributes)(this.encodings,this.options);var e=(0,o.getTotalWidthOfEncodings)(this.encodings),t=(0,o.getMaximumHeightOfEncodings)(this.encodings),r=e+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(r,t),this.options.background&&this.drawRect(0,0,r,t,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(e,t,r){var n,i=r.data;n="top"==t.textPosition?t.fontSize+t.textMargin:0;for(var a=0,o=0,s=0;s<i.length;s++)o=s*t.width+r.barcodePadding,"1"===i[s]?a++:a>0&&(this.drawRect(o-t.width*a,n,t.width*a,t.height,e),a=0);a>0&&this.drawRect(o-t.width*(a-1),n,t.width*a,t.height,e)}},{key:"drawSVGText",value:function(e,t,r){var n,i,a=this.document.createElementNS(s,"text");t.displayValue&&(a.setAttribute("font-family",t.font),a.setAttribute("font-size",t.fontSize),t.fontOptions.includes("bold")&&a.setAttribute("font-weight","bold"),t.fontOptions.includes("italic")&&a.setAttribute("font-style","italic"),i="top"==t.textPosition?t.fontSize-t.textMargin:t.height+t.textMargin+t.fontSize,"left"==t.textAlign||r.barcodePadding>0?(n=0,a.setAttribute("text-anchor","start")):"right"==t.textAlign?(n=r.width-1,a.setAttribute("text-anchor","end")):(n=r.width/2,a.setAttribute("text-anchor","middle")),a.setAttribute("x",n),a.setAttribute("y",i),a.appendChild(this.document.createTextNode(r.text)),e.appendChild(a))}},{key:"setSvgAttributes",value:function(e,t){var r=this.svg;r.setAttribute("width",e+"px"),r.setAttribute("height",t+"px"),r.setAttribute("x","0px"),r.setAttribute("y","0px"),r.setAttribute("viewBox","0 0 "+e+" "+t),r.setAttribute("xmlns",s),r.setAttribute("version","1.1")}},{key:"createGroup",value:function(e,t,r){var n=this.document.createElementNS(s,"g");return n.setAttribute("transform","translate("+e+", "+t+")"),r.appendChild(n),n}},{key:"setGroupOptions",value:function(e,t){e.setAttribute("fill",t.lineColor)}},{key:"drawRect",value:function(e,t,r,n,i){var a=this.document.createElementNS(s,"rect");return a.setAttribute("x",e),a.setAttribute("y",t),a.setAttribute("width",r),a.setAttribute("height",n),i.appendChild(a),a}}]),e}()},88530:(e,t,r)=>{"use strict";r.d(t,{G:()=>E});
29var n=r(74180),i=r(65223),a=r(46635),o=["formRef","inputRef","isSearchStalled","onChange","onReset","onSubmit","placeholder","value","autoFocus","resetIconComponent","submitIconComponent","loadingIconComponent","classNames","translations"];function s(){return(s=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)}var l=n.createElement("path",{d:"M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z"});function u(e){var t=e.classNames;return n.createElement("svg",{className:(0,a.cx)("ais-SearchBox-submitIcon",t.submitIcon),width:"10",height:"10",viewBox:"0 0 40 40","aria-hidden":"true"},l)}var c=n.createElement("path",{d:"M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"});function d(e){var t=e.classNames;return n.createElement("svg",{className:(0,a.cx)("ais-SearchBox-resetIcon",t.resetIcon),viewBox:"0 0 20 20",width:"10",height:"10","aria-hidden":"true"},c)}var f=n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},n.createElement("circle",{strokeOpacity:".5",cx:"18",cy:"18",r:"18"}),n.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},n.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"}))));function h(e){var t=e.classNames;return n.createElement("svg",{"aria-label":"Results are loading",width:"16",height:"16",viewBox:"0 0 38 38",stroke:"#444",className:(0,a.cx)("ais-SearchBox-loadingIcon",t.loadingIcon),"aria-hidden":"true"},f)}function p(e){var t=e.formRef,r=e.inputRef,i=e.isSearchStalled,l=e.onChange,c=e.onReset,f=e.onSubmit,p=e.placeholder,m=e.value,g=e.autoFocus,y=e.resetIconComponent,v=e.submitIconComponent,b=e.loadingIconComponent,E=e.classNames,_=void 0===E?{}:E,S=e.translations,w=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,o);return n.createElement("div",s({},w,{className:(0,a.cx)("ais-SearchBox",_.root,w.className)}),n.createElement("form",{ref:t,action:"",className:(0,a.cx)("ais-SearchBox-form",_.form),noValidate:!0,onSubmit:function(e){e.preventDefault(),e.stopPropagation(),f&&f(e),r.current&&r.current.blur()},onReset:function(e){e.preventDefault(),e.stopPropagation(),c(e),r.current&&r.current.focus()},role:"search"},n.createElement("input",{ref:r,className:(0,a.cx)("ais-SearchBox-input",_.input),"aria-label":"Search",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",placeholder:void 0===p?"":p,spellCheck:!1,maxLength:512,type:"search",value:m,onChange:l,onCompositionEnd:l,autoFocus:g}),n.createElement("button",{className:(0,a.cx)("ais-SearchBox-submit",_.submit),type:"submit",title:S.submitButtonTitle},n.createElement(void 0===v?u:v,{classNames:_})),n.createElement("button",{className:(0,a.cx)("ais-SearchBox-reset",_.reset),type:"reset",title:S.resetButtonTitle,hidden:0===m.length||i},n.createElement(void 0===y?d:y,{classNames:_})),n.createElement("span",{className:(0,a.cx)("ais-SearchBox-loadingIndicator",_.loadingIndicator),hidden:!i},n.createElement(void 0===b?h:b,{classNames:_}))))}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var g=["queryHook","searchAsYouType","ignoreCompositionEvents","translations"];function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
29for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(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 E(e){var t,r=e.queryHook,a=e.searchAsYouType,o=void 0===a||a,s=e.ignoreCompositionEvents,l=void 0!==s&&s,u=e.translations,c=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,g),d=(0,i.V)({queryHook:r},{$$widgetType:"ais.searchBox"}),f=d.query,h=d.refine,E=d.isSearchStalled,_=function(e){if(Array.isArray(e))return e}(t=(0,n.useState)(f))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,i,a,o=[],s=!0,l=!1;try{i=(t=t.call(e)).next,!1;for(;!(s=(r=i.call(t)).done)&&(o.push(r.value),2!==o.length);s=!0);}catch(e){l=!0,n=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(l)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return b(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return b(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),S=_[0],w=_[1],T=(0,n.useRef)(null);function O(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];w(e),o&&!(l&&t)&&h(e)}f!==S&&document.activeElement!==T.current&&w(f);var x={inputRef:T,isSearchStalled:E,onChange:function(e){O(e.currentTarget.value,e.nativeEvent.isComposing)},onReset:function(){O(""),o||h("")},onSubmit:function(e){o||h(S),c.onSubmit&&c.onSubmit(e)},value:S,translations:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=m(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==m(t)?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({submitButtonTitle:"Submit the search query",resetButtonTitle:"Clear the search query"},u)};return n.createElement(p,y({},c,x))}},88786:(e,t,r)=>{"use strict";r.d(t,{B:()=>n});let n="u">typeof window},89026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(r(53436)),i=a(r(35561));function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");if(/^[\x00-\x7F\xC8-\xD3]+$/.test(e))var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,(0,i.default)(e),r));else var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return o(n)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),t}(n.default)},89133:(e,t,r)=>{"use strict";r.d(t,{N:()=>i});var n=r(74180),i=globalThis?.document?n.useLayoutEffect:()=>{}},89424:(e,t,r)=>{"use strict";r.d(t,{dp:()=>tT,w1:()=>tP,UW:()=>tw});var n=r(74180),i=r(19875);async function a(e){try{let t=await fetch(e.src);if(423===t.status)return await new Promise(e=>setTimeout(e,500)),await a(e);if(!t.ok)return{success:!1,status:t.status,error:t.headers.get("x-cld-error")||"Unknown error"};return{success:!0,status:t.status}}catch(e){return{success:!1,status:500,error:e.message||"Network error"}}}r(13587).hp;var o=r(13587).hp,s=/\/v\d+\//,l=/\.(ai|avif|gif|png|webp|bmp|bw|djvu|dng|ps|ept|eps|eps3|fbx|flif|gif|glb|gltf|heif|heic|ico|indd|jpg|jpe|jpeg|jp2|wdp|jxr|hdp|obj|pdf|ply|png|psd|arw|cr2|svg|tga|tif|tiff|u3ma|usdz|webp|3g2|3gp|avi|flv|m3u8|ts|m2ts|mts|mov|mkv|mp4|mpeg|mpd|mxf|ogv|webm|wmv)$/i,u=/https?:\/\/(?<host>[^/]+)\/(?<cloudName>[^/]+)?\/?(?<assetType>image|images|video|videos|raw|files)\/(?<deliveryType>upload|fetch|private|authenticated|sprite|facebook|twitter|youtube|vimeo)?\/?(?<signature>s--([a-zA-Z0-9_-]{8}|[a-zA-Z0-9_-]{32})--)?\/?(?<transformations>(?:[^_/]+_[^,/]+,?\/?)*\/)*(?<version>v\d+|\w{1,2})\/(?<publicId>[^\s]+)$/,c=["images","videos","files"];function d(e){if("string"!=typeof e)throw Error("Failed to parse URL - Invalid src: Is not a string");if(!s.test(e))throw Error("Failed to parse URL - Invalid src: Does not include version (Ex: /v1234/)");let[t,r]=e.split("?"),n=f(t),i=t;n&&(i=t.replace(RegExp(`${n}$`),""));let a=i.match(u),o=a?.groups?.transformations?.split("/").filter(e=>!!e),l={...a?.groups,format:n,seoSuffix:void 0,transformations:o||[],queryParams:{},version:a?.groups?.version?parseInt(a.groups.version.replace("v","")):void 0};if("res.cloudinary.com"===l.host&&!l.cloudName)throw Error("Failed to parse URL - Invalid src: Cloudinary U
29RL delivered from res.cloudinary.com must include Cloud Name (ex: res.cloudinary.com/<Cloud Name>/image/...)");if(r&&(l.queryParams=r.split("&").reduce((e,t)=>{let[r,n]=t.split("=");return e[r]=n,e},{})),l.assetType&&c.includes(l.assetType)){let e=l.publicId?.split("/")||[];l.seoSuffix=e.pop(),l.publicId=e.join("/")}return l.publicId&&(l.publicId=decodeURIComponent(l.publicId)),l}function f(e){let t=e.match(l);if(null!==t)return t[0]}function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var p=r(53333);class m{constructor(e){this.values=[],this.delimiter=":",this.hasValue(e)&&this.addValue(e)}toString(){return this.values.join(this.delimiter)}hasValue(e){return null!=e&&""!==e}addValue(e){return Array.isArray(e)?this.values=this.values.concat(e):this.values.push(e),this.values=this.values.filter(e=>this.hasValue(e)),this}setDelimiter(e){return this.delimiter=e,this}}class g extends Error{constructor(e="Unsupported"){super(e)}}function y(){return this._qualifierModel||{error:new g(`unsupported qualifier ${this.constructor.name}`)}}class v{constructor(){this._qualifierModel={}}toJson(){return y.apply(this)}}class b extends v{constructor(e,t){super(),this.delimiter="_",this.key=e,t instanceof m?this.qualifierValue=t:(this.qualifierValue=new m,this.qualifierValue.addValue(t))}toString(){let{key:e,delimiter:t,qualifierValue:r}=this;return`${e}${t}${r.toString()}`}addValue(e){return this.qualifierValue.addValue(e),this}}class E extends b{constructor(e,t){super("fl",t?new m([e,`${t}`]).setDelimiter(":"):e),this.flagValue=t}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function _(){var e,t,r;let n=this._actionModel&&Object.keys(this._actionModel).length,i=null==(r=null==(t=null==(e=this._actionModel)?void 0:e.source)?void 0:t.transformation)?void 0:r.error;return i&&i instanceof Error?{error:i}:n?this._actionModel:{error:new g(`unsupported action ${this.constructor.name}`)}}class S{constructor(){this._actionModel={}}toJson(){return _.apply(this)}}class w extends S{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(e){return this.actionTag=e,this}toString(){var e,t;let r;
29return this.prepareQualifiers(),(e=this.qualifiers,t=this.flags,r=Array.from(e.entries()),t.forEach(e=>{r.push(["fl",e])}),r.sort().map(e=>e[1])).join(this.delimiter)}addQualifier(e){if("string"==typeof e){let[t,r]=e.toLowerCase().split("_");"fl"===t?this.flags.push(new E(r)):this.qualifiers.set(t,new b(t,r))}else this.qualifiers.set(e.key,e);return this}addFlag(e){return"string"==typeof e?this.flags.push(new E(e)):e instanceof E&&this.flags.push(e),this}addValueToQualifier(e,t){return this.qualifiers.get(e).addValue(t),this}}class T extends w{constructor(e){super(),this._actionModel={},this.addQualifier(new b("b",new m(function(e){return e&&e.match(/^#/)?`rgb:${e.substr(1)}`:e}(e)).setDelimiter("_"))),this._actionModel.color=e,this._actionModel.actionType="backgroundColor"}static fromJson(e){let{color:t}=e;return new this(t)}}class O{constructor(e){this.raw=e}toString(){return this.raw}toJson(){return{error:new g(`unsupported action ${this.constructor.name}`)}}}class x extends m{constructor(e){super(e),this.val=e}getValue(){return this.val}}function P(e){let t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}P({444:"CHROMA_444",420:"CHROMA_420"}),P({noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"}),P({limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"});let A=P({colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"});P({redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"}),P({autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"}),P({fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"});class k extends w{constructor(e,t,r){let n;super(),this._actionModel={},n=t instanceof x?t.getValue():t,this._actionModel.actionType=A[e],this._actionModel[r]=n,this.addQualifier(new b(e,t))}}class I extends E{constructor(e){super("progressive",e)}}class C extends k{constructor(e,t){super(e,t,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(new E("lossy")),this}progressive(e){return e instanceof I?(this._actionModel.progressive={mode:e.getFlagValue()},this.addFlag(e)):(this._actionModel.progressive={mode:e},this.addFlag(new E("progressive",e))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(new E("preserve_transparency")),this}static fromJson(e){let t,{formatType:r,lossy:n,progressive:i,preserveTransparency:a}=e;return t=r?new this("f",r):new this("f"),i&&(i.mode?t.progressive(i.mode):t.progressive()),n&&t.lossy(),a&&t.preserveTransparency(),t}}class R{constructor(){this.actions=[]}addAction(e){let t;if("string"==typeof e)if(e.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";else t=new O(e);else t=e;return this.actions.push(t),this}addTransformation(e){return e instanceof R?this.actions=this.actions.concat(e.actions):this.actions.push(new O(e)),this}toString(){return this.actions.map(e=>e.toString()).filter(e=>e).join("/")}animated(e){return this.addAction(e)}border(e){return this.addAction(e)}reshape(e){return this.addAction(e)}resize(e){return this.addAction(e)}quality(e){return this.addAction(new C("q",e)),this}format(e){return this.addAction(new C("f",e)),this}
29roundCorners(e){return this.addAction(e)}overlay(e){return this.addAction(e)}underlay(e){return e.setLayerType("u"),this.addAction(e)}addVariable(e){return this.addAction(e)}conditional(e){return this.addAction(e)}effect(e){return this.addAction(e)}adjust(e){return this.addAction(e)}rotate(e){return this.addAction(e)}namedTransformation(e){return this.addAction(e)}delivery(e){return this.addAction(e)}backgroundColor(e){return this.addAction(new T(e))}psdTools(e){return this.addAction(e)}extract(e){return this.addAction(e)}addFlag(e){let t=new w,r=e;return"string"==typeof e&&(r=new E(e)),t.addQualifier(r),this.addAction(t)}customFunction(e){return this.addAction(e)}transcode(e){return this.addAction(e)}videoEdit(e){return this.addAction(e)}toJson(){let e=[];for(let t of this.actions){let r=t.toJson();if("error"in r&&r.error)return r;e.push(r)}return{actions:e}}}class D extends R{}class N{filterOutNonSupportedKeys(e,t){let r=Object.create({});return"object"!=typeof e||e instanceof Array?Object.create({}):(Object.keys(e).forEach(n=>{t.indexOf(n)>=0?r[n]=e[n]:console.warn("Warning - unsupported key provided to configuration: ",n)}),r)}}let j=N,M=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class L extends j{constructor(e){super(),Object.assign(this,{secure:!0},this.filterOutNonSupportedKeys(e,M))}extend(e){return new L(Object.assign({},this,this.filterOutNonSupportedKeys(e,M)))}setCname(e){return this.cname=e,this}setSecureDistribution(e){return this.secureDistribution=e,this}setPrivateCdn(e){return this.privateCdn=e,this}setSignUrl(e){return this.signUrl=e,this}setLongUrlSignature(e){return this.longUrlSignature=e,this}setShorten(e){return this.shorten=e,this}setUseRootPath(e){return this.useRootPath=e,this}setSecure(e){return this.secure=e,this}setForceVersion(e){return this.forceVersion=e,this}setQueryParams(e){return this.queryParams=e,this}}function $(e,t,r){let n=0|t,i=String(void 0!==r?r:" ");return e.length>n?String(e):((n-=e.length)>i.length&&(i+=function(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}(i,n/i.length)),i.slice(0,n)+String(e))}let U={},F=0;function B(e){let t="",r=e.split(".").length,n=parseInt((function(e){if(e.split(".").length<2)throw Error("invalid semVer, must have at least two segments");return e.split(".").reverse().map(e=>{let t=+e;if(isNaN(t)||t<0)throw"Invalid version number provided";return $(e,2,"0")}).join(".")})(e).split(".").join("")).toString(2);if((n=$(n,6*r,"0")).length%6!=0)throw"Version must be smaller than 43.21.26)";return n.match(/.{1,6}/g).forEach(e=>{t+=U[e]}),t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(e=>{let t=F.toString(2);U[t=$(t,6,"0")]=e,F++});var z=r(30880);function H(e){var t;let r,n,i=(n={sdkSemver:(r={techVersion:function(){let e="0.0.0";if("u">typeof window)return e;try{return z.versions.node||e}catch(t){return e}}(),sdkCode:"T",sdkSemver:"1.15.0".split("-")[0],product:"A",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1},t=!e?r:Object.assign(Object.assign({},r),e)).sdkSemver,techVersion:t.techVersion,sdkCode:t.sdkCode,product:t.product,feature:"0"},t.accessibility&&(n.feature="D"),t.lazyload&&(n.feature="C"),t.responsive&&(n.feature="A"),t.placeholder&&(n.feature="B"),n);try{let e,t=(e=i.techVersion.split("."),`${e[0]}.${e[1]}`),r=B(i.sdkSemver),n=B(t),a=i.feature,o=i.sdkCode,s=i.product;return`B${s}${o}${r}${n}${a}`}catch(e){return"E"}}let q={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class G{constructor(e,t={},r){this.setPublicID(e),this.setCloudConfig(t),this.setURLConfig(r)}setURLConfig(e){return this.urlConfig=new L(e),this}setCloudConfig(e){return this.cloudName=e.cloudName,this.apiKey=e.apiKey,this.apiSecret=e.apiSecret,this.authToken=e.authToken,this}setPublicID(e){return this.publicID=e?e.toString():"",this}setDeliveryType(e){return this.deliveryType=e,this}setSuffix(e){return this.suffix=e,this}setSignature(e){return this.signature=e,this}setVersion(e){return e&&(this.version=e),this}setAssetType(e){return e&&(this.assetType=e),this}sign(){return this}toURL(e={}){return this.createCloudinaryURL(null,e.trackedAnalytics)}validateAssetForURLCreation(){if(void 0===this.cloudName)throw"You must supply a cloudName when initializing the asset";let e=this.suffix&&this.suffix.indexOf(".")>=0,t=this.suffix&&this.suffix.indexOf("/")>=0;if(e||t)throw"`suffix`` should not include . or /"}getResourceType(){var e,t;let r=(e=this.assetType)?e:"image",n=(t=this.deliveryType)?t:"upload",i=!!this.suffix,a=`${r}/${n}`,o=q[`${r}/${n}`],s=this.urlConfig.useRootPath,l=this.urlConfig.shorten;if(s)if("image/upload"===a)return"";else throw Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${a} instead`);if(l&&"image/upload"===a)return"iu";if(i)if(o)return o;else throw Error(`URL Suffix only supported for ${Object.keys(q).join(", ")}, Provided: ${a} instead`);return a}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(e,t){var r,n,i,a,o;let s,l,u,c;
29if(!this.publicID)return"";this.validateAssetForURLCreation();let d=(r=this.cloudName,s=(n=this.urlConfig).secure,l=n.privateCdn,u=n.cname,c=n.secureDistribution,s||u?s&&!c&&l?`https://${r}-res.cloudinary.com`:s&&!c?`https://res.cloudinary.com/${r}`:s&&c&&l?`https://${c}`:s&&c?`https://${c}/${r}`:!s&&u?`http://${u}/${r}`:"ERROR":`http://res.cloudinary.com/${r}`),f=e?e.toString():"",h=(i=this.publicID,a=this.version,o=this.urlConfig.forceVersion,a?`v${a}`:i.match(/^v[0-9]+/)||i.match(/^https?:\//)||0>i.indexOf("/")?"":!1!==o?"v1":""),p=this.publicID;if("string"==typeof e)return[d,this.getResourceType(),this.getSignature(),f,h,p.replace(/,/g,"%2C"),this.suffix].filter(e=>e).join("/");{let e=[encodeURI(d),this.getResourceType(),this.getSignature(),encodeURI(f),h,encodeURI(p).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(e=>e).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),r=!1!==this.urlConfig.analytics&&!p.includes("?"),n="";if("object"==typeof this.urlConfig.queryParams)try{let e=new URLSearchParams(this.urlConfig.queryParams);r&&e.set("_a",H(t)),n=e.toString()}catch(e){console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else n=this.urlConfig.queryParams||"",r&&(n+=`${n.length>0?"&":""}_a=${H(t)}`);return n?`${e}?${n}`:e}}}class W extends G{constructor(e,t,r,n){super(e,t,r),this.transformation=n}animated(e){return this.transformation.animated(e),this}border(e){return this.transformation.border(e),this}reshape(e){return this.transformation.reshape(e),this}resize(e){return this.transformation.resize(e),this}quality(e){return this.addAction(new C("q",e)),this}format(e){return this.addAction(new C("f",e)),this}
29roundCorners(e){return this.transformation.roundCorners(e),this}overlay(e){return this.transformation.overlay(e),this}addVariable(e){return this.transformation.addVariable(e),this}conditional(e){return this.transformation.conditional(e),this}effect(e){return this.transformation.effect(e),this}adjust(e){return this.transformation.adjust(e),this}rotate(e){return this.transformation.rotate(e),this}namedTransformation(e){return this.transformation.namedTransformation(e),this}delivery(e){return this.transformation.delivery(e),this}backgroundColor(e){return this.transformation.backgroundColor(e),this}psdTools(e){return this.transformation.psdTools(e),this}extract(e){return this.transformation.extract(e),this}addFlag(e){return this.transformation.addFlag(e),this}customFunction(e){return this.transformation.customFunction(e),this}addAction(e){return this.transformation.addAction(e),this}addTransformation(e){return this.transformation.addTransformation(e),this}toString(){return this.transformation.toString()}underlay(e){return this.transformation.underlay(e),this}toURL(e={}){return this.createCloudinaryURL(this.transformation,null==e?void 0:e.trackedAnalytics)}}class V extends W{constructor(e,t,r){super(e,t,r,new D)}}class Y extends R{}class Z extends W{constructor(e,t,r){super(e,t,r,new Y),this.assetType="video"}transcode(e){return this.transformation.transcode(e),this}videoEdit(e){return this.transformation.videoEdit(e),this}}class K{constructor(e){e&&(this.cloudinaryConfig=e)}image(e){return new V(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(e){return new Z(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(e){return this.cloudinaryConfig=e,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}var X=r(30880),Q=Object.defineProperty,J={},ee={angle:()=>ea,aspectRatio:()=>es,aspectRatioModesEnum:()=>eo,crop:()=>el,cropModesEnum:()=>er,extractMode:()=>eu,extractModesEnum:()=>en,flags:()=>ec,flagsEnum:()=>ei,format:()=>ed,gravity:()=>ef,height:()=>eh,multiple:()=>ep,prompt:()=>em,width:()=>eg,x:()=>ey,y:()=>ev,zoom:()=>eb};for(var et in ee)Q(J,et,{get:ee[et],enumerable:!0});var er=p.k5(["auto","crop","fill","fill_pad","fit","imagga_crop","imagga_scale","lfill","limit","lpad","mfit","mpad","pad","scale","thumb"]),en=p.k5(["content","mask"]),ei=p.k5(["animated","any_format","apng","attachment","awebp","clip","clip_evenodd","cutter","force_icc","force_strip","getinfo","group4","hlsv3","ignore_aspect_ratio","ignore_mask_channels","immutable_cache","keep_attribution","keep_dar","keep_iptc","layer_apply","lossy","mono","no_overflow","no_stream","png8_fl_png24_fl_png32","preserve_transparency","progressive","rasterize","region_relative","relative","replace_image","sanitize","splice","streaming_attachment","strip_profile","text_disallow_overflow","text_no_trim","tiff8_lzw","tiled","truncate_ts","waveform"]),ea={qualifier:"a",schema:p.KC([p.Yj(),p.ai()]).describe(JSON.stringify({text:"Rotates or flips an asset by the specified number of degrees or automatically according to its orientation or available metadata.",url:"https://cloudinary.com/documentation/transformation_reference#a_angle"}))},eo=p.k5(["vflip","hflip","ignore","auto_right","auto_left"]),es={qualifier:"ar",schema:p.KC([p.ai(),eo,p.E$(p.Yj(),p.Ik({}))]).describe(JSON.stringify({text:"Crops or resizes the asset to a new aspect ratio.",url:"https://cloudinary.com/documentation/transformation_reference#ar_aspect_ratio"}))},el={qualifier:"c",schema:er.describe(JSON.stringify({text:"Mode to use when cropping an asset.",url:"https://cloudinary.com/documentation/transformation_reference#c_crop_resize"}))},eu={schema:en.default("content").describe(JSON.stringify({text:"Whether to keep the content of the extracted area, or to replace it with a mask.",url:"https://cloudinary.com/documentation/transformation_reference#e_extract"}))},ec={qualifier:"fl",schema:p.KC([ei,p.YO(ei)]).describe(JSON.stringify({text:"Alters the regular behavior of another transformation or the overall delivery behavior.",url:"https://cloudinary.com/documentation/transformation_reference#fl_flag"}))},ed={qualifier:"f",schema:p.Yj().describe(JSON.stringify({text:"Converts (if necessary) and delivers an asset in the specified format regardless of the file extension used in the delivery URL.",url:"https://cloudinary.com/documentation/transformation_reference#f_format"}))},ef={qualifier:"g",schema:p.KC([p.k5(["auto","auto_content_aware","center","custom","east","face","face_center","multi_face","north","north_east","north_
29west","south","south_east","south_west","west"]),p.E$(p.Yj(),p.Ik({}))]).describe(JSON.stringify({text:"Determines which part of an asset to focus on. Note: Default of auto is applied for supported crop modes only.",url:"https://cloudinary.com/documentation/transformation_reference#g_gravity"}))},eh={qualifier:"h",schema:p.KC([p.ai(),p.Yj()]).describe(JSON.stringify({text:"A qualifier that determines the height of a transformed asset or an overlay.",url:"https://cloudinary.com/documentation/transformation_reference#h_height"}))},ep={schema:p.zM().describe(JSON.stringify({text:"Should generative AI features detect multiple instances."}))},em={schema:p.Yj().describe(JSON.stringify({text:"Natural language descriptions used for generative AI capabilities."}))},eg={qualifier:"w",schema:p.KC([p.ai(),p.Yj()]).describe(JSON.stringify({text:"A qualifier that sets the desired width of an asset using a specified value, or automatically based on the available width.",url:"https://cloudinary.com/documentation/transformation_reference#w_width"}))},ey={qualifier:"x",schema:p.KC([p.Yj(),p.ai()]).describe(JSON.stringify({text:"Adjusts the starting location or offset of the x axis.",url:"https://cloudinary.com/documentation/transformation_reference#x_y_coordinates"}))},ev={qualifier:"y",schema:p.KC([p.Yj(),p.ai()]).describe(JSON.stringify({text:"Adjusts the starting location or offset of the y axis.",url:"https://cloudinary.com/documentation/transformation_reference#x_y_coordinates"}))},eb={schema:p.Yj().describe(JSON.stringify({text:"Controls how close to crop to the detected coordinates when using face-detection, custom-coordinate, or object-specific gravity.",url:"https://cloudinary.com/documentation/transformation_reference#z_zoom"}))},eE=[{test:function(e){return"string"==typeof e&&!!e.startsWith("#")},convert:function(e){return`rgb:${e.replace("#","")}`}}],e_={aspectRatio:es,crop:el,gravity:ef,height:eh,width:eg},eS={angle:ea,gravity:ef,x:ey,y:ev},ew={alignment:{qualifier:!1,order:6},antialias:{qualifier:"antialias"},border:{qualifier:"bo",location:"primary"},color:{qualifier:"co",location:"primary",converters:eE},fontFamily:{qualifier:!1,order:1},fontSize:{qualifier:!1,order:2},fontStyle:{qualifier:!1,order:4},fontWeight:{qualifier:!1,order:3},hinting:{qualifier:"hinting"},letterSpacing:{qualifier:"letter_spacing"},lineSpacing:{qualifier:"line_spacing"},stroke:{qualifier:"self",order:7},textDecoration:{qualifier:!1,order:5}},eT={angle:ea,art:{prefix:"e",qualifier:"art",schema:p.Yj().describe(JSON.stringify({text:"Applies the selected artistic filter.",url:"https://cloudinary.com/documentation/transformation_reference#e_art"}))},autoBrightness:{prefix:"e",qualifier:"auto_brightness",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Automatically adjusts the image brightness and blends the result with the original image.",url:"https://cloudinary.com/documentation/transformation_reference#e_auto_brightness"}))},autoColor:{prefix:"e",qualifier:"auto_color",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Automatically adjusts the image color balance and blends the result with the original image.",url:"https://cloudinary.com/documentation/transformation_reference#e_auto_color"}))},autoContrast:{prefix:"e",qualifier:"auto_contrast",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Automatically adjusts the image contrast and blends the result with the original image.",url:"https://cloudinary.com/documentation/transformation_reference#e_auto_contrast"}))},assistColorblind:{prefix:"e",qualifier:"assist_colorblind",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Applies stripes or color adjustment to help people with common color blind conditions to differentiate between colors that are similar for them.",url:"https://cloudinary.com/documentation/transformation_reference#e_assist_colorblind"}))},background:{qualifier:"b",schema:p.Yj().describe(JSON.stringify({text:"Applies a background to empty or transparent areas.",url:"https://cloudinary.com/documentation/transformation_reference#b_background"}))},blackwhite:{prefix:"e",qualifier:"blackwhite",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Converts an image to black and white.",url:"https://cloudinary.com/documentation/transformation_reference#e_blackwhite"}))},blur:{prefix:"e",qualifier:"blur",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Applies a blurring filter to an asset.",url:"https://cloudinary.com/documentation/transformation_reference#e_blur"}))},blurFaces:{prefix:"e",qualifier:"blur_faces",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Blurs all detected faces in an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_blur_faces"}))},blurRegion:{prefix:"e",qualifier:"blur_region",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Applies a blurring filter to the region of an image specified by x, y, width and height, or an area of text. If no region is specified, the whole image is blurred.",url:"https://cloudinary.com/documentation/transformation_reference#e_blur_region"}))},border:{qualifier:"bo",schema:p.Yj().describe(JSON.stringify({text:"Adds a solid border around an image or video.",url:"https://cloudinary.com/documentation/transformation_reference#bo_border"}))},brightness:{prefix:"e",qualifier:"brightness",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Adjusts the image or video brightness.",url:"https://cloudinary.com/documentation/transformation_reference#e_brightness"}))},brightnessHSB:{prefix:"e",qualifier:"brightness_hsb",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Adjusts image brightness modulation in HSB to prevent artifacts in some images.",url:"https://cloudinary.com/documentation/transformation_reference#e_brightness_hsb"}))},cartoonify:{prefix:"e",qualifier:"cartoonify",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Applies a cartoon effect to an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_cartoonify"}))},color:{qualifier:"co",schema:p.Yj().describe(JSON.stringify({text:"A qualifier that specifies the color to use with the corresponding transformation.",url:"https://cloudinary.com/documentation/transformation_reference#co_color"})),converters:eE}
29,colorize:{prefix:"e",qualifier:"colorize",schema:p.Yj().describe(JSON.stringify({text:"Colorizes an image. By default, gray is used for colorization. You can specify a different color using the color qualifier.",url:"https://cloudinary.com/documentation/transformation_reference#e_colorize"}))},contrast:{prefix:"e",qualifier:"contrast",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Adjusts an image or video contrast.",url:"https://cloudinary.com/documentation/transformation_reference#e_contrast"}))},displace:{prefix:"e",qualifier:"distort",schema:p.Yj().describe(JSON.stringify({text:"Displaces the pixels in an image according to the color channels of the pixels in another specified image (a gradient map specified with the overlay parameter).",url:"https://cloudinary.com/documentation/transformation_reference#e_displace"}))},distort:{prefix:"e",qualifier:"distort",schema:p.Yj().describe(JSON.stringify({text:"Distorts an image to a new shape by either adjusting its corners or by warping it into an arc.",url:"https://cloudinary.com/documentation/transformation_reference#e_distort"}))},fillLight:{prefix:"e",qualifier:"fill_light",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Adjusts the fill light and optionally blends the result with the original image.",url:"https://cloudinary.com/documentation/transformation_reference#e_fill_light"}))},gamma:{prefix:"e",qualifier:"gamma",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Adjusts the image or video gamma level.",url:"https://cloudinary.com/documentation/transformation_reference#e_gamma"}))},gradientFade:{prefix:"e",qualifier:"gradient_fade",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Applies a gradient fade effect from the edge of an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_gradient_fade"}))},grayscale:{prefix:"e",qualifier:"grayscale",schema:p.zM().describe(JSON.stringify({text:"Converts an image to grayscale (multiple shades of gray).",url:"https://cloudinary.com/documentation/transformation_reference#e_grayscale"}))},hue:{prefix:"e",qualifier:"hue",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Adjusts an image's hue.",url:"https://cloudinary.com/documentation/transformation_reference#e_hue"}))},improve:{prefix:"e",qualifier:"improve",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Adjusts an image's colors, contrast and brightness to improve its appearance.",url:"https://cloudinary.com/documentation/transformation_reference#e_improve"}))},loop:{prefix:"e",qualifier:"loop",schema:p.KC([p.zM(),p.ai(),p.Yj()]).describe(JSON.stringify({text:"Loops a video or animated image the specified number of times.",url:"https://cloudinary.com/documentation/transformation_reference#e_loop"}))},multiply:{prefix:"e",qualifier:"multiply",schema:p.zM().describe(JSON.stringify({text:"A qualifier that blends image layers using the multiply blend mode",url:"https://cloudinary.com/documentation/transformation_reference#e_multiply"}))},negate:{prefix:"e",qualifier:"negate",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"https://cloudinary.com/documentation/transformation_reference#e_negate",url:"https://cloudinary.com/documentation/transformation_reference#e_negate"}))},noise:{prefix:"e",qualifier:"noise",schema:p.zM().describe(JSON.stringify({text:"https://cloudinary.com/documentation/transformation_reference#e_noise",url:"https://cloudinary.com/documentation/transformation_reference#e_noise"}))},oilPaint:{prefix:"e",qualifier:"oil_paint",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"https://cloudinary.com/documentation/transformation_reference#e_oil_paint",url:"https://cloudinary.com/documentation/transformation_reference#e_oil_paint"}))},opacity:{qualifier:"o",schema:p.KC([p.Yj(),p.ai()]).describe(JSON.stringify({text:"Adjusts the opacity of an asset and makes it semi-transparent.",url:"https://cloudinary.com/documentation/transformation_reference#o_opacity"}))},outline:{prefix:"e",qualifier:"outline",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Adds an outline effect to an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_outline"}))},pixelate:{prefix:"e",qualifier:"pixelate",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Applies a pixelation effect.",url:"https://cloudinary.com/documentation/transformation_reference#e_pixelate"}))},pixelateFaces:{prefix:"e",qualifier:"pixelate_faces",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Pixelates all detected faces in an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_pixelate_faces"}))},pixelateRegion:{prefix:"e",qualifier:"pixelate_region",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Pixelates the region of an image specified by x, y, width and height, or an area of text.",url:"https://cloudinary.com/documentation/transformation_reference#e_pixelate_region"}))},radius:{qualifier:"r",schema:p.KC([p.Yj(),p.ai()]).describe(JSON.stringify({text:"Rounds the corners of an image or video.",url:"https://cloudinary.com/documentation/transformation_reference#r_round_corners"}))},redeye:{prefix:"e",qualifier:"redeye",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Automatically removes red eyes in an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_redeye"}))},replaceColor:{prefix:"e",qualifier:"replace_color",schema:p.Yj().describe(JSON.stringify({text:"Maps an input color and those similar to the input color to corresponding shades of a specified output color.",url:"https://cloudinary.com/documentation/transformation_reference#e_replace_color"}))},saturation:{prefix:"e",qualifier:"saturation",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Adjusts an image or video saturation level.",url:"https://cloudinary.com/documentation/transformation_reference#e_saturation"}))},screen:{prefix:"e",qualifier:"screen",schema:p.zM().describe(JSON.stringify({text:"A qualifier that blends image layers using the screen blend mode.",url:"https://cloudinary.com/documentation/transformation_reference#e_screen"}))},sepia:{prefix:"e",qualifier:"sepia",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Changes the color scheme of an image to sepia.",url:"https://cloudinary.com/documentation/transformation_reference#e_sepia"}))},shadow:{prefix:"e",qualifier:"shadow",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Adds a gray shadow to the bottom right of an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_shadow"}))},sharpen:{prefix:"e",qualifier:"sharpen",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Applies a sharpening filter.",url:"https://cloudinary.com/documentation/transformation_reference#e_sharpen"}))},shear:{prefix:"e",qualifier:"shear",schema:p.Yj().describe(JSON.stringify({text:"Skews an image according to the two specified values in degrees.",url:"https://cloudinary.com/documentation/transformation_reference#e_shear"}))},simulateColorblind:{prefix:"e",qualifier:"simulate_colorblind",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Simulates the way an image would appear to someone with the specified color blind condition.",url:"https://cloudinary.com/documentation/transformation_reference#e_simulate_colorblind"}))},tint:{prefix:"e",qualifier:"tint",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Blends an image with one or more tint colors at a specified intensity.",url:"https://cloudinary.com/documentation/transformation_reference#e_tint"}))},trim:{prefix:"e",qualifier:"trim",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Detects and removes image edges whose color is similar to the corner pixels.",url:"https://cloudinary.com/documentation/transformation_reference#e_trim"}))},unsharpMask:{prefix:"e",qualifier:"unsharp_mask",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Applies an unsharp mask filter to an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_unsharp_mask"}))}
29,vectorize:{prefix:"e",qualifier:"vectorize",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Vectorizes an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_vectorize"}))},vibrance:{prefix:"e",qualifier:"vibrance",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Applies a vibrance filter to an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_vibrance"}))},vignette:{prefix:"e",qualifier:"vignette",schema:p.KC([p.Yj(),p.zM()]).describe(JSON.stringify({text:"Applies a vignette effect to an image.",url:"https://cloudinary.com/documentation/transformation_reference#e_vignette"}))}};function eO({prefix:e,qualifier:t,value:r,converters:n}){let i="";e&&(i=`${e}_`);let a=r;if(n?.forEach(({test:e,convert:t})=>{e(a)&&(a=t(a))}),!0===a||"true"===a)return`${i}${t}`;if("string"==typeof a||"number"==typeof a)if(e)return`${i}${t}:${a}`;else return`${t}_${a}`}function ex(e){return`(${e.join(";")})`}function eP(e){return"string"!=typeof e?e:parseInt(e)}var eA=["auto","crop","fill","lfill","fill_pad","thumb"],ek=["auto","crop","fill","lfill","fill_pad","thumb"],eI=["crop","thumb"],eC="limit",eR=p.Ik({aspectRatio:es.schema.optional(),type:el.schema,gravity:ef.schema.optional(),height:eh.schema.optional(),width:eg.schema.optional(),x:ey.schema.optional(),y:ev.schema.optional(),zoom:eb.schema.optional(),source:p.zM().optional()}),eD={aspectRatio:es.schema.optional(),crop:p.KC([el.schema,eR,p.YO(eR)]).default(eC).optional(),gravity:ef.schema.optional(),zoom:eb.schema.optional()},eN={angle:eT.angle.schema.optional(),art:eT.art.schema.optional(),autoBrightness:eT.autoBrightness.schema.optional(),autoColor:eT.autoColor.schema.optional(),autoContrast:eT.autoContrast.schema.optional(),assistColorblind:eT.assistColorblind.schema.optional(),background:eT.background.schema.optional(),blackwhite:eT.blackwhite.schema.optional(),blur:eT.blur.schema.optional(),blurFaces:eT.blurFaces.schema.optional(),blurRegion:eT.blurRegion.schema.optional(),border:eT.border.schema.optional(),brightness:eT.brightness.schema.optional(),brightnessHSB:eT.brightnessHSB.schema.optional(),cartoonify:eT.cartoonify.schema.optional(),color:eT.color.schema.optional(),colorize:eT.colorize.schema.optional(),contrast:eT.contrast.schema.optional(),distort:eT.distort.schema.optional(),fillLight:eT.fillLight.schema.optional(),gamma:eT.gamma.schema.optional(),gradientFade:eT.gradientFade.schema.optional(),grayscale:eT.grayscale.schema.optional(),improve:eT.improve.schema.optional(),loop:eT.loop.schema.optional(),multiply:eT.multiply.schema.optional(),negate:eT.negate.schema.optional(),oilPaint:eT.oilPaint.schema.optional(),opacity:eT.opacity.schema.optional(),outline:eT.outline.schema.optional(),pixelate:eT.pixelate.schema.optional(),pixelateFaces:eT.pixelateFaces.schema.optional(),pixelateRegion:eT.pixelateRegion.schema.optional(),radius:eT.radius.schema.optional(),redeye:eT.redeye.schema.optional(),replaceColor:eT.replaceColor.schema.optional(),saturation:eT.saturation.schema.optional(),screen:eT.screen.schema.optional(),sepia:eT.sepia.schema.optional(),shadow:eT.shadow.schema.optional(),sharpen:eT.sharpen.schema.optional(),shear:eT.shear.schema.optional(),simulateColorblind:eT.simulateColorblind.schema.optional(),tint:eT.tint.schema.optional(),trim:eT.trim.schema.optional(),unsharpMask:eT.unsharpMask.schema.optional(),vectorize:eT.vectorize.schema.optional(),vibrance:eT.vibrance.schema.optional(),vignette:eT.vignette.schema.optional()},ej={effects:p.YO(p.Ik(eN)).describe(JSON.stringify({text:"Array of objects specifying transformations to be applied to asset."})).optional(),...eN},{flagsEnum:eM}=J,eL={flags:ec.schema.optional()},e$=p.Yj(),eU={namedTransformations:p.KC([e$,p.YO(e$)]).describe(JSON.stringify({text:"Named transformations to apply to asset.",url:"https://cloudinary.com/documentation/image_transformations#named_transformations"})).optional(),transformations:p.KC([e$,p.YO(e$)]).describe(JSON.stringify({text:"Deprecated: use namedTransformations instead",url:"https://cloudinary.com/documentation/image_transformations#named_transformations"})).optional()},eF=p.Ik({alignment:p.Yj().optional(),antialias:p.Yj().optional(),border:p.Yj().optional(),color:p.Yj().optional(),fontFamily:p.Yj().optional(),fontSize:p.ai().optional(),fontStyle:p.KC([p.Yj(),p.ai()]).optional(),fontWeight:p.Yj().optional(),hinting:p.KC([p.Yj(),p.ai()]).optional(),letterSpacing:p.KC([p.Yj(),p.ai()]).optional(),lineSpacing:p.KC([p.Yj(),p.ai()]).optional(),stroke:p.Yj().optional(),text:p.Yj()}),eB=p.Ik({angle:ea.schema.optional(),gravity:ef.schema.optional(),x:ey.schema.optional(),y:ev.schema.optional()}),ez=p.Ik({appliedEffects:p.YO(p.Ik({})).optional(),appliedFlags:ec.schema.optional(),effects:p.YO(p.Ik({})).optional(),crop:el.schema.optional(),flags:ec.schema.optional(),height:eh.schema.optional(),position:eB.optional(),publicId:p.Yj().optional(),text:p.KC([p.Yj(),eF]).optional(),url:p.Yj().optional(),width:eg.schema.optional()}),eH={color:"black",fontFamily:"Arial",fontSize:200,fontWeight:"bold"},eq={overlay:ez.describe(JSON.stringify({text:"Image or text layer that is applied on top of the base image.",url:"https://cloudinary.com/documentation/transformation_reference#l_layer"})).optional(),overlays:p.YO(ez).describe(JSON.stringify({text:"Image or text layers that are applied on top of the base image.",url:"https://cloudinary.com/documentation/transformation_reference#l_layer"})).optional(),text:p.Yj().describe(JSON.stringify({text:"Text to be overlaid on asset.",url:"https://cloudinary.com/documentation/image_transformations#transformation_url_structure"})).optional()},eG={preserveTransformations:p.zM().describe(JSON.stringify({text:"Preserves transformations from a Cloudinary U
29RL when using using a Cloudinary URL as the asset source (src)."})).optional()},eW=p.Yj(),eV={rawTransformations:p.KC([eW,p.YO(eW)]).describe(JSON.stringify({text:"Array of transformation parameters using the Cloudinary URL API to apply to an asset.",url:"https://cloudinary.com/documentation/transformation_reference"})).optional()},eY={removeBackground:p.zM().describe(JSON.stringify({text:"Removes the background of an image using the Cloudinary AI Background Removal Add-On (Required).",url:"https://cloudinary.com/documentation/cloudinary_ai_background_removal_addon"})).optional()},eZ={sanitize:p.zM().describe(JSON.stringify({text:"Runs a sanitizer on SVG images.",url:"https://cloudinary.com/documentation/transformation_reference#fl_sanitize"})).optional()},eK={seoSuffix:p.Yj().describe(JSON.stringify({text:"Configures the URL to include an SEO-friendly suffix in the URL",url:"https://cloudinary.com/documentation/advanced_url_delivery_options#seo_friendly_media_asset_urls"})).optional()},eX=p.Ik({angle:ea.schema.optional(),gravity:ef.schema.optional(),x:ey.schema.optional(),y:ev.schema.optional()}),eQ=p.Ik({appliedEffects:p.YO(p.Ik({})).optional(),appliedFlags:ec.schema.optional(),effects:p.YO(p.Ik({})).optional(),crop:el.schema.optional(),flags:ec.schema.optional(),height:eh.schema.optional(),position:eX.optional(),publicId:p.Yj().optional(),type:p.Yj().optional(),url:p.Yj().optional(),width:eg.schema.optional()}),eJ={underlay:p.Yj().describe(JSON.stringify({text:"Public ID of image that is applied under the base image.",url:"https://cloudinary.com/documentation/transformation_reference#l_layer"})).optional(),underlays:p.YO(eQ).describe(JSON.stringify({text:"Image layers that are applied under the base image.",url:"https://cloudinary.com/documentation/transformation_reference#l_layer"})).optional()},e0={version:p.KC([p.ai(),p.Yj()]).describe(JSON.stringify({text:"Custom version number to apply to asset URL.",url:"https://cloudinary.com/documentation/advanced_url_delivery_options#asset_versions"})).optional()},e1=p.Ik({assetType:p.Yj().default("image").describe(JSON.stringify({text:"The type of asset to deliver.",url:"https://cloudinary.com/documentation/image_transformations#transformation_url_structure"})).optional(),deliveryType:p.Yj().default("upload").describe(JSON.stringify({text:"Delivery method of the asset.",url:"https://cloudinary.com/documentation/image_transformations#delivery_types"})).optional(),dpr:p.KC([p.Yj(),p.ai()]).describe(JSON.stringify({text:"Delivery method of the asset.",url:"https://cloudinary.com/documentation/image_transformations#delivery_types"})).optional(),format:p.Yj().default("auto").describe(JSON.stringify({text:"Converts (if necessary) and delivers an asset in the specified format.",url:"https://cloudinary.com/documentation/transformation_reference#f_format"})).optional(),height:p.KC([p.Yj(),p.ai()]).describe(JSON.stringify({text:"Height of the given asset."})).optional(),quality:p.KC([p.Yj(),p.ai(),p.Yj()]).default("auto").describe(JSON.stringify({text:"Quality of the delivered asset",url:"https://cloudinary.com/documentation/transformation_reference#q_quality"})).optional(),src:p.Yj().describe(JSON.stringify({text:"Cloudinary Public ID or versioned Cloudinary URL (/v1234/)"})),strictTransformations:p.zM().describe(JSON.stringify({text:"Gives you the ability to have more control over what transformations are permitted to be used from your Cloudinary account.",url:"https://cloudinary.com/documentation/control_access_to_media#strict_transformations"})).optional(),width:p.KC([p.Yj(),p.ai()]).describe(JSON.stringify({text:"Width of the given asset."})).optional(),...eD,...ej,...eL,...eU,...eq,...eG,...eV,...eY,...eZ,...eK,...eJ,...e0}),e2={defaultImage:p.Yj().describe(JSON.stringify({text:"Configures the default image to use in case the given public ID is not available. Must include file extension.",url:"https://cloudinary.com/documentation/transformation_reference#d_default_image"})).optional()},e4={enhance:p.zM().describe(JSON.stringify({text:"Uses AI to analyze an image and make adjustments to enhance the appeal of the image.",url:"https://cloudinary.com/documentation/transformation_reference#e_enhance"})).optional()},e6={extract:p.KC([em.schema.optional(),p.YO(em.schema).optional(),p.Ik({invert:p.zM().default(!1).optional(),mode:eu.schema.optional(),multiple:ep.schema.default(!1).optional(),prompt:p.KC([em.schema,p.YO(em.schema)]).optional()})]).describe(JSON.stringify({text:"Extracts an area or multiple areas of an image, described
29in natural language.",url:"https://cloudinary.com/documentation/transformation_reference#e_extract"})).optional()};function e3(e){return"string"==typeof e?e:Array.isArray(e)?`(${e.filter(e=>"string"==typeof e).join(";")})`:void 0}var e5={fillBackground:p.KC([p.zM(),p.Ik({crop:el.schema.optional(),gravity:ef.schema.optional(),prompt:p.Yj().optional()})]).describe(JSON.stringify({text:"Uses Generative Fill to extended padded image with AI",url:"https://cloudinary.com/documentation/transformation_reference#b_gen_fill"})).optional()},e8=p.KC([p.Yj(),p.YO(p.Yj())]),e9=p.Ik({prompt:e8.optional(),to:p.Yj().optional(),multiple:p.zM().optional()}),e7={recolor:p.KC([e8,e9]).describe(JSON.stringify({text:"Uses generative AI to recolor parts of your image, maintaining the relative shading.",url:"https://cloudinary.com/documentation/transformation_reference#e_gen_recolor"})).optional()},te=p.KC([p.Yj(),p.YO(p.Yj())]),tt=p.Ik({prompt:te.optional(),region:p.KC([p.YO(p.ai()),p.YO(p.YO(p.ai()))]).optional(),multiple:p.zM().optional(),removeShadow:p.zM().optional()}),tr={remove:p.KC([te,tt]).describe(JSON.stringify({text:"Applies zooming and/or panning to an image, resulting in a video or animated image.",url:"https://cloudinary.com/documentation/transformation_reference#e_zoompan"})).optional()},tn={replaceBackground:p.KC([p.zM(),p.Yj(),p.Ik({seed:p.ai().optional(),prompt:p.Yj().optional()})]).describe(JSON.stringify({text:"Replaces the background of an image with an AI-generated background.",url:"https://cloudinary.com/documentation/transformation_reference#e_gen_background_replace"})).optional()},ti={replace:p.KC([p.YO(p.Yj()),p.YO(p.zM()),p.Ik({to:p.Yj(),from:p.Yj(),preserveGeometry:p.zM().optional()})]).describe(JSON.stringify({text:"Uses generative AI to replace parts of your image with something else.",url:"https://cloudinary.com/documentation/transformation_reference#e_gen_replace"})).optional()},ta={restore:p.zM().describe(JSON.stringify({text:"Uses generative AI to restore details in poor quality images or images that may have become degraded through repeated processing and compression.",url:"https://cloudinary.com/documentation/transformation_reference#e_gen_restore"})).optional()},to={zoompan:p.KC([p.Yj(),p.zM(),p.Ik({loop:eT.loop.schema.optional(),options:p.Yj()})]).describe(JSON.stringify({text:"Applies zooming and/or panning to an image, resulting in a video or animated image.",url:"https://cloudinary.com/documentation/transformation_reference#e_zoompan"})).optional()},ts=e1.merge(p.Ik({...e2,...e4,...e6,...e5,...e7,...tr,...ti,...tn,...ta,...to})),tl={streamingProfile:p.Yj().describe(JSON.stringify({text:"The streaming profile to apply when delivering a video using adaptive bitrate streaming.",url:"https://cloudinary.com/documentation/transformation_reference#sp_streaming_profile"})).optional()},tu=e1.merge(p.Ik({...tl})),tc=p.bz(),td=p.bz(),tf=[{props:e4,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}=e,{enhance:n=!1}=r;return n&&t.effect("e_enhance"),{}}},{props:e6,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}=e,{extract:n}=r;if(!n||void 0===n)return{};let i=[];if("string"==typeof n)i.push(`prompt_${n}`);else if(Array.isArray(n))i.push(`prompt_${e3(n)}`);else if("object"==typeof n&&!Array.isArray(n)){let e=e3(n.prompt);e&&i.push(`prompt_${e}`),!0===n.invert&&i.push("invert_true"),"string"==typeof n.mode&&i.push(`mode_${n.mode}`),!0===n.multiple&&i.push("multiple_true")}if(i.length>0){let e=`e_extract:${i.join(";")}`;t.addTransformation(e)}return{}}},{props:e7,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}=e,{recolor:n}=r,i={prompt:void 0,"to-color":void 0,multiple:void 0};Array.isArray(n)?(Array.isArray(n[0])?i.prompt=ex(n[0]):i.prompt=n[0],"string"==typeof n[1]&&(i["to-color"]=n[1])):"object"==typeof n&&("string"==typeof n.prompt?i.prompt=n.prompt:Array.isArray(n.prompt)&&(i.prompt=ex(n.prompt)),"string"==typeof n.to&&(i["to-color"]=n.to),!0===n.multiple&&(i.multiple="true"));let a=Object.entries(i).filter(([,e])=>!!e).map(([e,t])=>`${e}_${t}`).join(";");return a&&t.addTransformation(`e_gen_recolor:${a}`),{}}},{props:eY,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}
29=e,{removeBackground:n=!1}=r;return n&&t.effect("e_background_removal"),{}}},{props:tr,assetTypes:["image","images"],plugin:({cldAsset:e,options:t})=>{let{remove:r}=t,n={prompt:void 0,region:void 0,multiple:void 0,"remove-shadow":void 0};if("string"==typeof r)n.prompt=r;else if(Array.isArray(r))n.prompt=ex(r);else if("object"==typeof r){let e="string"==typeof r.prompt||Array.isArray(r.prompt),t=Array.isArray(r.region);if(e&&t)throw Error("Invalid remove options: you can not have both a prompt and a region. More info: https://cloudinary.com/documentation/transformation_reference#e_gen_remove");"string"==typeof r.prompt?n.prompt=r.prompt:Array.isArray(r.prompt)&&(n.prompt=ex(r.prompt)),Array.isArray(r.region)&&(n.region=function e(t){let r={0:"x",1:"y",2:"w",3:"h"},n=t.map((t,n)=>{if(Array.isArray(t))return e(t);let i=r[n];return`${i}_${t}`}).join(";");return`(${n})`}(r.region)),!0===r.multiple&&(n.multiple="true"),!0===r.removeShadow&&(n["remove-shadow"]="true")}let i=Object.entries(n).filter(([,e])=>!!e).map(([e,t])=>`${e}_${t}`).join(";");return i&&e.addTransformation(`e_gen_remove:${i}`),{}}},{props:ti,assetTypes:["image","images"],plugin:({cldAsset:e,options:t})=>{let{replace:r=null}=t;if(r){let t,n,i=!1;Array.isArray(r)?(t=r[0],n=r[1],i=r[2]||!1):(t=r.from,n=r.to,i=r.preserveGeometry||!1);let a=[`e_gen_replace:from_${t}`,`to_${n}`];i&&a.push(`preserve-geometry_${i}`),e.effect(a.join(";"))}return{}}},{props:tn,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}=e,{replaceBackground:n}=r;if(!n||void 0===n)return{};let i=[];"object"==typeof n?(void 0!==n.prompt&&i.push(`prompt_${n.prompt}`),"number"==typeof n.seed&&i.push(`seed_${n.seed}`)):"string"==typeof n&&i.push(`prompt_${n}`);let a="e_gen_background_replace";return i.length>0&&(a=`${a}:${i.join(";")}`),t.addTransformation(a),{}}},{props:ta,assetTypes:["image","images"],plugin:({cldAsset:e,options:t})=>{let{restore:r=!1}=t;return r&&e.effect("e_gen_restore"),{}}},{props:eD,assetTypes:["image","images","video","videos"],plugin:e=>{let{cldAsset:t,options:r}=e,n=[];"string"==typeof r.crop||void 0===r.crop?n.push({aspectRatio:r.aspectRatio,height:r.height,gravity:r.gravity,type:r.crop||eC,width:r.width,zoom:r.zoom}):"object"!=typeof r.crop||Array.isArray(r.crop)?Array.isArray(r.crop)&&(n=r.crop):n.push(r.crop),1===n.length&&!0===n[0].source&&n.push({aspectRatio:r.aspectRatio,width:r.width,height:r.height,gravity:r.gravity,type:eC,zoom:r.zoom});let i=[],a=[];for(let e of n){let t={width:e.width,height:e.height};void 0===t.width&&void 0===e.aspectRatio&&(t.width=r.width,void 0===t.height&&(t.height=r.height));let n=function(e){let{aspectRatio:t,type:r,x:n,y:i,zoom:a}=e,o=e.gravity,s=eP(e.height),l=eP(e.width),u=[],c=t&&eA.includes(r),d="number"==typeof n||"string"==typeof n,f="number"==typeof i||"string"==typeof i,h=d||f;return r&&(s||l||c||h)&&u.push(`c_${r}`),c&&u.push(`ar_${t}`),l&&u.push(`w_${l}`),["limit"].includes(r)||"number"!=typeof s||u.push(`h_${s}`),d&&u.push(`x_${n}`),f&&u.push(`y_${i}`),!o&&ek.includes(r)&&!h&&(o="auto"),o&&("auto"!==o||ek.includes(r)?u.push(`g_${o}`):console.warn(`Auto gravity can only be used with crop modes: ${ek.join(", ")}. Not applying gravity.`)),a&&("auto"!==a||eI.includes(r)?u.push(`z_${a}`):console.warn(`Zoom can only be used with crop modes: ${eI.join(", ")}. Not applying zoom.`)),u}({aspectRatio:e.aspectRatio,gravity:e.gravity,type:e.type||eC,x:e.x,y:e.y,zoom:e.zoom,...t});n.length>0&&(!0===e.source?a.push(n):i.push(n))}a.forEach(e=>{e.length>0&&t.addTransformation(e.join(","))});let o={options:{}};return o.options&&i.length>0&&(o.options.resize=i.map(e=>e.join(",")).join("/")),o}},{props:eG,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{preserveTransformations:r=!1}=t;if(r)try{(function(e){let{transformations:t=[]}=d(e)||{};return t.map(e=>e.split(","))})(t.src).map(e=>e.join(",")).flat().forEach(t=>{e.addTransformation(t)})}catch(e){console.warn(`Failed to preserve transformations: ${e.message}`)}return{}}},{props:eV,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{rawTransformations:r=[]}=t;return Array.isArray(r)||(r=[r]),r.forEach(t=>{e.addTransformation(t)}),{}}},{props:tl,assetTypes:["video","videos"],plugin:e=>{let{cldAsset:t,options:r}=e,{streamingProfile:n}=r;return"string"==typeof n&&t.addTransformation(`sp_${n}`),{}}},{props:e2,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}=e,{defaultImage:n}=r;if("string"==typeof n){f(n)||console.warn("The defaultImage prop may be missing a format and must include it along with the public ID. (Ex: myimage.jpg)");let e=n.replace(/\//g,":");t.addTransformation(`d_${e}`)}return{}}},{props:ej,assetTypes:["image","images","video","videos"],plugin:e=>{let{cldAsset:t,options:r}=e;function n({effects:e,options:t}){return Object.keys(e).map(r=>{let{prefix:n,qualifier:i,converters:a}=e[r];return eO({qualifier:i,prefix:n,value:t?.[r],converters:a})})}return n({effects:eT,options:r}).filter(e=>
29!!e).forEach(e=>t.effect(e)),Array.isArray(r?.effects)&&r?.effects.forEach(e=>{let r=n({effects:eT,options:e}).filter(e=>!!e).join(",");t.effect(r)}),{}}},{props:e5,assetTypes:["image","images"],plugin:e=>{let{cldAsset:t,options:r}=e,{fillBackground:n}=r;if(void 0===n)return{};let i=eP(r.width),a=eP(r.height),o=r.aspectRatio;if(o||"number"!=typeof a||"number"!=typeof i||(o=`${i}:${a}`),!o)return{};if(!0===n){let e=["b_gen_fill",`ar_${o}`,"c_pad"];t.addTransformation(e.join(","))}else if("object"==typeof n){let{crop:e="pad",gravity:r,prompt:i}=n,a=[`ar_${o}`,`c_${e}`];"string"==typeof i?a.unshift(`b_gen_fill:${i}`):a.unshift("b_gen_fill"),"string"==typeof r&&a.push(`g_${r}`),t.addTransformation(a.join(","))}return{}}},{props:eL,assetTypes:["image","images","video","videos"],plugin:e=>{let{cldAsset:t,options:r}=e,{flags:n=[]}=r;return Array.isArray(n)&&n.length>0?n.forEach(e=>{let{success:r}=eM.safeParse(e);r&&t.addFlag(e)}):"object"==typeof n&&Object.entries(n).forEach(([e,r])=>{let{success:n}=eM.safeParse(e);n&&t.addTransformation(`fl_${e}:${r}`)}),{}}},{props:eq,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{text:r,overlays:n=[]}=t;function i({publicId:t,url:r,position:n,text:a,effects:s=[],appliedEffects:l=[],flags:u=[],appliedFlags:c=[],...d}){let f,p="string"==typeof t,m="string"==typeof r,g="object"==typeof a||"string"==typeof a,y="object"==typeof n;if(!p&&!m&&!g)return void console.warn("An overlay is missing Public ID, URL, or Text");if(g)f="l_text";else if(p)f=`l_${t.replace(/\//g,":")}`;else m&&(f=`l_fetch:${"function"==typeof btoa?btoa(r):void 0!==o?o.from(r).toString("base64"):void 0}`);let v=[],b=[];if(Object.keys(d).forEach(e=>{if(!h(e_,e))return;let{qualifier:t,converters:r}=e_[e],n=eO({qualifier:t,value:d[e],converters:r});n&&v.push(n)}),s.forEach(e=>{Object.keys(e).forEach(t=>{let r=e_[t]||eT[t]||eS[t];if(!r)return;let{qualifier:n,prefix:i,converters:a}=r,o=eO({qualifier:n,prefix:i,value:e[t],converters:a});o&&v.push(o)})}),l.forEach(e=>{Object.keys(e).forEach(t=>{let r=e_[t]||eT[t]||eS[t];if(!r)return;let{qualifier:n,prefix:i,converters:a}=r,o=eO({qualifier:n,prefix:i,value:e[t],converters:a});o&&b.push(o)})}),(Array.isArray(u)?u:[u]).forEach(e=>{let{success:t}=ei.safeParse(e);t&&v.push(`fl_${e}`)}),(Array.isArray(c)?c:[c]).forEach(e=>{let{success:t}=ei.safeParse(e);t&&b.push(`fl_${e}`)}),g){"string"==typeof a&&(a={...eH,text:a});let e=[];
29if("object"==typeof a)for(let t of function(e=[],t,r="asc"){let n=[...e];return"string"!=typeof t?n:(n=n.sort(function(e,r){let n=e[t],i=r[t];return("string"==typeof n&&(n=n.toLowerCase()),"string"==typeof i&&(i=i.toLowerCase()),n<i)?-1:+(n>i)}),"desc"===r)?n.reverse():n}(Object.keys(a).filter(e=>h(ew,e)).map(e=>{let t=a&&h(a,e)&&a[e];return{...ew[e],key:e,value:t,order:ew[e].order||99}}),"order")){let{key:r,value:n,qualifier:i,location:a,converters:o}=t,s=n;o?.forEach(({test:e,convert:t})=>{e(n)&&(s=t(n))}),"primary"===a?v.push(`${i}_${s}`):"self"===i?e.push(r):i?e.push(`${i}_${s}`):e.push(s)}let t={".":"%2E",",":"%2C","/":"%2F"},r=a?.text||"";"string"==typeof r&&Object.keys(t)?.forEach(e=>{r=r?.replace(e,t[e])}),f=`${f}:${e.join("_")}:${r}`}y&&Object.keys(n).forEach(e=>{if(!h(eS,e)||!h(n,e))return;let{qualifier:t,converters:r}=eS[e],i=eO({qualifier:t,value:n[e],converters:r});i&&b.push(i)}),v.length>0&&(f=`${f},${v.join(",")}`),f=`${f}/fl_layer_apply,fl_no_overflow`,b.length>0&&(f=`${f},${b.join(",")}`),e.addTransformation(f)}return Array.isArray(n)&&n.forEach(i),"string"==typeof r?i({text:Object.assign({},eH,{text:r})}):"object"==typeof r&&i({text:Object.assign({},eH,r)}),{}}},{props:eZ,assetTypes:["image","images"],plugin:({cldAsset:e,options:t})=>{let{sanitize:r=!0}=t;return r&&("svg"===t.format||e.publicID.endsWith(".svg"))&&e.effect("fl_sanitize"),{}}},{props:eU,strict:!0,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{transformations:r,namedTransformations:n}=t;r&&"development"===X.env.NODE_ENVIRONMENT&&console.warn("The transformations prop is deprecated. Please use namedTransformations instead.");let i=n||r||[];
29return Array.isArray(i)||(i=[i]),i.forEach(t=>{e.addTransformation(`t_${t}`)}),{}}},{props:eK,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{seoSuffix:r}=t;return"string"==typeof r&&("fetch"===t.deliveryType?console.warn("SEO suffix is not supported with a delivery type of fetch"):e.setSuffix(r)),{}}},{props:eJ,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{underlay:r,underlays:n=[]}=t;function i({publicId:t,type:r,position:n,effects:a=[],flags:o=[],appliedFlags:s=[],...l}){let u="object"==typeof n;if("string"!=typeof t)return void console.warn(`An ${r} is missing a Public ID`);let c=`u_${t.replace(/\//g,":")}`,d=[],f=[];Object.keys(l).forEach(e=>{if(!h(e_,e))return;let{qualifier:t}=e_[e];d.push(`${t}_${l[e]}`)}),a.forEach(e=>{Object.keys(e).forEach(t=>{if(!h(e_,t))return;let{qualifier:r}=e_[t];d.push(`${r}_${e[t]}`)})}),u&&Object.keys(n).forEach(e=>{if(!h(eS,e))return;let{qualifier:t}=eS[e];f.push(`${t}_${n[e]}`)}),(Array.isArray(o)?o:[o]).forEach(e=>{let{success:t}=ei.safeParse(e);t&&d.push(`fl_${e}`)}),(Array.isArray(s)?s:[s]).forEach(e=>{let{success:t}=ei.safeParse(e);t&&f.push(`fl_${e}`)}),c=`${c},${d.join(",")}`,c=`${c}/fl_layer_apply,fl_no_overflow`,f.length>0&&(c=`${c},${f.join(",")}`),e.addTransformation(c)}return Array.isArray(n)&&n.forEach(i),"string"==typeof r&&i({publicId:r,crop:"fill",width:"1.0",height:"1.0",flags:["relative"]}),{}}},{props:e0,assetTypes:["image","images","video","videos"],plugin:({cldAsset:e,options:t})=>{let{version:r}=t;return("string"==typeof r||"number"==typeof r)&&e.setVersion(`${r}`.replace("v","")),{}}},{props:to,assetTypes:["image","images"],plugin:({cldAsset:e,options:t})=>{let{zoompan:r=!1}=t,n={format:void 0};if(!0===r)e.effect("e_zoompan");else if("string"==typeof r)"loop"===r?(e.effect("e_zoompan"),e.effect("e_loop")):e.effect(`e_zoompan:${r}`);else if("object"==typeof r){let t,n="e_zoompan";"string"==typeof r.options&&(n=`${n}:${r.options}`),e.effect(n),!0===r.loop?t="e_loop":("string"==typeof r.loop||"number"==typeof r.loop)&&(t=`e_loop:${r.loop}`),t&&e.effect(t)}return!1!==r&&(n.format="auto:animated"),{options:n}}}],th=p.KC([ts,tu]).describe(JSON.stringify({text:"Asset options (Image or Video) that define delivery URL including public ID and transformations.",path:"/url-loader/assetoptions"}));function tp({options:e,config:t={},analytics:r}){let n,i;!1===r&&(void 0===t?.url&&(t.url={}),t.url.analytics=!1);let a=new K(t);if("string"!=typeof e?.src)throw Error("Failed to construct Cloudinary URL: Missing source (src) in options.");e?.assetType||(e.assetType="image");let o=[];tf.forEach(({props:e})=>{Object.keys(e).forEach(e=>{if(o.includes(e))throw Error(`Option ${e} already exists!`);o.push(e)})});let s={};if("string"==typeof e.src&&/^https?:\/\//.test(e.src))try{let t=d(e.src);n=t?.publicId,s.seoSuffix=t?.seoSuffix,s.version=t?.version}catch(e){}if(n||(n=e.src),Object.keys(s).forEach(t=>{h(e,t)||(e[t]=s[t])}),e.version??(e.version=1),["image","images"].includes(e.assetType)?i=a.image(n):["video","videos"].includes(e.assetType)&&(i=a.video(n)),void 0===i)throw Error("Invalid asset type.");let l={};if(tf.forEach(({plugin:t,assetTypes:r,props:n,strict:a})=>{let o=e?.assetType!==void 0&&r.includes(e.assetType),s=Object.keys(n),u=Object.keys(e),c=s.map(e=>u.includes(e)).filter(e=>!!e).length>0;if(!o){c&&console.warn(`One of the following props [${s.join(", ")}] was used with an unsupported asset type [${e?.assetType}]`);return}if(e.strictTransformations&&!a){c&&console.warn(`One of the following props [${s.join(", ")}] was used that is not supported with Strict Transformations.`);return}let{options:d}=t({cldAsset:i,options:e})||{options:void 0};Object.assign(l,d)}),"string"==typeof l.resize&&i.addTransformation(l.resize),i.setDeliveryType(e?.deliveryType||"upload"),!e.strictTransformations){if(e?.dpr){let t=e.dpr;"number"==typeof t&&(t=t.toFixed(1)),i.addTransformation(`dpr_${t}`)}let t=e?.format==="default",r=tm("f_",i,{matchType:"startsWith"}),n=r&&void 0!==e?.format;(l?.format||!t&&(!r||n))&&i.format(e?.format||l?.format||"auto");let a=e?.quality==="default",o=tm("q_",i,{matchType:"startsWith"}),s=o&&void 0!==e?.quality;a||o&&!s||i.quality(e?.quality||"auto")}return i.toURL({trackedAnalytics:r})}function tm(e,t,r){if(void 0===t.transformation)return;let{matchType:n="includes"}=r||{};return t.transformation.actions.flatMap(e=>e.toString().split("/").flatMap(e=>e.split(","))).filter(t=>"startsWith"===n?t.startsWith(e):t.includes(e)).length>0}p.Ik({analytics:p.KC([tc,p.zM()]).describe(JSON.stringify({text:"Tech, dependency, and feature identifiers for tracking SDK usage related to Cloudinary.",path:"/url-loader/analyticsoptions"})).optional(),config:td.describe(JSON.stringify({text:"Configuration parameters for environment and Cloudinary account.",url:"https://cloudinary.com/documentation/cloudinary_sdks#configuration_parameters",path:"/url-loader/analyticsoptions"})).optional(),options:th});var tg=r(93963),ty=r(51285),tv=r(30880),tb=t_("16.2.6"),tE=t_("6.16.0");function t_(e){let t=e;
29return t.includes("-")&&(t=t.split("-")[0]),t}function tS(e){let t=e?.cloud?.cloudName??tv.env.NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME;if(!t)throw Error("A Cloudinary Cloud name is required, please make sure NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME is set and configured in your environment.");let r=e?.cloud?.apiKey??tv.env.NEXT_PUBLIC_CLOUDINARY_API_KEY,n=e?.url?.secureDistribution??tv.env.NEXT_PUBLIC_CLOUDINARY_SECURE_DISTRIBUTION,i=e?.url?.privateCdn??tv.env.NEXT_PUBLIC_CLOUDINARY_PRIVATE_CDN;return Object.assign({cloud:{...e?.cloud,apiKey:r,cloudName:t},url:{...e?.url,secureDistribution:n,privateCdn:i}},e)}function tw(e,t,r){return tp({options:e,config:tS(t),analytics:Object.assign({product:"A",sdkCode:"V",sdkSemver:tE,techVersion:tb,feature:""},r)})}var tT=(0,n.forwardRef)(function(e,t){let r=!1,o=["assetType","config","deliveryType","strictTransformations"];tf.forEach(({props:e})=>{Object.keys(e).forEach(e=>{if(o.includes(e))throw Error(`Option ${e} already exists!`);o.push(e)})});let s={alt:e.alt,src:e.src};Object.keys(e).filter(e=>"string"==typeof e&&!o.includes(e)).forEach(t=>s[t]=e[t]);let l=Object.keys(s).map(e=>`${e}:${s[e]}`).join(";"),[u,c]=(0,n.useState)(l),d={};async function f(t){let n=!0;if(r)return;if(r=!0,"function"==typeof e.onError){let r=e.onError(t);"boolean"==typeof r&&!1===r&&(n=!1)}else"boolean"==typeof e.onError&&!1===e.onError&&(n=!1);if(!1===n)return;let i=t.target,o=await a({src:i.src});o.error,o.success&&c(`${l};${Date.now()}`)}o.forEach(t=>{let r=e[t];r&&(d[t]=r)}),!0===e.unoptimized&&(s.src=tw({...d,width:s.width,height:s.height,src:s.src,format:"default",quality:"default"},e.config));let h=(0,n.useCallback)(f,[a,l]),p=i.default;return"default"in p&&(p=p.default),n.createElement(p,{key:u,...s,loader:t=>(function({loaderOptions:e,imageProps:t,cldOptions:r,cldConfig:n={}}){let i={...t,...r};
29if(i.width="string"==typeof i.width?parseInt(i.width):i.width,i.height="string"==typeof i.height?parseInt(i.height):i.height,"number"==typeof e?.width&&"number"==typeof i.width&&e.width!==i.width){let t=e.width/i.width;i.width=e.width,"number"==typeof i.height&&(i.height=Math.floor(i.height*t))}else"number"==typeof e?.width&&"number"!=typeof i?.width&&(i.width=e?.width);return tw(i,n)})({loaderOptions:t,imageProps:s,cldOptions:d,cldConfig:e.config}),onError:h,ref:t})}),tO=[],tx="1.11.1",tP=e=>{let{className:t,config:r,height:i,id:a,onDataLoad:o,onError:s,onMetadataLoad:l,onPause:u,onPlay:c,onEnded:f,width:h}=e,p=(0,n.useId)(),m=function(e,t){let r,{autoplay:n,controls:i=!0,language:a,languages:o,logo:s=!0,loop:l=!1,muted:u=!1,poster:c,src:f,transformation:h,quality:p="auto",...m}=e,{cloudName:g}=t?.cloud||{},{secureDistribution:y,privateCdn:v}=t?.url||{};if(!g)throw Error("A Cloudinary Cloud name is required, please make sure your environment variable is set and configured in your environment.");let b=f||"";if(b.startsWith("http"))try{let e=d(f);"string"==typeof e?.publicId&&(b=e?.publicId)}catch(e){}if(!b)throw Error("Video Player requires a src, please make sure to configure your src as a public ID or Cloudinary URL.");let E=Array.isArray(h)?h:[h];E.unshift({quality:p});let _={};"boolean"==typeof s?_.showLogo=s:"object"==typeof s&&(_={..._,showLogo:!0,logoImageUrl:s.imageUrl,logoOnclickUrl:s.onClickUrl});let S=!1;("boolean"==typeof n||"true"===n||"false"===n)&&(S=n),"string"==typeof n&&"true"!==n&&"false"!==n&&(r=n);let w={cloud_name:g,privateCdn:v,secureDistribution:y,autoplayMode:r,autoplay:S,controls:i,language:a,languages:o,loop:l,muted:u,publicId:b,transformation:E,..._,...m};return w.width&&w.height&&!w.aspectRatio&&(w.aspectRatio=`${w.width}:${w.height}`),"string"==typeof c?w.posterOptions={publicId:c}:"object"==typeof c&&("string"!=typeof c.src?w.posterOptions={publicId:tp({options:{...c,src:b,assetType:"video",format:"auto:image"},config:t})}:w.posterOptions={publicId:tp({options:c,config:t})}),w}(e,tS(r)),{publicId:g}=m;if(typeof g>"u")throw Error("Video Player requires a Public ID or Cloudinary URL - please specify a src prop");let y=(0,n.useRef)(),v=(0,n.useRef)(),b=e.videoRef||v,E=(0,n.useRef)(),_=e.playerRef||E,S=a||`player-${p.replace(/:/g,"")}`,w="cld-video-player cld-fluid";t&&(w=`${w} ${t}`),tO.filter(e=>e===S).length>1?console.warn(`Multiple instances of the same video detected on the 30 page which may cause some features to not work. 31 Try adding a unique id to each player.`):tO.push(S);let T={error:s,loadeddata:o,loadedmetadata:l,pause:u,play:c,ended:f};function O(e){let t=T[e.type];"function"==typeof t&&t({player:_.current,video:b.current})}return(0,n.useEffect)(()=>()=>{_.current?.videojs.cloudinary.dispose(),tO=tO.filter(e=>e!==S)},[]),n.createElement(n.Fragment,null,n.createElement(tg,null,n.createElement("link",{href:`https://unpkg.com/cloudinary-video-player@${tx}/dist/cld-video-player.min.css`,rel:"stylesheet"})),n.createElement("div",{style:{width:"100%",aspectRatio:`${h} / ${i}`}},n.createElement("video",{ref:b,id:S,className:w,width:h,height:i}),n.createElement(ty.default,{id:`cloudinary-videoplayer-${S}`,src:`https://unpkg.com/cloudinary-video-player@${tx}/dist/cld-video-player.min.js`,onLoad:function(){"cloudinary"in window&&(y.current=window.cloudinary,_.current=y.current.videoPlayer(b.current,m),Object.keys(T).forEach(e=>{"function"==typeof T[e]&&_.current?.on(e,O)}))},onError:e=>console.error(`Failed to load Cloudinary Video Player: ${e.message}`)})))}},89499:(e,t,r)=>{"use strict";r.d(t,{Eq:()=>u});var n=new WeakMap,i=new WeakMap,a={},o=0,s=function(e){return e&&(e.host||s(e.parentNode))},l=function(e,t,r,l){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=s(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});a[r]||(a[r]=new WeakMap);var c=a[r],d=[],f=new Set,h=new Set(u),p=function(e){!e||f.has(e)||(f.add(e),p(e.parentNode))};u.forEach(p);var m=function(e){!e||h.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))m(e);else try{var t=e.getAttribute(l),a=null!==t&&"false"!==t,o=(n.get(e)||0)+1,s=(c.get(e)||0)+1;n.set(e,o),c.set(e,s),d.push(e),1===o&&a&&i.set(e,!0),1===s&&e.setAttribute(r,"true"),a||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),f.clear(),o++,function(){d.forEach(function(e){var t=n.get(e)-1,a=c.get(e)-1;n.set(e,t),c.set(e,a),t||(i.has(e)||e.removeAttribute(l),i.delete(e)),a||e.removeAttribute(r)}),--o||(n=new WeakMap,n=new WeakMap,i=new WeakMap,a={})}},u=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),l(n,i,r,"aria-hidden")):function(){return null}}},89894:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(90662))&&n.__esModule?n:{default:n}
31,a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();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 a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(r(52531));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}var s=function(e){return new i.default(e)};Object.assign(s,a),delete s.__esModule,t.default=s,e.exports=t.default},89936:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(51401))&&n.__esModule?n:{default:n},a=r(59110);function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=a.STRING,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e),t}(i.default),e.exports=t.default},90539:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let i=(n=r(75518))&&n.__esModule?n:{default:n};function a({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 o={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 a({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return a({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return a({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return a({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return a({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}},90662:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(94193))&&n.__esModule?n:{default:n};t.default=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 a=r._root(e,t);Promise.resolve(r.func(a)).then(function(n){var i=void 0;return r._shouldUpdateSelector(e,t)&&(e.selector=i=a.toString()),{transform:n,root:a,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&&(e.selector=i=r.toString()),{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}(),e.exports=t.default},90947:(e,t,r)=>{"use strict";r.d(t,{da:()=>c});let n={lessThanXSeconds:{one:"mindre end \xe9t sekund",other:"mindre end {{count}} sekunder"},xSeconds:{one:"1 sekund",other:"{{count}} sekunder"},halfAMinute:"\xe9t halvt minut",lessThanXMinutes:{one:"mindre end \xe9t minut",other:"mindre end {{count}} minutter"},xMinutes:{one:"1 minut",other:"{{count}} minutter"},aboutXHours:{one:"cirka 1 time",other:"cirka {{count}} timer"},xHours:{one:"1 time",other:"{{count}} timer"},xDays:{one:"1 dag",other:"{{count}} dage"},aboutXWeeks:{one:"cirka 1 uge",other:"cirka {{count}} uger"},xWeeks:{one:"1 uge",other:"{{count}} uger"},aboutXMonths:{one:"cirka 1 m\xe5ned",other:"cirka {{count}} m\xe5neder"},xMonths:{one:"1 m\xe5ned",other:"{{count}} m\xe5neder"},aboutXYears:{one:"cirka 1 \xe5r",other:"cirka {{count}} \xe5r"},xYears:{one:"1 \xe5r",other:"{{count}} \xe5r"},overXYears:{one:"over 1 \xe5r",other:"over {{count}} \xe5r"},almostXYears:{one:"n\xe6sten 1 \xe5r",other:"n\xe6sten {{count}} \xe5r"}};var i=r(38900);let a={date:(0,i.k)({formats:{full:"EEEE 'den' d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,i.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.k)({formats:{full:"{{date}} 'kl'. {{time}}",long:"{{date}} 'kl'. {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},o={lastWeek:"'sidste' eeee 'kl.' p",yesterday:"'i g\xe5r kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"'p\xe5' eeee 'kl.' p",other:"P"};var s=r(29306);let l={ordinalNumber:(e,t)=>Number(e)+".",era:(0,s.o)({values:{narrow:["fvt","vt"],abbreviated:["f.v.t.","v.t."],wide:["f\xf8r vesterlandsk t
31idsregning","vesterlandsk tidsregning"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["1. kvt.","2. kvt.","3. kvt.","4. kvt."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["S","M","T","O","T","F","L"],short:["s\xf8","ma","ti","on","to","fr","l\xf8"],abbreviated:["s\xf8n.","man.","tir.","ons.","tor.","fre.","l\xf8r."],wide:["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"}},defaultFormattingWidth:"wide"})};var u=r(71098);let c={code:"da",formatDistance:(e,t,r)=>{let i,a=n[e];if(i="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",String(t)),r?.addSuffix)if(r.comparison&&r.comparison>0)return"om "+i;else return i+" siden";return i},formatLong:a,formatRelative:(e,t,r,n)=>o[e],localize:l,match:{ordinalNumber:(0,r(15880).K)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({matchPatterns:{narrow:/^(fKr|fvt|eKr|vt)/i,abbreviated:/^(f\.Kr\.?|f\.v\.t\.?|e\.Kr\.?|v\.t\.)/i,wide:/^(f.Kr.|før vesterlandsk tidsregning|e.Kr.|vesterlandsk tidsregning)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^(v|e)/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]. kvt\./i,wide:/^[1234]\.? kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mar.|apr.|maj|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januar|februar|marts|april|maj|juni|juli|august|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(søn.|man.|tir.|ons.|tor.|fre.|lør.)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^o/i,/^t/i,/^f/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{narrow:/^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i,any:/^([ap]\.?\s?m\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/midnat/i,noon:/middag/i,morning:/morgen/i,afternoon:/eftermiddag/i,evening:/aften/i,night:/nat/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},91577:(e,t,r)=>{"use strict";function n(e,t){if(void 0===e||"function"!=typeof e)throw Error("The render function is not val
31id (received type ".concat(Object.prototype.toString.call(e).slice(8,-1),").\n\n").concat(t))}r.d(t,{t:()=>n})},91687:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();t.default=function(){function e(t,r,n){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.object=t,this.encodings=r,this.options=n}return r(e,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),e}()},91899:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={getSortedRouteObjects:function(){return a.getSortedRouteObjects},getSortedRoutes:function(){return a.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(95853),o=r(69833)},92101:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},92975: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"caract\xe8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xe9l\xe9ments",verb:"avoir"},set:{unit:"\xe9l\xe9ments",verb:"avoir"}},t={regex:"entr\xe9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xe9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xeene encod\xe9e en base64",base64url:"cha\xeene encod\xe9e en base64url",json_string:"cha\xeene JSON",e164:"num\xe9ro E.164",jwt:"JWT",template_literal:"entr\xe9e"},r=>{switch(r.code){case"invalid_type":return`Entr\xe9e invalide : ${r.expected} attendu, ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"nombre";case"object":if(Array.isArray(e))return"tableau";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)} re\xe7u`;case"invalid_value":if(1===r.values.length)return`Entr\xe9e invalide : ${o.stringifyPrimitive(r.values[0])} attendu`;
31return`Option invalide : une valeur parmi ${o.joinValues(r.values,"|")} attendue`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Trop grand : ${r.origin??"valeur"} doit ${n.verb} ${t}${r.maximum.toString()} ${n.unit??"\xe9l\xe9ment(s)"}`;return`Trop grand : ${r.origin??"valeur"} doit \xeatre ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Trop petit : ${r.origin} doit ${n.verb} ${t}${r.minimum.toString()} ${n.unit}`;return`Trop petit : ${r.origin} doit \xeatre ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Cha\xeene invalide : doit commencer par "${r.prefix}"`;if("ends_with"===r.format)return`Cha\xeene invalide : doit se terminer par "${r.suffix}"`;if("includes"===r.format)return`Cha\xeene invalide : doit inclure "${r.includes}"`;if("regex"===r.format)return`Cha\xeene invalide : doit correspondre au mod\xe8le ${r.pattern}`;return`${t[r.format]??r.format} invalide`;case"not_multiple_of":return`Nombre invalide : doit \xeatre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xe9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Cl\xe9 invalide dans ${r.origin}`;case"invalid_union":default:return"Entr\xe9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`}})}};let o=a(r(3947))},93443:(e,t,r)=>{"use strict";t.__esModule=!0,t.unescapeValue=m,t.default=void 0;var n,i=l(r(7671)),a=l(r(85865)),o=l(r(24792)),s=r(59110);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(34057),d=/^('|")([^]*)\1$/,f=c(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),h=c(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),p=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,a.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;p();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=y[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,a=r.replace(/[^"]/g,"").length;if(n+a===0){var o=(0,i.default)(r,{isIdentifier:!0});if(o===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=y[l];if((0,i.default)(r,u).length<o.length)return l}return s}return a===n?this.preferredQuoteMark(e):a<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,y[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]}}
31,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=v);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,t+=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,t+=n.after.length;var a=this._spacesFor("value");t+=a.before.length;var o=this.stringifyProperty("value");return"value"===e?o?t:-1:(t+=o.length,t+=a.after.length,t+=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=" "),v(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){h()}},{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}(o.default);t.default=g,g.NO_QUOTE=null,g.SINGLE_QUOTE="'",g.DOUBLE_QUOTE='"';var y=((n={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}})[null]={isIdentifier:!0},n);function v(e,t){return""+t.before+e+t.after}},93772: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}},t={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},r=>
31{switch(r.code){case"invalid_type":return`Input non valido: atteso ${r.expected}, ricevuto ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"numero";case"object":if(Array.isArray(e))return"vettore";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Input non valido: atteso ${o.stringifyPrimitive(r.values[0])}`;return`Opzione non valida: atteso uno tra ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`Troppo grande: ${r.origin??"valore"} deve avere ${t}${r.maximum.toString()} ${n.unit??"elementi"}`;return`Troppo grande: ${r.origin??"valore"} deve essere ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`Troppo piccolo: ${r.origin} deve avere ${t}${r.minimum.toString()} ${n.unit}`;return`Troppo piccolo: ${r.origin} deve essere ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Stringa non valida: deve iniziare con "${r.prefix}"`;if("ends_with"===r.format)return`Stringa non valida: deve terminare con "${r.suffix}"`;if("includes"===r.format)return`Stringa non valida: deve includere "${r.includes}"`;if("regex"===r.format)return`Stringa non valida: deve corrispondere al pattern ${r.pattern}`;return`Invalid ${t[r.format]??r.format}`;case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${r.divisor}`;case"unrecognized_keys":return`Chiav${r.keys.length>1?"i":"e"} non riconosciut${r.keys.length>1?"e":"a"}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${r.origin}`;case"invalid_union":default:return"Input non valido";case"invalid_element":return`Valore non valido in ${r.origin}`}})}};let o=a(r(3947))},93963:(e,t)=>{"use strict";function r(){return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{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)},93994:(e,t,r)=>{"use strict";r.d(t,{B:()=>i});let n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=(e,t,r)=>{let i,a=n[e];if(i="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+i;else return i+" ago";return i}},94193:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i,a=T(r(53085)),o=T(r(96052)),s=T(r(66016)),l=T(r(45082)),u=T(r(51352)),c=T(r(69243)),d=T(r(89936)),f=T(r(37591)),h=w(r(93443)),p=T(r(51202)),m=T(r(96963)),g=T(r(86285)),y=T(r(41116)),v=w(r(71515)),b=w(r(85904)),E=w(r(59110)),_=r(97913);function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function w(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=S();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 a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}
31function T(e){return e&&e.__esModule?e:{default:e}}var O=((n={})[b.space]=!0,n[b.cr]=!0,n[b.feed]=!0,n[b.newline]=!0,n[b.tab]=!0,n),x=Object.assign({},O,((i={})[b.comment]=!0,i));function P(e){return{line:e[v.FIELDS.START_LINE],column:e[v.FIELDS.START_COL]}}function A(e){return{line:e[v.FIELDS.END_LINE],column:e[v.FIELDS.END_COL]}}function k(e,t,r,n){return{start:{line:e,column:t},end:{line:r,column:n}}}function I(e){return k(e[v.FIELDS.START_LINE],e[v.FIELDS.START_COL],e[v.FIELDS.END_LINE],e[v.FIELDS.END_COL])}function C(e,t){if(e)return k(e[v.FIELDS.START_LINE],e[v.FIELDS.START_COL],t[v.FIELDS.END_LINE],t[v.FIELDS.END_COL])}function R(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 D(e,t){for(var r=-1,n=[];-1!==(r=e.indexOf(t,r+1));)n.push(r);return n}t.default=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,v.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 a.default({source:r}),this.root.errorGenerator=this._errorGenerator();var n=new o.default({source:{start:{line:1,column:1}}});this.root.append(n),this.current=n,this.loop()}var t,r=e.prototype;return r._errorGenerator=function(){var e=this;return function(t,r){return"string"==typeof e.rule?Error(t):e.rule.error(t,r)}},r.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[v.FIELDS.TYPE]!==b.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[v.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[v.FIELDS.START_POS]);var r=e.length,n={source:k(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[v.FIELDS.START_POS]};if(1===r&&!~[b.word].indexOf(e[0][v.FIELDS.TYPE]))return this.expected("attribute",e[0][v.FIELDS.START_POS]);for(var i=0,a="",o="",s=null,l=!1;i<r;){var u=e[i],c=this.content(u),d=e[i+1];switch(u[v.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 p=(0,_.getProp)(n,"raws","spaces",s,"after")||null;p&&(n.raws.spaces[s].after=p+c)}else a+=c,o+=c;break;case b.asterisk:d[v.FIELDS.TYPE]===b.equals?(n.operator=c,s="operator"):n.namespace&&("namespace"!==s||l)||!d||(a&&((0,_.ensureObject)(n,"spaces","attribute"),n.spaces.attribute.before=a,a=""),o&&((0,_.ensureObject)(n,"raws","spaces","attribute"),n.raws.spaces.attribute.before=a,o=""),n.namespace=(n.namespace||"")+c,((0,_.getProp)(n,"raws","namespace")||0)&&(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[v.FIELDS.TYPE]===b.equals&&(n.operator=c,s="operator"),l=!1;break;case b.combinator:if("~"===c&&d[v.FIELDS.TYPE]===b.equals&&(n.operator=c,s="operator"),"|"!==c){l=!1;break}d[v.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][v.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",a&&((0,_.ensureObject)(n,"spaces","insensitive"),n.spaces.insensitive.before=a,a=""),o&&((0,_.ensureObject)(n,"raws","spaces","insensitive"),n.raws.spaces.insensitive.before=o,o="")):(n.value||""===n.value)&&(s="value",n.value+=c,n.raws.value&&(n.raws.value+=c))}else{var y=(0,_.unesc)(c),E=(0,_.getProp)(n,"raws","value")||"",S=n.value||"";n.value=S+y,n.quoteMark=null,(y!==c||E)&&((0,_.ensureObject)(n,"raws"),n.raws.value=(E||S)+c),s="value"}else a&&((0,_.ensureObject)(n,"spaces","attribute"),n.spaces.attribute.before=a,a=""),o&&((0,_.ensureObject)(n,"raws","spaces","attribute"),n.raws.spaces.attribute.before=o,o=""),n.attribute=(n.attribute||"")+c,((0,_.getProp)(n,"raws","attribute")||0)&&
vendor: 1,524 bytes, line 31
31(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[v.FIELDS.START_POS]});var w=(0,h.unescapeValue)(c),T=w.unescaped,O=w.quoteMark;n.value=T,n.quoteMark=O,s="value",(0,_.ensureObject)(n,"raws"),n.raws.value=c,l=!1;break;case b.equals:if(!n.attribute)return this.expected("attribute",u[v.FIELDS.START_POS],c);if(n.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:u[v.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[v.FIELDS.TYPE]===b.space||"insensitive"===s){var x=(0,_.getProp)(n,"spaces",s,"after")||"",P=(0,_.getProp)(n,"raws","spaces",s,"after")||x;(0,_.ensureObject)(n,"raws","spaces",s),n.raws.spaces[s].after=P+c}else{var A=n[s]||"",I=(0,_.getProp)(n,"raws",s)||A;(0,_.ensureObject)(n,"raws"),n.raws[s]=I+c}else o+=c;break;default:return this.error('Unexpected "'+c+'" found.',{index:u[v.FIELDS.START_POS]})}i++}R(n,"attribute"),R(n,"namespace"),this.newNode(new h.default(n)),this.position++},r.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,r=[],n="",i=void 0;do if(O[this.currToken[v.FIELDS.TYPE]])this.options.lossy||(n+=this.content());else if(this.currToken[v.FIELDS.TYPE]===b.comment){var a={};n&&(a.before=n,n=""),i=new l.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS],space
31s:a}),r.push(i)}while(++this.position<e);if(n){if(i)i.spaces.after=n;else if(!this.options.lossy){var o=this.tokens[t],s=this.tokens[this.position-1];r.push(new d.default({value:"",source:k(o[v.FIELDS.START_LINE],o[v.FIELDS.START_COL],s[v.FIELDS.END_LINE],s[v.FIELDS.END_COL]),sourceIndex:o[v.FIELDS.START_POS],spaces:{before:n,after:""}}))}}return r},r.convertWhitespaceNodesToSpace=function(e,t){var r=this;void 0===t&&(t=!1);var n="",i="";return e.forEach(function(e){var a=r.lossySpace(e.spaces.before,t),o=r.lossySpace(e.rawSpaceBefore,t);n+=a+r.lossySpace(e.spaces.after,t&&0===a.length),i+=a+e.value+r.lossySpace(e.rawSpaceAfter,t&&0===o.length)}),i===n&&(i=void 0),{space:n,rawSpace:i}},r.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][v.FIELDS.TYPE]===b.slash&&this.tokens[e+1]&&this.tokens[e+1][v.FIELDS.TYPE]===b.word&&this.tokens[e+2]&&this.tokens[e+2][v.FIELDS.TYPE]===b.slash},r.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:k(this.currToken[v.FIELDS.START_LINE],this.currToken[v.FIELDS.START_COL],this.tokens[this.position+2][v.FIELDS.END_LINE],this.tokens[this.position+2][v.FIELDS.END_COL]),sourceIndex:this.currToken[v.FIELDS.START_POS],raws:r});return this.position=this.position+3,n}this.unexpected()},r.combinator=function(){var e,t=this;if("|"===this.content())return this.namespace();var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][v.FIELDS.TYPE]===b.comma){var n=this.parseWhitespaceEquivalentTokens(r);if(n.length>0){var i=this.current.last;if(i){var a=this.convertWhitespaceNodesToSpace(n),o=a.space,s=a.rawSpace;void 0!==s&&(i.rawSpaceAfter+=s),i.spaces.after+=o}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[v.FIELDS.TYPE]===b.combinator?(e=new m.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS]}),this.position++):O[this.currToken[v.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 h=this.convertWhitespaceNodesToSpace(u,!0),p=h.space,g=h.rawSpace;g||(g=p);var y={},E={spaces:{}};p.endsWith(" ")&&g.endsWith(" ")?(y.before=p.slice(0,p.length-1),E.spaces.before=g.slice(0,g.length-1)):p.startsWith(" ")&&g.startsWith(" ")?(y.after=p.slice(1),E.spaces.after=g.slice(1)):E.value=g,e=new m.default({value:" ",source:C(l,this.tokens[this.position-1]),sourceIndex:l[v.FIELDS.START_POS],space
vendor: 4,943 bytes, line 31
31s:y,raws:E})}return this.currToken&&this.currToken[v.FIELDS.TYPE]===b.space&&(e.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(e)},r.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var e=new o.default({source:{start:P(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},r.comment=function(){var e=this.currToken;this.newNode(new l.default({value:this.content(),source:I(e),sourceIndex:e[v.FIELDS.START_POS]})),this.position++},r.error=function(e,t){throw this.root.error(e,t)},r.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[v.FIELDS.START_POS]})},r.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[v.FIELDS.START_POS])},r.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[v.FIELDS.START_POS])},r.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[v.FIELDS.START_POS])},r.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[v.FIELDS.TYPE]===b.word?(this.position++,this.word(e)):this.nextToken[v.FIELDS.TYPE]===b.asterisk?(this.position++,this.universal(e)):void 0},r.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))return void this.position++;var e=this.currToken;this.newNode(new g.default({value:this.content(),source:I(e),sourceIndex:e[v.FIELDS.START_POS]})),this.position++},r.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===E.PSEUDO){var r=new o.default({source:{start:P(this.tokens[this.position-1])}}),n=this.current;for(e.append(r),this.current=r;this.position<this.tokens.length&&t;)this.currToken[v.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[v.FIELDS.TYPE]===b.closeParenthesis&&t--,t?this.parse():(this.current.source.end=A(this.currToken),this.current.parent.source.end=A(this.currToken),this.position++);this.current=n}else{for(var i,a=this.currToken,s="(";this.position<this.tokens.length&&t;)this.currToken[v.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[v.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:k(a[v.FIELDS.START_LINE],a[v.FIELDS.START_COL],i[v.FIELDS.END_LINE],i[v.FIELDS.END_COL]),sourceIndex:a[v.FIELDS.START_POS]}))}if(t)return this.expected("closing parenthesis",this.currToken[v.FIELDS.START_POS])},r.pseudo=function(){for(var e=this,t="",r=this.currToken;this.currToken&&this.currToken[v.FIELDS.TYPE]===b.colon;)t+=this.content(),this.position++;return this.currToken?this.currToken[v.FIELDS.TYPE]!==b.word?this.expected(["pseudo-class","pseudo-element"],this.currToken[v.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[v.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[v.FIELDS.TYPE]===b.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[v.FIELDS.START_POS]})}):this.expected(["pseudo-class","pseudo-element"],this.position-1)},r.space=function(){var e=this.content();0===this.position||this.prevToken[v.FIELDS.TYPE]===b.comma||this.prevToken[v.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[v.FIELDS.TYPE]===b.comma||this.nextToken[v.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},r.string=function(){var e=this.currToken;this.newNode(new d.default({value:this.content(),source:I(e),sourceIndex:e[v.FIELDS.START_POS]})),this.position++},r.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var r=this.currToken;this.newNode(new p.default({value:this.content(),source:I(r),sourceIndex:r[v.FIELDS.START_POS]}),e),this.position++},r.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[v.FIELDS.TYPE]);){this.position++;var a=this.content();if(i+=a,a.lastIndexOf("\\")===a.length-1){var o=this.nextToken;o&&o[v.FIELDS.TYPE]===b.space&&(i+=this.requiredSpace(this.content(o)),this.position++)}n=this.nextToken}var l=D(i,".").filter(function(e){var t="\\"===i[e-1],r=/^\d+\.\d+%$/.test(i);return!t&&!r}),d=D(i,"#").filter(function(e){return"\\"!==i[e-1]}),f=D(i,"#{");f.length&&(d=d.filter(function(e){return!~f.indexOf(e)}));var h=(0,y.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,r){return r===e.indexOf(t)})}
31([0].concat(l,d)));h.forEach(function(n,a){var o,f=h[a+1]||i.length,p=i.slice(n,f);if(0===a&&t)return t.call(r,p,h.length);var m=r.currToken,g=m[v.FIELDS.START_POS]+h[a],y=k(m[1],m[2]+n,m[3],m[2]+(f-1));if(~l.indexOf(n)){var b={value:p.slice(1),source:y,sourceIndex:g};o=new s.default(R(b,"value"))}else if(~d.indexOf(n)){var E={value:p.slice(1),source:y,sourceIndex:g};o=new u.default(R(E,"value"))}else{var _={value:p,source:y,sourceIndex:g};R(_,"value"),o=new c.default(_)}r.newNode(o,e),e=null}),this.position++},r.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},r.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},r.parse=function(e){switch(this.currToken[v.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()}},r.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})},r.requiredSpace=function(e){return this.options.lossy?" ":e},r.optionalSpace=function(e){return this.options.lossy?"":e},r.lossySpace=function(e,t){return this.options.lossy?t?" ":"":e},r.parseParenthesisToken=function(e){var t=this.content(e);return e[v.FIELDS.TYPE]===b.space?this.requiredSpace(t):t},r.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||"")+t),t=!0),e.namespace=t,R(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},r.content=function(e){return void 0===e&&(e=this.currToken),this.css.slice(e[v.FIELDS.START_POS],e[v.FIELDS.END_POS])},r.locateNextMeaningfulToken=function(e){void 0===e&&(e=this.position+1);for(var t=e;t<this.tokens.length;)if(!x[this.tokens[t][v.FIELDS.TYPE]])return t;else{t++;continue}return -1},t=[{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]}}],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,t),e}(),e.exports=t.default},94796:(e,t,r)=>{"use strict";var n=r(30880);Object.defineProperty(t,"__esModule",{value:!0});var i={atLeastOneTask:function(){return l},scheduleImmediate:function(){return s},scheduleOnNextTick:function(){return o},waitAtLeastOneReactRenderTask:function(){return u}};for(var a in i)Object.defineProperty(t,a,{enumerable:!0,get:i[a]});let o=e=>{Promise.resolve().then(()=>{n.nextTick(e)})},s=e=>{setImmediate(e)};function l(){return new Promise(e=>s(e))}function u(){return new Promise(e=>setImmediate(e))}},95072:(e,t,r)=>{"use strict";r.d(t,{R:()=>n});class n{constructor(e,t){this.attribute=t,this.property=e}}n.prototype.attribute="",n.prototype.booleanish=!1,n.prototype.boolean=!1,n.prototype.commaOrSpaceSeparated=!1,n.prototype.commaSeparated=!1,n.prototype.defined=!1,n.prototype.mustUseProperty=!1,n.prototype.number=!1,n.prototype.overloadedBoolean=!1,n.prototype.property="",n.prototype.spaceSeparated=!1,n.prototype.space=void 0},95075: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.zhTW=t.zhCN=t.vi=t.ur=t.ua=t.tr=t.th=t.ta=t.sv=t.sl=t.ru=t.pt=t.pl=t.ps=t.ota=t.no=t.nl=t.ms=t.mk=t.ko=t.kh=t.ja=t.it=t.id=t.hu=t.he=t.frCA=t.fr=t.fi=t.fa=t.es=t.eo=t.en=t.de=t.cs=t.ca=t.be=t.az=t.ar=void 0;var i=r(70826);Object.defineProperty(t,"ar",{enumerable:!0,get:function(){return n(i).default}});var a=r(46018);Object.defineProperty(t,"az",{enumerable:!0,get:function(){return n(a).default}});var o=r(25116);Object.defineProperty(t,"be",{enumerable:!0,get:function(){return n(o).default}});var s=r(68595);Object.defineProperty(t,"ca",{enumerable:!0,get:function(){return n(s).default}});var l=r(42001);Object.defineProperty(t,"cs",{enumerable:!0,get:function(){return n(l).default}});var u=r(2414);Object.defineProperty(t,"de",{enumerable:!0,get:function(){return n(u).default}});var c=r(77658);Object.defineProperty(t,"en",{enumerable:!0,get:function(){return n(c).default}});
31var d=r(38715);Object.defineProperty(t,"eo",{enumerable:!0,get:function(){return n(d).default}});var f=r(29383);Object.defineProperty(t,"es",{enumerable:!0,get:function(){return n(f).default}});var h=r(36180);Object.defineProperty(t,"fa",{enumerable:!0,get:function(){return n(h).default}});var p=r(44716);Object.defineProperty(t,"fi",{enumerable:!0,get:function(){return n(p).default}});var m=r(92975);Object.defineProperty(t,"fr",{enumerable:!0,get:function(){return n(m).default}});var g=r(63642);Object.defineProperty(t,"frCA",{enumerable:!0,get:function(){return n(g).default}});var y=r(1042);Object.defineProperty(t,"he",{enumerable:!0,get:function(){return n(y).default}});var v=r(13730);Object.defineProperty(t,"hu",{enumerable:!0,get:function(){return n(v).default}});var b=r(10748);Object.defineProperty(t,"id",{enumerable:!0,get:function(){return n(b).default}});var E=r(93772);Object.defineProperty(t,"it",{enumerable:!0,get:function(){return n(E).default}});var _=r(82416);Object.defineProperty(t,"ja",{enumerable:!0,get:function(){return n(_).default}});var S=r(25330);Object.defineProperty(t,"kh",{enumerable:!0,get:function(){return n(S).default}});var w=r(34437);Object.defineProperty(t,"ko",{enumerable:!0,get:function(){return n(w).default}});var T=r(53431);Object.defineProperty(t,"mk",{enumerable:!0,get:function(){return n(T).default}});var O=r(18063);Object.defineProperty(t,"ms",{enumerable:!0,get:function(){return n(O).default}});var x=r(32345);Object.defineProperty(t,"nl",{enumerable:!0,get:function(){return n(x).default}});var P=r(99338);Object.defineProperty(t,"no",{enumerable:!0,get:function(){return n(P).default}});var A=r(68753);Object.defineProperty(t,"ota",{enumerable:!0,get:function(){return n(A).default}});var k=r(5572);Object.defineProperty(t,"ps",{enumerable:!0,get:function(){return n(k).default}});var I=r(68787);Object.defineProperty(t,"pl",{enumerable:!0,get:function(){return n(I).default}});var C=r(27147);Object.defineProperty(t,"pt",{enumerable:!0,get:function(){return n(C).default}});var R=r(41564);Object.defineProperty(t,"ru",{enumerable:!0,get:function(){return n(R).default}});var D=r(7166);Object.defineProperty(t,"sl",{enumerable:!0,get:function(){return n(D).default}});var N=r(908);Object.defineProperty(t,"sv",{enumerable:!0,get:function(){return n(N).default}});var j=r(12458);Object.defineProperty(t,"ta",{enumerable:!0,get:function(){return n(j).default}});var M=r(77411);Object.defineProperty(t,"th",{enumerable:!0,get:function(){return n(M).default}});var L=r(47849);Object.defineProperty(t,"tr",{enumerable:!0,get:function(){return n(L).default}});var $=r(86965);Object.defineProperty(t,"ua",{enumerable:!0,get:function(){return n($).default}});var U=r(55622);Object.defineProperty(t,"ur",{enumerable:!0,get:function(){return n(U).default}});var F=r(36444);Object.defineProperty(t,"vi",{enumerable:!0,get:function(){return n(F).default}});var B=r(61323);Object.defineProperty(t,"zhCN",{enumerable:!0,get:function(){return n(B).default}});var z=r(62631);Object.defineProperty(t,"zhTW",{enumerable:!0,get:function(){return n(z).default}})},95565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return a}});let n=r(49596),i=r(54518);function a({re:e,groups:t}){return(0,i.safeRouteMatcher)(r=>{let i=e.exec(r);if(!i)return!1;let a=e=>{try{return decodeURIComponent(e)}catch{throw Object.defineProperty(new n.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},o={};for(let[e,r]of Object.entries(t)){let t=i[r.pos];void 0!==t&&(r.repeat?o[e]=t.split("/").map(e=>a(e)):o[e]=a(t))}return o})}},95823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={getParamProperties:function(){return l},getSegmentParam:function(){return o},isCatchAll:function(){return s}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(4954);function o(e){let t=a.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{paramType:"optional-catchall",paramName:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{paramType:t?`catchall-intercepted-${t}`:"catchall",paramName:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{paramType:t?`dynamic-intercepted-${t}`:"dynamic",paramName:e.slice(1,-1)}:null}function s(e){return"catchall"===e||"catchall-intercepted-(..)(..)"===e||"catchall-intercepted-(.)"===e||"catchall-intercepted-(..)"===e||"catchall-intercepted-(...)"===e||"optional-catchall"===e}function l(e){let t=!1,r=!1;switch(e){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":t=!0;break;case"optional-catchall":t=!0,r=!0}return{repeat:t,optional:r}}},95853:(e,t)=>{"use strict";
31Object.defineProperty(t,"__esModule",{value:!0});var r={getSortedRouteObjects:function(){return o},getSortedRoutes:function(){return a}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});class i{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e="/"){let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(`${e}${t}/`)).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(`${e}[${this.slugName}]/`)),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot define a route with the same specificity as a optional catch-all route ("${t}" and "${t}[[...${this.optionalRestSlugName}]]").`),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(`${e}[...${this.restSlugName}]/`)),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(`${e}[[...${this.optionalRestSlugName}]]/`)),r}_insert(e,t,r){if(0===e.length){this.placeholder=!1;return}if(r)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let n=e[0];if(n.startsWith("[")&&n.endsWith("]")){let i=n.slice(1,-1),o=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),o=!0),i.startsWith("â¦"))throw Object.defineProperty(Error(`Detected a three-dot character ('â¦') at ('${i}'). Did you mean ('...')?`),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(i.startsWith("...")&&(i=i.substring(3),r=!0),i.startsWith("[")||i.endsWith("]"))throw Object.defineProperty(Error(`Segment names may not start or end with extra brackets ('${i}').`),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(i.startsWith("."))throw Object.defineProperty(Error(`Segment names may not start with erroneous periods ('${i}').`),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function a(e,r){if(null!==e&&e!==r)throw Object.defineProperty(Error(`You cannot use different slug names for the same dynamic path ('${e}' !== '${r}').`),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});t.forEach(e=>{if(e===r)throw Object.defineProperty(Error(`You cannot have the same slug name "${r}" repeat within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===n.replace(/\W/g,""))throw Object.defineProperty(Error(`You cannot have the slug names "${e}" and "${r}" differ only by non-word symbols within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),t.push(r)}if(r)if(o){if(null!=this.restSlugName)throw Object.defineProperty(Error(`You cannot use both an required and optional catch-all route at the same level ("[...${this.restSlugName}]" and "${e[0]}" ).`),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});a(this.optionalRestSlugName,i),this.optionalRestSlugName=i,n="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot use both an optional and required catch-all route at the same level ("[[...${this.optionalRestSlugName}]]" and "${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});a(this.restSlugName,i),this.restSlugName=i,n="[...]"}else{if(o)throw Object.defineProperty(Error(`Optional route parameters are not yet supported ("${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});a(this.slugName,i),this.slugName=i,n="[]"}}this.children.has(n)||this.children.set(n,new i),this.children.get(n)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function a(e){let t=new i;
31return e.forEach(e=>t.insert(e)),t.smoosh()}function o(e,t){let r={},n=[];for(let i=0;i<e.length;i++){let a=t(e[i]);r[a]=i,n[i]=a}return a(n).map(t=>e[r[t]])}},96028:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={isRequestAPICallableInsideAfter:function(){return u},throwForSearchParamsAccessInUseCache:function(){return l},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return s}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let a=r(896),o=r(21678);function s(e,t){throw Object.defineProperty(new a.StaticGenBailoutError(`Route ${e} with \`dynamic = "error"\` couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function l(e,t){let r=Object.defineProperty(Error(`Route ${e.route} used \`searchParams\` inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \`searchParams\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E842",enumerable:!1,configurable:!0});throw Error.captureStackTrace(r,t),e.invalidDynamicUsageError??=r,r}function u(){let e=o.afterTaskAsyncStorage.getStore();return(null==e?void 0:e.rootTaskSpawnPhase)==="action"}},96052:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(22200))&&n.__esModule?n:{default:n},a=r(59110);function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=a.SELECTOR,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e),t}(i.default),e.exports=t.default},96963:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(51401))&&n.__esModule?n:{default:n},a=r(59110);function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=a.COMBINATOR,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e),t}(i.default),e.exports=t.default},97208:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){if("object"!==n(e)||null===e||"[object Object]"!==(null===e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}r.d(t,{Q:()=>i})},97592:(e,t,r)=>{var n=r(3861),i="object"==typeof self&&self&&self.Object===Object&&self;e.exports=n||i||Function("return this")()},97670:(e,t,r)=>{"use strict";function n(e,t){if(!e)throw Error("Invariant failed")}r.d(t,{V:()=>n})},97913:(e,t,r)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.stripComments=t.ensureObject=t.getProp=t.unesc=void 0,t.unesc=n(r(85865)).default,t.getProp=n(r(52980)).default,t.ensureObject=n(r(65810)).default,t.stripComments=n(r(60577)).default},98267:e=>{"use strict";e.exports="3.23.0"},98846:e=>{"use strict";function t(e){e=e||{},this.params=e.params||[]}t.prototype={constructor:t,addParams:function(e){var r=this.params.slice();return r.push(e),new t({params:r})},removeParams:function(e){return new t({params:this.params.filter(function(t){return t.$$id!==e})})},addFrequentlyBoughtTogether:function(e){return this.addParams(Object.assign({},e,{model:"bought-together"}))},addRelatedProducts:function(e){return this.addParams(Object.assign({},e,{model:"related-products"}))},addTrendingItems:function(e){return this.addParams(Object.assign({},e,{model:"trending-items"}))},addTrendingFacets:function(e){return this.addParams(Object.assign({},e,{model:"trending-facets"}))},addLookingSimilar:function(e){return this.addParams(Object.assign({},e,{model:"looking-similar"}))},_buildQueries:function(e,t){return this.params.filter(function(e){return void 0===t[e.$$id]}).map(function(t){var r=Object.assign({},t,{indexName:e,threshold:t.threshold||0});return delete r.$$id,r})}},e.exports=t},99001:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});
31var n=r(44493),i=r(26891),a=r(54266);let o={}.hasOwnProperty;function s(e,t){if(t&&"object"==typeof t)switch("string"==typeof t.type?t.type:""){case"comment":var r,n,i=e,a=t;if(i.schema.allowComments){let e="string"==typeof a.value?a.value:"",t=e.indexOf("--\x3e"),r={type:"comment",value:t<0?e:e.slice(0,t)};return d(r,a),r}return;case"doctype":var s=e,c=t;if(s.schema.allowDoctypes){let e={type:"doctype"};return d(e,c),e}return;case"element":return function(e,t){let r="string"==typeof t.tagName?t.tagName:"";e.stack.push(r);let n=l(e,t.children),i=function(e,t){let r,n=e.stack[e.stack.length-1],i=e.schema.attributes,a=e.schema.required,s=i&&o.call(i,n)?i[n]:void 0,l=i&&o.call(i,"*")?i["*"]:void 0,c=t&&"object"==typeof t?t:{},d={};for(r in c)if(o.call(c,r)){let t=c[r],n=u(e,f(s,r),r,t);null==n&&(n=u(e,f(l,r),r,t)),null!=n&&(d[r]=n)}if(a&&o.call(a,n)){let e=a[n];for(r in e)o.call(e,r)&&!o.call(d,r)&&(d[r]=e[r])}return d}(e,t.properties);e.stack.pop();let a=!1;if(r&&"*"!==r&&(!e.schema.tagNames||e.schema.tagNames.includes(r))&&(a=!0,e.schema.ancestors&&o.call(e.schema.ancestors,r))){let t=e.schema.ancestors[r],n=-1;for(a=!1;++n<t.length;)e.stack.includes(t[n])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(r)?n:void 0;let s={type:"element",tagName:r,properties:i,children:n};return d(s,t),s}(e,t);case"root":let h;return d(h={type:"root",children:l(e,(r=t).children)},r),h;case"text":let p;return d(p={type:"text",value:"string"==typeof(n=t).value?n.value:""},n),p}}function l(e,t){let r=[];if(Array.isArray(t)){let n=-1;for(;++n<t.length;){let i=s(e,t[n]);i&&(Array.isArray(i)?r.push(...i):r.push(i))}}return r}function u(e,t,r,n){return t?Array.isArray(n)?function(e,t,r,n){let i=-1,a=[];for(;++i<n.length;){let o=c(e,t,r,n[i]);("number"==typeof o||"string"==typeof o)&&a.push(o)}return a}(e,t,r,n):c(e,t,r,n):void 0}function c(e,t,r,n){if(("boolean"==typeof n||"number"==typeof n||"string"==typeof n)&&function(e,t,r){let n=e.schema.protocols&&o.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;
31if(!n||0===n.length)return!0;let i=String(r),a=i.indexOf(":"),s=i.indexOf("?"),l=i.indexOf("#"),u=i.indexOf("/");if(a<0||u>-1&&a>u||s>-1&&a>s||l>-1&&a>l)return!0;let c=-1;for(;++c<n.length;){let e=n[c];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}(e,r,n)){if("object"==typeof t&&t.length>1){let e=!1,r=0;for(;++r<t.length;){let i=t[r];if(i&&"object"==typeof i&&"flags"in i){if(i.test(String(n))){e=!0;break}}else if(i===n){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(r)?e.schema.clobberPrefix+n:n}}function d(e,t){let r=(0,i.G1)(t);t.data&&(e.data=(0,n.Ay)(t.data)),r&&(e.position=r)}function f(e,t){let r,n=-1;if(e)for(;++n<e.length;){let i=e[n],a="string"==typeof i?i:i[0];if(a===t)return i;"data*"===a&&(r=i)}if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return r}function h(e){return function(t){let r,n;return r={type:"root",children:[]},(n=s({schema:e?{...a.j,...e}:a.j,stack:[]},t))&&(Array.isArray(n)?1===n.length?r=n[0]:r.children=n:r=n),r}}},99252:(e,t,r)=>{"use strict";r.d(t,{A:()=>ex});var n={};r.r(n),r.d(n,{attentionMarkers:()=>eg,contentInitial:()=>ec,disable:()=>ey,document:()=>eu,flow:()=>ef,flowInitial:()=>ed,insideSpan:()=>em,string:()=>eh,text:()=>ep});let i={};function a(e,t,r){var n;if((n=e)&&"object"==typeof n){if("value"in e)return"html"!==e.type||r?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return o(e.children,t,r)}return Array.isArray(e)?o(e,t,r):""}function o(e,t,r){let n=[],i=-1;for(;++i<e.length;)n[i]=a(e[i],t,r);return n.join("")}function s(e,t,r,n){let i,a=e.length,o=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,r=r>0?r:0,n.length<1e4)(i=Array.from(n)).unshift(t,r),e.splice(...i);else for(r&&e.splice(t,r);o<n.length;)(i=n.slice(o,o+1e4)).unshift(t,0),e.splice(...i),o+=1e4,t+=1e4}function l(e,t){return e.length>0?(s(e,e.length,0,t),e):t}class u{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let r=null==t?1/0:t;return r<this.left.length?this.left.slice(e,r):e>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(e,t,r){this.setCursor(Math.trunc(e));let n=this.right.splice(this.right.length-(t||0),1/0);return r&&c(this.left,r),n.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),c(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),c(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);c(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);c(this.left,t.reverse())}}}function c(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function d(e){let t,r,n,i,a,o,l,c={},d=-1,f=new u(e);for(;++d<f.length;){for(;d in c;)d=c[d];if(t=f.get(d),d&&"chunkFlow"===t[1].type&&"listItemPrefix"===f.get(d-1)[1].type&&((n=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[n][1].type&&(n+=2),n<o.length&&"content"===o[n][1].type))for(;++n<o.length&&"content"!==o[n][1].type;)"chunkText"===o[n][1].type&&(o[n][1]._isInFirstContentOfListItem=!0,n++);if("enter"===t[0])t[1].contentType&&(Object.assign(c,function(e,t){let r,n,i=e.get(t)[1],a=e.get(t)[2],o=t-1,s=[],l=i._tokenizer;!l&&(l=a.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let u=l.events,c=[],d={},f=-1,h=i,p=0,m=0,g=[0];for(;h;){for(;e.get(++o)[1]!==h;);s.push(o),!h._tokenizer&&(r=a.sliceStream(h),h.next||r.push(null),n&&l.defineSki
31p(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(r),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),n=h,h=h.next}for(h=i;++f<u.length;)"exit"===u[f][0]&&"enter"===u[f-1][0]&&u[f][1].type===u[f-1][1].type&&u[f][1].start.line!==u[f][1].end.line&&(m=f+1,g.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),f=g.length;f--;){let t=u.slice(g[f],g[f+1]),r=s.pop();c.push([r,r+t.length-1]),e.splice(r,2,t)}for(c.reverse(),f=-1;++f<c.length;)d[p+c[f][0]]=p+c[f][1],p+=c[f][1]-c[f][0]-1;return d}(f,d)),d=c[d],l=!0);else if(t[1]._container){for(n=d,r=void 0;n--;)if("lineEnding"===(i=f.get(n))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(r&&(f.get(r)[1].type="lineEndingBlank"),i[1].type="lineEnding",r=n);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;r&&(t[1].end={...f.get(r)[1].start},(a=f.slice(r,d)).unshift(t),f.splice(r,d-r+1,a))}}return s(e,0,1/0,f.slice(0)),!l}let f={}.hasOwnProperty;var h=r(69444);function p(e,t,r,n){let i=n?n-1:1/0,a=0;return function(n){return(0,h.On)(n)?(e.enter(r),function n(o){return(0,h.On)(o)&&a++<i?(e.consume(o),n):(e.exit(r),t(o))}(n)):t(n)}}let m={tokenize:function(e){let t,r=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p(e,r,"linePrefix"))},function(r){return e.enter("paragraph"),function r(n){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(n){if(null===n){e.exit("chunkText"),e.exit("paragraph"),e.consume(n);return}return(0,h.HP)(n)?(e.consume(n),e.exit("chunkText"),r):(e.consume(n),t)}(n)}(r)});return r}},g={tokenize:function(e){let t,r,n,i=this,a=[],o=0;return l;function l(t){if(o<a.length){let r=a[o];return i.containerState=r[1],e.attempt(r[0].continuation,u,c)(t)}return c(t)}function u(e){if(o++,i.containerState._closeFlow){let r;i.containerState._closeFlow=void 0,t&&E();let n=i.events.length,a=n;for(;a--;)if("exit"===i.events[a][0]&&"chunkFlow"===i.events[a][1].type){r=i.events[a][1].end;break}b(o);let l=n;for(;l<i.events.length;)i.events[l][1].end={...r},l++;return s(i.events,a+1,0,i.events.slice(n)),i.events.length=l,c(e)}return l(e)}function c(r){if(o===a.length){if(!t)return p(r);if(t.currentConstruct&&t.currentConstruct.concrete)return g(r);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(y,d,f)(r)}function d(e){return t&&E(),b(o),p(e)}function f(e){return i.parser.lazy[i.now().line]=o!==a.length,n=i.now().offset,g(e)}function p(t){return i.containerState={},e.attempt(y,m,g)(t)}function m(e){return o++,a.push([i.currentConstruct,i.containerState]),p(e)}function g(n){if(null===n){t&&E(),b(0),e.consume(n);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:r}),function t(r){if(null===r){v(e.exit("chunkFlow"),!0),b(0),e.consume(r);return}return(0,h.HP)(r)?(e.consume(r),v(e.exit("chunkFlow")),o=0,i.interrupt=void 0,l):(e.consume(r),t)}(n)}function v(e,a){let l=i.sliceStream(e);if(a&&l.push(null),e.previous=r,r&&(r.next=e),r=e,t.defineSkip(e.start),t.write(l),i.parser.lazy[e.start.line]){let e,r,a=t.events.length;for(;a--;)if(t.events[a][1].start.offset<n&&(!t.events[a][1].end||t.events[a][1].end.offset>n))return;let l=i.events.length,u=l;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(e){r=i.events[u][1].end;break}e=!0}for(b(o),a=l;a<i.events.length;)i.events[a][1].end={...r},a++;s(i.events,u+1,0,i.events.slice(l)),i.events.length=a}}function b(t){let r=a.length;for(;r-- >t;){let t=a[r];i.containerState=t[1],t[0].exit.call(i,e)}a.length=t}function E(){t.write([null]),r=void 0,t=void 0,i.containerState._closeFlow=void 0}}},y={tokenize:function(e,t,r){return p(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},v={partial:!0,tokenize:function(e,t,r){return function(t){return(0,h.On)(t)?p(e,n,"linePrefix")(t):n(t)};function n(e){return null===e||(0,h.HP)(e)?t(e):r(e)}}},b={resolve:function(e){return d(e),e},tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(t)};function n(t){return null===t?i(t):(0,h.HP)(t)?e.check(E,a,i)(t):(e.consume(t),n)}function i(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function a(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}}},E={partial:!0,tokenize:function(e,t,r){let n=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p(e,i,"linePrefix")};function i(i){if(null===i||(0,h.HP)(i))return r(i);let a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(n.parser.constructs.flow,r,t)(i)}}},_={tokenize:function(e){let t=this,r=e.attempt(v,function(n){return null===n?void e.consume(n):(e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r)},e.attempt(this.parser.constructs.flowInitial,n,p(e,e.attempt(this.parser.constructs.flow,n,e.attempt(b,n)),"linePrefix")));return r;function n(n){return null===n?void e.consume(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r)}}},S={resolveAll:x()},w=O("string"),T=O("text");function O(e){return{resolveAll:x("text"===e?P:void 0),tokenize:function(t){let r=this,n=this.parser.constructs[e],i=t.attempt(n,a,o);return a;function a(e){return l(e)?i(e):o(e)}function o(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),s)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=n[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}}}}function x(e){return function(t,r){let n,i=-1;for(;++i<=t.length;)void 0===n?t[i]&&"data"===t[i][1].type&&(n=i,i++):t[i]&&"data"===t[i][1].type||(i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),i=n+2),n=void 0);return e?e(t,r):t}}function P(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){let n,i=e[r-1][1],a=t.sliceStream(i),o=a.length,s=-1,l=0;for(;o--;){let e=a[o];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)n=!0,l++;else if(-1===e);else{o++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(l=0),l){let a={type:r===e.length||n||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?s:i.start._bufferIndex+s,_index:i.start._index+o,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...a.start},i.start.offset===i.end.offset?Object.assign(i,a):(e.splice(r,0,["enter",a,t],["exit",a,t]),r+=2)}r++}return e}let A={name:"thematicBreak",tokenize:function(e,t,r){let n,i=0;return function(a){var o;return e.enter("thematicBreak"),n=o=a,function a(o){return o===n?(e.enter("thematicBreakSequence"),function t(r){return r===n?(e.consume(r),i++,t):(e.exit("thematicBreakSequence"),(0,h.On)(r)?p(e,a,"whitespace")(r):a(r))}(o)):i>=3&&(null===o||(0,h.HP)(o))?(e.exit("thematicBreak"),t(o)):r(o)}(o)}}},k={continuation:{tokenize:function(e,t,r){let n=this;return n.containerState._closeFlow=void 0,e.check(v,function(r){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,p(e,t,"listItemIndent",n.containerState.size+1)(r)},function(r){return n.containerState.furtherBlankLines||!(0,h.On)(r)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine
31=void 0,i(r)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(C,t,i)(r))});function i(i){return n.containerState._closeFlow=!0,n.interrupt=void 0,p(e,e.attempt(k,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(t){let i=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!n.containerState.marker||t===n.containerState.marker:(0,h.BM)(t)){if(n.containerState.type||(n.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(A,r,s)(t):s(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,h.BM)(i)&&++o<10?(e.consume(i),t):(!n.interrupt||o<2)&&(n.containerState.marker?i===n.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),s(i)):r(i)}(t)}return r(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(v,n.interrupt?r:l,e.attempt(I,c,u))}
31function l(e){return n.containerState.initialBlankLine=!0,a++,c(e)}function u(t){return(0,h.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):r(t)}function c(r){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}}},I={partial:!0,tokenize:function(e,t,r){let n=this;return p(e,function(e){let i=n.events[n.events.length-1];return!(0,h.On)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):r(e)},"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},C={partial:!0,tokenize:function(e,t,r){let n=this;return p(e,function(e){let i=n.events[n.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===n.containerState.size?t(e):r(e)},"listItemIndent",n.containerState.size+1)}},R={continuation:{tokenize:function(e,t,r){let n=this;return function(t){return(0,h.On)(t)?p(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(n){return e.attempt(R,t,r)(n)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,r){let n=this;return function(t){if(62===t){let r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return r(t)};function i(r){return(0,h.On)(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}}};function D(e,t,r,n,i,a,o,s,l){let u=l||1/0,c=0;return function(t){return 60===t?(e.enter(n),e.enter(i),e.enter(a),e.consume(t),e.exit(a),d):null===t||32===t||41===t||(0,h.JQ)(t)?r(t):(e.enter(n),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),m(t))};function d(r){return 62===r?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),f(r))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||(0,h.HP)(t)?r(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function m(i){return!c&&(null===i||41===i||(0,h.Ee)(i))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(n),t(i)):c<u&&40===i?(e.consume(i),c++,m):41===i?(e.consume(i),c--,m):null===i||32===i||40===i||(0,h.JQ)(i)?r(i):(e.consume(i),92===i?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function N(e,t,r,n,i,a){let o,s=this,l=0;return function(t){return e.enter(n),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u};function u(d){return l>999||null===d||91===d||93===d&&!o||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?r(d):93===d?(e.exit(a),e.enter(i),e.consume(d),e.exit(i),e.exit(n),t):(0,h.HP)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||(0,h.HP)(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),o||(o=!(0,h.On)(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function j(e,t,r,n,i,a){let o;return function(t){return 34===t||39===t||40===t?(e.enter(n),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,s):r(t)};function s(r){return r===o?(e.enter(i),e.consume(r),e.exit(i),e.exit(n),t):(e.enter(a),l(r))}function l(t){return t===o?(e.exit(a),s(o)):null===t?r(t):(0,h.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===o||null===t||(0,h.HP)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===o||92===t?(e.consume(t),u):u(t)}}function M(e,t){let r;return function n(i){return(0,h.HP)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):(0,h.On)(i)?p(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}function L(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let $={partial:!0,tokenize:function(e,t,r){return function(t){return(0,h.Ee)(t)?M(e,n)(t):r(t)};function n(t){return j(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,h.On)(t)?p(e,a,"whitespace")(t):a(t)}function a(e){return null===e||(0,h.HP)(e)?t(e):r(e)}}},U={name:"codeIndented",tokenize:function(e,t,r){let n=this;
31return function(t){return e.enter("codeIndented"),p(e,i,"linePrefix",5)(t)};function i(t){let i=n.events[n.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(r){return null===r?a(r):(0,h.HP)(r)?e.attempt(F,t,a)(r):(e.enter("codeFlowValue"),function r(n){return null===n||(0,h.HP)(n)?(e.exit("codeFlowValue"),t(n)):(e.consume(n),r)}(r))}(t):r(t)}function a(r){return e.exit("codeIndented"),t(r)}}},F={partial:!0,tokenize:function(e,t,r){let n=this;return i;function i(t){return n.parser.lazy[n.now().line]?r(t):(0,h.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):p(e,a,"linePrefix",5)(t)}function a(e){let a=n.events[n.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):(0,h.HP)(e)?i(e):r(e)}}},B={name:"setextUnderline",resolveTo:function(e,t){let r,n,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){r=a;break}"paragraph"===e[a][1].type&&(n=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);let o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[n][1].type="setextHeadingText",i?(e.splice(n,0,["enter",o,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end={...e[i][1].end}):e[r][1]=o,e.push(["exit",o,t]),e},tokenize:function(e,t,r){let n,i=this;return function(t){var o;let s,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){s="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||s)?(e.enter("setextHeadingLine"),n=t,o=t,e.enter("setextHeadingLineSequence"),function t(r){return r===n?(e.consume(r),t):(e.exit("setextHeadingLineSequence"),(0,h.On)(r)?p(e,a,"lineSuffix")(r):a(r))}(o)):r(t)};function a(n){return null===n||(0,h.HP)(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}}},z=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],H=["pre","script","style","textarea"],q={partial:!0,tokenize:function(e,t,r){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(v,t,r)}}},G={partial:!0,tokenize:function(e,t,r){let n=this;return function(t){return(0,h.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):r(t)};function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}}},W={partial:!0,tokenize:function(e,t,r){let n=this;return function(t){return null===t?r(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}}},V={concrete:!0,name:"codeFenced",tokenize:function(e,t,r){let n,i=this,a={partial:!0,tokenize:function(e,t,r){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),(0,h.On)(t)?p(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===n?(e.enter("codeFencedFenceSequence"),function t(i){return i===n?(a++,e.consume(i),t):a>=s?(e.exit("codeFencedFenceSequence"),(0,h.On)(i)?p(e,u,"whitespace")(i):u(i)):r(i)}(t)):r(t)}function u(n){return null===n||(0,h.HP)(n)?(e.exit("codeFencedFence"),t(n)):r(n)}}},o=0,s=0;return function(t){var a;let u;return a=t,o=(u=i.events[i.events.length-1])&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,n=a,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===n?(s++,e.consume(i),t):s<3?r(i):(e.exit("codeFencedFenceSequence"),(0,h.On)(i)?p(e,l,"whitespace")(i):l(i))}(a)};function l(a){return null===a||(0,h.HP)(a)?(e.exit("codeFencedFence"),i.interrupt?t(a):e.check(W,c,g)(a)):(e.enter("co
31deFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,h.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):(0,h.On)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(e,u,"whitespace")(i)):96===i&&i===n?r(i):(e.consume(i),t)}(a))}function u(t){return null===t||(0,h.HP)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,h.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===n?r(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(a,g,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return o>0&&(0,h.On)(t)?p(e,m,"linePrefix",o+1)(t):m(t)}function m(t){return null===t||(0,h.HP)(t)?e.check(W,c,g)(t):(e.enter("codeFlowValue"),function t(r){return null===r||(0,h.HP)(r)?(e.exit("codeFlowValue"),m(r)):(e.consume(r),t)}(t))}function g(r){return e.exit("codeFenced"),t(r)}}},Y=document.createElement("i");function Z(e){let t="&"+e+";";Y.innerHTML=t;let r=Y.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&r!==t&&r}let K={name:"characterReference",tokenize:function(e,t,r){let n,i,a=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),n=31,i=h.lV,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),n=6,i=h.ok,u):(e.enter("characterReferenceValue"),n=7,i=h.BM,u(t))}function u(s){if(59===s&&o){let n=e.exit("characterReferenceValue");return i!==h.lV||Z(a.sliceSerialize(n))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(s)}return i(s)&&o++<n?(e.consume(s),u):r(s)}}},X={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),n};function n(n){return(0,h.ol)(n)?(e.enter("characterEscapeValue"),e.consume(n),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(n)}}},Q={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),p(e,t,"linePrefix")}}};function J(e,t,r){let n=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}let ee={name:"labelEnd",resolveAll:function(e){let t=-1,r=[];for(;++t<e.length;){let n=e[t][1];if(r.push(e[t]),"labelImage"===n.type||"labelLink"===n.type||"labelEnd"===n.type){let e="labelImage"===n.type?4:2;n.type="data",t+=e}}return e.length!==r.length&&s(e,0,e.length,r),e},resolveTo:function(e,t){let r,n,i,a,o=e.length,u=0;for(;o--;)if(r=e[o][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[o][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=o,"labelLink"!==r.type)){u=2;break}}else"labelEnd"===r.type&&(i=o);let c={type:"labelLink"===e[n][1].type?"link":"image",start:{...e[n][1].start},end:{...e[e.length-1][1].end}},d={type:"label",start:{...e[n][1].start},end:{...e[i][1].end}},f={type:"labelText",start:{...e[n+u+2][1].end},end:{...e[i-2][1].start}};return a=l(a=[["enter",c,t],["enter",d,t]],e.slice(n+1,n+u+3)),a=l(a,[["enter",f,t]]),a=l(a,J(t.parser.constructs.insideSpan.null,e.slice(n+u+4,i-3),t)),a=l(a,[["exit",f,t],e[i-2],e[i-1],["exit",d,t]]),a=l(a,e.slice(i+1)),a=l(a,[["exit",c,t]]),s(e,n,e.length,a),e},tokenize:function(e,t,r){let n,i,a=this,o=a.events.length;for(;o--;)if(("labelImage"===a.events[o][1].type||"labelLink"===a.events[o][1].type)&&!a.events[o][1]._balanced){n=a.events[o][1];break}return function(t){return n?n._inactive?c(t):(i=a.parser.defined.includes(L(a.sliceSerialize({start:n.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):r(t)};function s(t){return 40===t?e.attempt(et,u,i?u:c)(t):91===t?e.attempt(er,u,i?l:c)(t):i?u(t):c(t)}function l(t){return e.attempt(en,u,c)(t)}function u(e){return t(e)}function c(e){return n._balanced=!0,r(e)}}},et={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),n};function n(t){return(0,h.Ee)(t)?M(e,i)(t):i(t)}function i(t){return 41===t?u(t):D(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return(0,h.Ee)(t)?M(e,s)(t):u(t)}function o(e){return r(e)}function s(t){return 34===t||39===t||40===t?j(e,l,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function l(t){return(0,h.Ee)(t)?M(e,u)(t):u(t)}function u(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},er={tokenize:function(e,t,r){let n=this;return function(t){return N.call(n,e,i,a,"reference","referenceMarker","referenceString")(t)};function i(e){return n.parser.defined.includes(L(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}function a(e){return r(e)}}},en={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}},ei={name:"labelStartImage",resolveAll:ee.resolveAll,tokenize:function(e,t,r){let n=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):r(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}}};function ea(e){return null===e||(0,h.Ee)(e)||(0,h.Ny)(e)?1:(0,h.es)(e)?2:void 0}let eo={name:"attention",resolveAll:function(e,t){let r,n,i,a,o,u,c,d,f=-1;for(;++f<e.length;)if("enter"===e[f][0]&&"attentionSequence"===e[f][1].type&&e[f][1]._close){for(r=f;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCo
31deAt(0)===t.sliceSerialize(e[f][1]).charCodeAt(0)){if((e[r][1]._close||e[f][1]._open)&&(e[f][1].end.offset-e[f][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[f][1].end.offset-e[f][1].start.offset)%3))continue;u=e[r][1].end.offset-e[r][1].start.offset>1&&e[f][1].end.offset-e[f][1].start.offset>1?2:1;let h={...e[r][1].end},p={...e[f][1].start};es(h,-u),es(p,u),a={type:u>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},o={type:u>1?"strongSequence":"emphasisSequence",start:{...e[f][1].start},end:p},i={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[f][1].start}},n={type:u>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[r][1].end={...a.start},e[f][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=l(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=l(c,[["enter",n,t],["enter",a,t],["exit",a,t],["enter",i,t]]),c=l(c,J(t.parser.constructs.insideSpan.null,e.slice(r+1,f),t)),c=l(c,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",n,t]]),e[f][1].end.offset-e[f][1].start.offset?(d=2,c=l(c,[["enter",e[f][1],t],["exit",e[f][1],t]])):d=0,s(e,r-1,f-r+3,c),f=r+c.length-d-2;break}}for(f=-1;++f<e.length;)"attentionSequence"===e[f][1].type&&(e[f][1].type="data");return e},tokenize:function(e,t){let r,n=this.parser.constructs.attentionMarkers.null,i=this.previous,a=ea(i);return function(o){return r=o,e.enter("attentionSequence"),function o(s){if(s===r)return e.consume(s),o;let l=e.exit("attentionSequence"),u=ea(s),c=!u||2===u&&a||n.includes(s),d=!a||2===a&&u||n.includes(i);return l._open=!!(42===r?c:c&&(a||!d)),l._close=!!(42===r?d:d&&(u||!c)),t(s)}(o)}}};function es(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let el={name:"labelStartLink",resolveAll:ee.resolveAll,tokenize:function(e,t,r){let n=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}}},eu={42:k,43:k,45:k,48:k,49:k,50:k,51:k,52:k,53:k,54:k,55:k,56:k,57:k,62:R},ec={91:{name:"definition",tokenize:function(e,t,r){let n,i=this;return function(t){var n;return e.enter("definition"),n=t,N.call(i,e,a,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)};function a(t){return(n=L(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):r(t)}function o(t){return(0,h.Ee)(t)?M(e,s)(t):s(t)}function s(t){return D(e,l,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt($,u,u)(t)}function u(t){return(0,h.On)(t)?p(e,c,"whitespace")(t):c(t)}function c(a){return null===a||(0,h.HP)(a)?(e.exit("definition"),i.parser.defined.push(n),t(a)):r(a)}}}},ed={[-2]:U,[-1]:U,32:U},ef={35:{name:"headingAtx",resolve:function(e,t){let r,n,i=e.length-2,a=3;return"whitespace"===e[3][1].type&&(a+=2),i-2>a&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4),i>a&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},n={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},s(e,a,i-a+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]])),e},tokenize:function(e,t,r){let n=0;return function(i){var a;return e.enter("atxHeading"),a=i,e.enter("atxHeadingSequence"),function i(a){return 35===a&&n++<6?(e.consume(a),i):null===a||(0,h.Ee)(a)?(e.exit("atxHeadingSequence"),function r(n){return 35===n?(e.enter("atxHeadingSequence"),function t(n){return 35===n?(e.consume(n),t):(e.exit("atxHeadingSequence"),r(n))}(n)):null===n||(0,h.HP)(n)?(e.exit("atxHeading"),t(n)):(0,h.On)(n)?p(e,r,"whitespace")(n):(e.enter("atxHeadingText"),function t(n){return null===n||35===n||(0,h.Ee)(n)?(e.exit("atxHeadingText"),r(n)):(e.consume(n),t)}(n))}(a)):r(a)}(a)}}},42:A,45:[B,A],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,r){let n,i,a,o,s,l=this;return function(t){var r;return r=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(r),u};function u(o){return 33===o?(e.consume(o),c):47===o?(e.consume(o),i=!0,p):63===o?(e.consume(o),n=3,l.interrupt?t:D):(0,h.CW)(o)?(e.consume(o),a=String.fromCharCode(o),m):r(o)}function c(i){return 45===i?(e.consume(i),n=2,d):91===i?(e.consume(i),n=
315,o=0,f):(0,h.CW)(i)?(e.consume(i),n=4,l.interrupt?t:D):r(i)}function d(n){return 45===n?(e.consume(n),l.interrupt?t:D):r(n)}function f(n){let i="CDATA[";return n===i.charCodeAt(o++)?(e.consume(n),o===i.length)?l.interrupt?t:O:f:r(n)}function p(t){return(0,h.CW)(t)?(e.consume(t),a=String.fromCharCode(t),m):r(t)}function m(o){if(null===o||47===o||62===o||(0,h.Ee)(o)){let s=47===o,u=a.toLowerCase();return!s&&!i&&H.includes(u)?(n=1,l.interrupt?t(o):O(o)):z.includes(a.toLowerCase())?(n=6,s)?(e.consume(o),g):l.interrupt?t(o):O(o):(n=7,l.interrupt&&!l.parser.lazy[l.now().line]?r(o):i?function t(r){return(0,h.On)(r)?(e.consume(r),t):w(r)}(o):y(o))}return 45===o||(0,h.lV)(o)?(e.consume(o),a+=String.fromCharCode(o),m):r(o)}function g(n){return 62===n?(e.consume(n),l.interrupt?t:O):r(n)}function y(t){return 47===t?(e.consume(t),w):58===t||95===t||(0,h.CW)(t)?(e.consume(t),v):(0,h.On)(t)?(e.consume(t),y):w(t)}function v(t){return 45===t||46===t||58===t||95===t||(0,h.lV)(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),E):(0,h.On)(t)?(e.consume(t),b):y(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),s=t,_):(0,h.On)(t)?(e.consume(t),E):function t(r){return null===r||34===r||39===r||47===r||60===r||61===r||62===r||96===r||(0,h.Ee)(r)?b(r):(e.consume(r),t)}(t)}function _(t){return t===s?(e.consume(t),s=null,S):null===t||(0,h.HP)(t)?r(t):(e.consume(t),_)}function S(e){return 47===e||62===e||(0,h.On)(e)?y(e):r(e)}function w(t){return 62===t?(e.consume(t),T):r(t)}function T(t){return null===t||(0,h.HP)(t)?O(t):(0,h.On)(t)?(e.consume(t),T):r(t)}function O(t){return 45===t&&2===n?(e.consume(t),k):60===t&&1===n?(e.consume(t),I):62===t&&4===n?(e.consume(t),N):63===t&&3===n?(e.consume(t),D):93===t&&5===n?(e.consume(t),R):(0,h.HP)(t)&&(6===n||7===n)?(e.exit("htmlFlowData"),e.check(q,j,x)(t)):null===t||(0,h.HP)(t)?(e.exit("htmlFlowData"),x(t)):(e.consume(t),O)}function x(t){return e.check(G,P,j)(t)}function P(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||(0,h.HP)(t)?x(t):(e.enter("htmlFlowData"),O(t))}function k(t){return 45===t?(e.consume(t),D):O(t)}function I(t){return 47===t?(e.consume(t),a="",C):O(t)}function C(t){if(62===t){let r=a.toLowerCase();return H.includes(r)?(e.consume(t),N):O(t)}return(0,h.CW)(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),C):O(t)}function R(t){return 93===t?(e.consume(t),D):O(t)}function D(t){return 62===t?(e.consume(t),N):45===t&&2===n?(e.consume(t),D):O(t)}function N(t){return null===t||(0,h.HP)(t)?(e.exit("htmlFlowData"),j(t)):(e.consume(t),N)}function j(r){return e.exit("htmlFlow"),t(r)}}},61:B,95:A,96:V,126:V},eh={38:K,92:X},ep={[-5]:Q,[-4]:Q,[-3]:Q,33:ei,38:K,42:eo,60:[{name:"autolink",tokenize:function(e,t,r){let n=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,h.CW)(t)?(e.consume(t),a):64===t?r(t):s(t)}function a(t){return 43===t||45===t||46===t||(0,h.lV)(t)?(n=1,function t(r){return 58===r?(e.consume(r),n=0,o):(43===r||45===r||46===r||(0,h.lV)(r))&&n++<32?(e.consume(r),t):(n=0,s(r))}(t)):s(t)}function o(n){return 62===n?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):null===n||32===n||60===n||(0,h.JQ)(n)?r(n):(e.consume(n),o)}function s(t){return 64===t?(e.consume(t),l):(0,h.cx)(t)?(e.consume(t),s):r(t)}function l(i){return(0,h.lV)(i)?function i(a){return 46===a?(e.consume(a),n=0,l):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(a){if((45===a||(0,h.lV)(a))&&n++<63){let r=45===a?t:i;return e.consume(a),r}return r(a)}(a)}(i):r(i)}}},{name:"htmlText",tokenize:function(e,t,r){let n,i,a,o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),S):63===t?(e.consume(t),E):(0,h.CW)(t)?(e.consume(t),T):r(t)}function l(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,m):(0,h.CW)(t)?(e.consume(t),b):r(t)}function u(t){return 45===t?(e.consume(t),f):r(t)}function c(t){return null===t?r(t):45===t?(e.consume(t),d):(0,h.HP)(t)?(a=c,R(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?C(e):45===e?d(e):c(e)}function m(t){let n="CDATA[";return t===n.charCodeAt(i++)?(e.consume(t),i===n.length?g:m):r(t)}function g(t){return null===t?r(t):93===t?(e.consume(t),y):(0,h.HP)(t)?(a=g,R(t)):(e.consume(t),g)}function y(t){return 93===t?(e.consume(t),v):g(t)}function v(t){return 62===t?C(t):93===t?(e.consume(t),v):g(t)}function b(t){return null===t||62===t?C(t):(0,h.HP)(t)?(a=b,R(t)):(e.consume(t),b)}function E(t){return null===t?r(t):63===t?(e.consume(t),_):(0,h.HP)(t)?(a=E,R(t)):(e.consume(t),E)}function _(e){return 62===e?C(e):E(e)}function S(t){return(0,h.CW)(t)?(e.consume(t),w):r(t)}function w(t){return 45===t||(0,h.lV)(t)?(e.consume(t),w):function t(r){return(0,h.HP)(r)?(a=t,R(r)):(0,h.On)(r)?(e.consume(r),t):C(r)}(t)}function T(t){return 45===t||(0,h.lV)(t)?(e.consume(t),T):47===t||62===t||(0,h.Ee)(t)?O(t):r(t)}function O(t){return 47===t?(e.consume(t),C):58===t||95===t||(0,h.CW)(t)?(e.consume(t),x):(0,h.HP)(t)?(a=O,R(t)):(0,h.On)(t)?(e.consume(t),O):C(t)}function x(t){return 45===t||46===t||58===t||95===t||(0,h.lV)(t)?(e.consume(t),x):function t(r){return 61===r?(e.consume(r),P):(0,h.HP)(r)?(a=t,R(r)):(0,h.On)(r)?(e.consume(r),t):O(r)}(t)}function P(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),n=t,A):(0,h.HP)(t)?(a=P,R(t)):(0,h.On)(t)?(e.consume(t),P):(e.consume(t),k)}function A(t){return t===n?(e.consume(t),n=void 0,I):null===t?r(t):(0,h.HP)(t)?(a=A,R(t)):(e.consume(t),A)}function k(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):47===t||62===t||(0,h.Ee)(t)?O(t):(e.consume(t),k)}function I(e){return 47===e||62===e||(0,h.Ee)(e)?O(e):r(e)}function C(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),D}function D(t){return(0,h.On)(t)?p(e,N,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):N(t)}function N(t){return e.enter("htmlTextData"),a(t)}}}],91:el,92:[{name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.consume(t),n};function n(n){return(0,h.HP)(n)?(e.exit("hardBreakEscape"),t(n)):r(n)}}},X],93:ee,95:eo,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,r,n=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[n][1].type||"space"===e[n][1].type)){for(t=i;++t<n;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[n][1].type="codeTextPadding",i+=2,n-=2;break}}for(t=i-1,n++;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):(t===n||"lineEnding"===e[t][1].type)&&(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},tokenize:function(e,t,r){let n,i,a=0;
31return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(r){return 96===r?(e.consume(r),a++,t):(e.exit("codeTextSequence"),o(r))}(t)};function o(l){return null===l?r(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),o):96===l?(i=e.enter("codeTextSequence"),n=0,function r(o){return 96===o?(e.consume(o),n++,r):n===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(i.type="codeTextData",s(o))}(l)):(0,h.HP)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||(0,h.HP)(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),s)}}}},em={null:[eo,S]},eg={null:[42,95]},ey={null:[]},ev=/[\0\t\n\r]/g;function eb(e,t){let r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(65535&r)==65535||(65535&r)==65534||r>1114111?"�":String.fromCodePoint(r)}let eE=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function e_(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){let e=r.charCodeAt(1),t=120===e||88===e;return eb(r.slice(t?2:1),t?16:10)}return Z(r)||e}var eS=r(30658);let ew={}.hasOwnProperty;function eT(e){return{line:e.line,column:e.column,offset:e.offset}}function eO(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+(0,eS.L)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,eS.L)({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+(0,eS.L)({start:t.start,end:t.end})+") is still open")}function ex(e){let t=this;t.parser=function(r){var o,u;let c,p,y,v;return"object"==typeof(o={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(u=o,o=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:n(b),autolinkProtocol:d,autolinkEmail:d,atxHeading:n(g),blockQuote:n(function(){return{type:"blockquote",children:[]}}),characterEscape:d,characterReference:d,codeFenced:n(m),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:n(m,o),codeText:n(function(){return{type:"inlineCode",value:""}},o),codeTextData:d,data:d,codeFlowValue:d,definition:n(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:n(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:n(y),hardBreakTrailing:n(y),htmlFlow:n(v,o),htmlFlowData:d,htmlText:n(v,o),htmlTextData:d,image:n(function(){return{type:"image",title:null,url:"",alt:null}}),label:o,link:n(b),listItem:n(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:n(E,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:n(E),paragraph:n(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:n(g),strong:n(function(){return{type:"strong",children:[]}}),thematicBreak:n(function(){return{type:"thematicBreak"}})},exit:{atxHeading:l(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:l(),autolinkEmail:function(e){f.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){f.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:l(),characterEscapeValue:f,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t,r=this.sliceSerialize(e),n=this.data.characterReferenceType;n?(t=eb(r,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):t=Z(r);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=eT(e.end)},codeFenced:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:f,codeIndented:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:f,data:f,definition:l(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=L(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:l(),hardBreakEscape:l(h),hardBreakTrailing:l(h),htmlFlow:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:f,htmlText:l(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:f,image:l(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===r.type?r.children=e.children:r.alt=t},labelText:function(e){let t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=t.replace(eE,e_),r.identifier=L(t).toLowerCase()},lineEnding:function(e){let r=this.stack[this.stack.length-1];if(this.data.atHardBreak){r.children[r.children.length-1].position.end=eT(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(r.type)&&(d.call(this,e),f.call(this,e))},link:l(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=L(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:l(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:l(),thematicBreak:l()}};!function e(t,r){let n=-1;for(;++n<r.length;){let i=r[n];Array.isArray(i)?e(t,i):function(e,t){let r;for(r in t)if(ew.call(t,r))switch(r){case"canContainEols":{let n=t[r];n&&e[r].push(...n);break}case"transforms":{let n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{let n=t[r];n&&Object.assign(e[r],n)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let r={};return function(e){let n={type:"root",children:[]},i={stack:[n],tokenStack:[],config:t,enter:s,exit:u,buffer:o,resume:c,data:r},a=[],l=-1;for(;++l<e.length;)("listOrdered"===e[l][1].type||"listUnordered"===e[l][1].type)&&("enter"===e[l][0]?a.push(l):l=function(e,t,r){let n,i,a,o,s=t-1,l=-1,u=!1;for(;++s<=r;){let t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!n||o||l||a||(a=s),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}
31if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let o=s;for(i=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=o}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}a&&(!i||a<i)&&(n._spread=!0),n.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",n,t[2]]),s++,r++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};n=i,e.splice(s,0,["enter",i,t[2]]),s++,r++,a=void 0,o=!0}}}return e[t][1]._spread=u,r}(e,a.pop(),l));for(l=-1;++l<e.length;){let r=t[e[l][0]];ew.call(r,e[l][1].type)&&r[e[l][1].type].call(Object.assign({sliceSerialize:e[l][2].sliceSerialize},i),e[l][1])}if(i.tokenStack.length>0){let e=i.tokenStack[i.tokenStack.length-1];(e[1]||eO).call(i,void 0,e[0])}for(n.position={start:eT(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eT(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},l=-1;++l<t.transforms.length;)n=t.transforms[l](n)||n;return n};function n(e,t){return function(r){s.call(this,e(r),r),t&&t.call(this,r)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(e,t,r){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r||void 0]),e.position={start:eT(t.start),end:void 0}}function l(e){return function(t){e&&e.call(this,t),u.call(this,t)}}function u(e,t){let r=this.stack.pop(),n=this.tokenStack.pop();if(n)n[0].type!==e.type&&(t?t.call(this,e,n[0]):(n[1]||eO).call(this,e,n[0]));else throw Error("Cannot close `"+e.type+"` ("+(0,eS.L)({start:e.start,end:e.end})+"): itâs not open");r.position.end=eT(e.end)}function c(){var e;return e=this.stack.pop(),a(e,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}function d(e){let t=this.stack[this.stack.length-1].children,r=t[t.length-1];r&&"text"===r.type||((r={type:"text",value:""}).position={start:eT(e.start),end:void 0},t.push(r)),this.stack.push(r)}function f(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=eT(e.end)}function h(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function m(){return{type:"code",lang:null,meta:null,value:""}}function g(){return{type:"heading",depth:0,children:[]}}function y(){return{type:"break"}}function v(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function E(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(u)(function(e){for(;!d(e););return e}((function(e){let t={constructs:function(e){let t={},r=-1;for(;++r<e.length;)!function(e,t){let r;for(r in t){let n,i=(f.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];if(a)for(n in a){f.call(i,n)||(i[n]=[]);let e=a[n];!function(e,t){let r=-1,n=[];for(;++r<t.length;)("after"===t[r].add?e:n).push(t[r]);s(e,0,0,n)}(i[n],Array.isArray(e)?e:e?[e]:[])}}}(t,e[r]);return t}([n,...(e||{}).extensions||[]]),content:r(m),defined:[],document:r(g),flow:r(_),lazy:{},string:r(w),text:r(T)};return t;function r(e){return function(r){return function(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},i={},a=[],o=[],u=[],c={attempt:y(function(e,t){v(e,t.from)}),check:y(g),consume:function(e){(0,h.HP)(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,b()):-1!==e&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===o[n._index].length&&(n._bufferIndex=-1,n._index++)),d.previous=e},enter:function(e,t){let r=t||{};return r.type=e,r.start=m(),d.events.push(["enter",r,d]),u.push(r),r},exit:function(e){let t=u.pop();return t.end=m(),d.events.push(["exit",t,d]),t},interrupt:y(g,{interrupt:!0})},d={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,b()}
31,events:[],now:m,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let r,n=-1,i=[];for(;++n<e.length;){let a,o=e[n];if("string"==typeof o)a=o;else switch(o){case -5:a="\r";break;case -4:a="\n";break;case -3:a="\r\n";break;case -2:a=t?" ":" ";break;case -1:if(!t&&r)continue;a=" ";break;default:a=String.fromCharCode(o)}r=-2===o,i.push(a)}return i.join("")}(p(e),t)},sliceStream:p,write:function(e){return(o=l(o,e),function(){let e;for(;n._index<o.length;){let r=o[n._index];if("string"==typeof r)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<r.length;){var t;t=r.charCodeAt(n._bufferIndex),f=f(t)}else f=f(r)}}(),null!==o[o.length-1])?[]:(v(t,0),d.events=J(a,d.events,d),d.events)}},f=t.tokenize.call(d,c);return t.resolveAll&&a.push(t),d;function p(e){return function(e,t){let r,n=t.start._index,i=t.start._bufferIndex,a=t.end._index,o=t.end._bufferIndex;if(n===a)r=[e[n].slice(i,o)];else{if(r=e.slice(n,a),i>-1){let e=r[0];"string"==typeof e?r[0]=e.slice(i):r.shift()}o>0&&r.push(e[a].slice(0,o))}return r}(o,e)}function m(){let{_bufferIndex:e,_index:t,line:r,column:i,offset:a}=n;return{_bufferIndex:e,_index:t,line:r,column:i,offset:a}}function g(e,t){t.restore()}function y(e,t){return function(r,i,a){var o;let s,l,f,h;return Array.isArray(r)?p(r):"tokenize"in r?p([r]):(o=r,function(e){let t=null!==e&&o[e],r=null!==e&&o.null;return p([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(e)});function p(e){return(s=e,l=0,0===e.length)?a:g(e[l])}function g(e){return function(r){let i,a,o,s,l;return(i=m(),a=d.previous,o=d.currentConstruct,s=d.events.length,l=Array.from(u),h={from:s,restore:function(){n=i,d.previous=a,d.currentConstruct=o,d.events.length=s,u=l,b()}},f=e,e.partial||(d.currentConstruct=e),e.name&&d.parser.constructs.disable.null.includes(e.name))?v(r):e.tokenize.call(t?Object.assign(Object.create(d),t):d,c,y,v)(r)}}function y(t){return e(f,h),i}function v(e){return(h.restore(),++l<s.length)?g(s[l]):a}}}function v(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&s(d.events,t,d.events.length-t,e.resolve(d.events.slice(t),d)),e.resolveTo&&(d.events=e.resolveTo(d.events,d))}function b(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}(t,e,r)}}})(u).document().write((p=1,y="",v=!0,function(e,t,r){let n,i,a,o,s,l=[];for(e=y+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),a=0,y="",v&&(65279===e.charCodeAt(0)&&a++,v=void 0);a<e.length;){if(ev.lastIndex=a,o=(n=ev.exec(e))&&void 0!==n.index?n.index:e.length,s=e.charCodeAt(o),!n){y=e.slice(a);break}if(10===s&&a===o&&c)l.push(-3),c=void 0;else switch(c&&(l.push(-5),c=void 0),a<o&&(l.push(e.slice(a,o)),p+=o-a),s){case 0:l.push(65533),p++;break;case 9:for(i=4*Math.ceil(p/4),l.push(-2);p++<i;)l.push(-1);break;case 10:l.push(-4),p=1;break;default:c=!0,p=1}a=o+1}return r&&(c&&l.push(-5),y&&l.push(y),l.push(null)),l})(r,o,!0))))}}},99338: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e,t;return{localeError:(e={string:{unit:"tegn",verb:"\xe5 ha"},file:{unit:"bytes",verb:"\xe5 ha"},array:{unit:"elementer",verb:"\xe5 inneholde"},set:{unit:"elementer",verb:"\xe5 inneholde"}},t={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xe5de",ipv6:"IPv6-omr\xe5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},r=>
31{switch(r.code){case"invalid_type":return`Ugyldig input: forventet ${r.expected}, fikk ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"tall";case"object":if(Array.isArray(e))return"liste";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(r.input)}`;case"invalid_value":if(1===r.values.length)return`Ugyldig verdi: forventet ${o.stringifyPrimitive(r.values[0])}`;return`Ugyldig valg: forventet en av ${o.joinValues(r.values,"|")}`;case"too_big":{let t=r.inclusive?"<=":"<",n=e[r.origin]??null;if(n)return`For stor(t): forventet ${r.origin??"value"} til \xe5 ha ${t}${r.maximum.toString()} ${n.unit??"elementer"}`;return`For stor(t): forventet ${r.origin??"value"} til \xe5 ha ${t}${r.maximum.toString()}`}case"too_small":{let t=r.inclusive?">=":">",n=e[r.origin]??null;if(n)return`For lite(n): forventet ${r.origin} til \xe5 ha ${t}${r.minimum.toString()} ${n.unit}`;return`For lite(n): forventet ${r.origin} til \xe5 ha ${t}${r.minimum.toString()}`}case"invalid_format":if("starts_with"===r.format)return`Ugyldig streng: m\xe5 starte med "${r.prefix}"`;if("ends_with"===r.format)return`Ugyldig streng: m\xe5 ende med "${r.suffix}"`;if("includes"===r.format)return`Ugyldig streng: m\xe5 inneholde "${r.includes}"`;if("regex"===r.format)return`Ugyldig streng: m\xe5 matche m\xf8nsteret ${r.pattern}`;return`Ugyldig ${t[r.format]??r.format}`;case"not_multiple_of":return`Ugyldig tall: m\xe5 v\xe6re et multiplum av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukjente n\xf8kler":"Ukjent n\xf8kkel"}: ${o.joinValues(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xf8kkel i ${r.origin}`;case"invalid_union":default:return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${r.origin}`}})}};let o=a(r(3947))},99818:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MARKS",{enumerable:!0,get:function(){return n}});var r,n=((r={}).BOLD="bold",r.ITALIC="italic",r.UNDERLINE="underline",r.CODE="code",r.SUPERSCRIPT="superscript",r.SUBSCRIPT="subscript",r.STRIKETHROUGH="strikethrough",r)},99944:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(71388),a=o(r(66645));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),n(t,[{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]{5}$/)}},{key:"encode",value:function(){var e=i.EAN5_STRUCTURE[this.data.split("").map(function(e){return+e}).reduce(function(e,t,r){return r%2?e+9*t:e+3*t},0)%10];return{data:"1011"+(0,a.default)(this.data,e,"01"),text:this.text}}}]),t}(o(r(40355)).default)},99955:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mod10=function(e){for(var t=0,r=0;r<e.length;r++){var n=parseInt(e[r]);(r+e.length)%2==0?t+=n:t+=2*n%10+Math.floor(2*n/10)}return(10-t%10)%10},t.mod11=function(e){for(var t=0,r=[2,3,4,5,6,7],n=0;n<e.length;n++){var i=parseInt(e[e.length-1-n]);t+=r[n%r.length]*i}return(11-t%11)%11}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.