diff --git a/dist/assets/index-CnlNLokd.css b/dist/assets/index-CnlNLokd.css new file mode 100644 index 0000000..5d270c0 --- /dev/null +++ b/dist/assets/index-CnlNLokd.css @@ -0,0 +1 @@ +@font-face{font-family:Gilroy-Regular;src:local("Gilroy-Regular"),url(../fonts/Gilroy-Regular.woff2) format("woff2");font-weight:400}@font-face{font-family:Gilroy-Medium;src:local("Gilroy-Medium"),url(../fonts/Gilroy-Medium.woff2) format("woff2");font-weight:500}@font-face{font-family:Gilroy-Semibold;src:local("Gilroy-Semibold"),url(../fonts/Gilroy-Semibold.woff2) format("woff2");font-weight:600}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{box-sizing:border-box}body{font-family:Gilroy-Medium;--tw-bg-opacity: 1;background-color:rgb(249 249 250 / var(--tw-bg-opacity, 1))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-5{bottom:-1.25rem}.-bottom-6{bottom:-1.5rem}.-left-12{left:-3rem}.-right-12{right:-3rem}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.left-0{left:0}.left-1\/2{left:50%}.left-1\/3{left:33.333333%}.left-10{left:2.5rem}.left-2\.5{left:.625rem}.left-\[20\%\]{left:20%}.left-\[50\%\]{left:50%}.right-0{right:0}.right-10{right:2.5rem}.right-4{right:1rem}.right-6{right:1.5rem}.right-\[17\%\]{right:17%}.top-0{top:0}.top-1\/2{top:50%}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-4{top:1rem}.top-6{top:1.5rem}.top-8{top:2rem}.top-\[50\%\]{top:50%}.top-\[55\%\]{top:55%}.-z-10,.-z-\[10\]{z-index:-10}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[3\]{z-index:3}.z-\[5\]{z-index:5}.mx-4{margin-left:1rem;margin-right:1rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-16{margin-top:4rem;margin-bottom:4rem}.my-20{margin-top:5rem;margin-bottom:5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[120px\]{margin-bottom:120px}.mb-\[60px\]{margin-bottom:60px}.ml-3{margin-left:.75rem}.mr-10{margin-right:2.5rem}.mr-6{margin-right:1.5rem}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-20{width:5rem;height:5rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-\[88px\]{width:88px;height:88px}.size-full{width:100%;height:100%}.h-0\.5{height:.125rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-20{height:5rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[116px\]{height:116px}.h-\[124px\]{height:124px}.h-\[128px\]{height:128px}.h-\[155px\]{height:155px}.h-\[160px\]{height:160px}.h-\[220px\]{height:220px}.h-\[296px\]{height:296px}.h-\[300px\]{height:300px}.h-\[350px\]{height:350px}.h-\[3px\]{height:3px}.h-\[400px\]{height:400px}.h-\[52px\]{height:52px}.h-\[80vh\]{height:80vh}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-\[128px\]{min-height:128px}.min-h-\[60px\]{min-height:60px}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-1\/2{width:50%}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-9{width:2.25rem}.w-\[160px\]{width:160px}.w-\[18px\]{width:18px}.w-\[20\%\]{width:20%}.w-\[288px\]{width:288px}.w-\[300px\]{width:300px}.w-\[70\%\]{width:70%}.w-\[75\%\]{width:75%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-\[1240px\]{max-width:1240px}.max-w-\[360px\]{max-width:360px}.max-w-\[392px\]{max-width:392px}.max-w-\[444px\]{max-width:444px}.max-w-\[808px\]{max-width:808px}.max-w-\[828px\]{max-width:828px}.max-w-\[888px\]{max-width:888px}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-\[0_0_100\%\]{flex:0 0 100%}.flex-\[0_0_16px\]{flex:0 0 16px}.flex-\[0_0_19\.80\%\]{flex:0 0 19.8%}.flex-\[0_0_288px\]{flex:0 0 288px}.flex-\[0_0_300px\]{flex:0 0 300px}.flex-\[0_0_34\.65\%\]{flex:0 0 34.65%}.flex-\[0_0_45\.54\%\]{flex:0 0 45.54%}.flex-\[0_0_50\%\]{flex:0 0 50%}.flex-\[0_0_70\%\]{flex:0 0 70%}.flex-\[0_0_80\%\]{flex:0 0 80%}.flex-\[0_0_88px\]{flex:0 0 88px}.flex-\[0_0_90px\]{flex:0 0 90px}.flex-auto{flex:1 1 auto}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.\!cursor-pointer{cursor:pointer!important}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-20{gap:5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\[2px\]{border-radius:2px}.rounded-\[8px\]{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-b-\[2px\]{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.rounded-t-\[2px\]{border-top-left-radius:2px;border-top-right-radius:2px}.rounded-t-\[4px\]{border-top-left-radius:4px;border-top-right-radius:4px}.border{border-width:1px}.border-\[2px\]{border-width:2px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-\[\#BA1A1A\]{--tw-border-opacity: 1;border-color:rgb(186 26 26 / var(--tw-border-opacity, 1))}.border-on_surface{--tw-border-opacity: 1;border-color:rgb(44 40 40 / var(--tw-border-opacity, 1))}.border-outline{--tw-border-opacity: 1;border-color:rgb(161 167 178 / var(--tw-border-opacity, 1))}.border-outline_v{--tw-border-opacity: 1;border-color:rgb(208 211 216 / var(--tw-border-opacity, 1))}.border-primary{--tw-border-opacity: 1;border-color:rgb(153 16 29 / var(--tw-border-opacity, 1))}.border-primary_outline_reverse{--tw-border-opacity: 1;border-color:rgb(238 101 114 / var(--tw-border-opacity, 1))}.border-slate-500\/20{border-color:#64748b33}.border-white\/50{border-color:#ffffff80}.\!bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))!important}.bg-\[\#2C57A752\]\/\[32\%\]{background-color:#2c57a752}.bg-\[\#D0D3D8\]{--tw-bg-opacity: 1;background-color:rgb(208 211 216 / var(--tw-bg-opacity, 1))}.bg-\[\#E0E6EB\]{--tw-bg-opacity: 1;background-color:rgb(224 230 235 / var(--tw-bg-opacity, 1))}.bg-\[\#FDEDEE\]{--tw-bg-opacity: 1;background-color:rgb(253 237 238 / var(--tw-bg-opacity, 1))}.bg-background{--tw-bg-opacity: 1;background-color:rgb(249 249 250 / var(--tw-bg-opacity, 1))}.bg-black\/80{background-color:#000c}.bg-black\/90{background-color:#000000e6}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(153 16 29 / var(--tw-bg-opacity, 1))}.bg-reverse_primary{--tw-bg-opacity: 1;background-color:rgb(246 178 184 / var(--tw-bg-opacity, 1))}.bg-secondary_container{--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1))}.bg-surface_container{--tw-bg-opacity: 1;background-color:rgb(238 237 244 / var(--tw-bg-opacity, 1))}.bg-surface_high{--tw-bg-opacity: 1;background-color:rgb(232 231 239 / var(--tw-bg-opacity, 1))}.bg-teritary{--tw-bg-opacity: 1;background-color:rgb(241 112 13 / var(--tw-bg-opacity, 1))}.bg-teritary_08{--tw-bg-opacity: 1;background-color:rgb(212 132 0 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-opacity-0{--tw-bg-opacity: 0}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-primary{--tw-gradient-from: #99101D var(--tw-gradient-from-position);--tw-gradient-to: rgb(153 16 29 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-25\%{--tw-gradient-from-position: 25%}.to-primary\/20{--tw-gradient-to: rgb(153 16 29 / .2) var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-20{padding-bottom:5rem}.pb-40{padding-bottom:10rem}.pb-\[120px\]{padding-bottom:120px}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pt-10{padding-top:2.5rem}.pt-16{padding-top:4rem}.pt-20{padding-top:5rem}.pt-6{padding-top:1.5rem}.\!text-left{text-align:left!important}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-\[32px\]{font-size:32px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.not-italic{font-style:normal}.leading-10{line-height:2.5rem}.leading-\[130\%\]{line-height:130%}.leading-\[140\%\]{line-height:140%}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.\!text-on_primary{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity, 1))!important}.\!text-on_surface{--tw-text-opacity: 1 !important;color:rgb(44 40 40 / var(--tw-text-opacity, 1))!important}.text-\[\#171717\]{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}.text-\[\#454545\]{--tw-text-opacity: 1;color:rgb(69 69 69 / var(--tw-text-opacity, 1))}.text-\[\#BA1A1A\]{--tw-text-opacity: 1;color:rgb(186 26 26 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-on_primary{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-on_secondary_container{--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1))}.text-on_surface{--tw-text-opacity: 1;color:rgb(44 40 40 / var(--tw-text-opacity, 1))}.text-on_surface_v{--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1))}.text-on_teritary{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-primary{--tw-text-opacity: 1;color:rgb(153 16 29 / var(--tw-text-opacity, 1))}.text-primary_03{--tw-text-opacity: 1;color:rgb(246 178 184 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-teritary_04{--tw-text-opacity: 1;color:rgb(255 206 127 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-70{opacity:.7}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: #F9F9FA}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.normal{font-family:Gilroy-Regular;font-weight:400}.semibold{font-family:Gilroy-Semibold;font-weight:600}.h1{font-size:28px;font-weight:500;line-height:130%}.h2{font-size:1.5rem;line-height:2rem;--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.h2{font-size:28px}}.p{font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.p{font-size:1.125rem;line-height:1.75rem}}.text-18{font-size:1.125rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1));font-family:Gilroy-Regular;font-weight:400}.dot{height:.25rem;width:1.25rem;cursor:pointer;border-radius:2px;--tw-bg-opacity: 1;background-color:rgb(111 100 102 / var(--tw-bg-opacity, 1))}.dot-active{height:.25rem;width:1.25rem;border-radius:2px;--tw-bg-opacity: 1;background-color:rgb(44 40 40 / var(--tw-bg-opacity, 1))}.nav-btn{display:flex;width:3rem;height:3rem;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity, 1))}.news-inner img{height:300px;-o-object-fit:cover;object-fit:cover}@media (min-width: 768px){.news-inner img{height:500px}}.news-inner a{--tw-text-opacity: 1;color:rgb(153 16 29 / var(--tw-text-opacity, 1));text-decoration-line:underline}.page-padding{padding-top:2.5rem;padding-bottom:5rem}@media (min-width: 768px){.page-padding{padding-top:5rem;padding-bottom:120px}}.progress-circle{z-index:10;width:3.5rem;height:3.5rem;border-radius:9999px;font-size:1.5rem;line-height:2rem;--tw-text-opacity: 1;color:rgb(95 102 116 / var(--tw-text-opacity, 1))}.input{display:flex;height:3.5rem;border-radius:2px;border-width:1px;background-color:transparent;padding:1rem;font-size:1rem;line-height:1.5rem;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(161 167 178 / var(--tw-ring-opacity, 1));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;font-family:Gilroy-Regular;font-weight:400}.input::file-selector-button{width:-moz-fit-content;width:fit-content;border-width:0px;--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1));font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}.input:hover{--tw-ring-opacity: 1;--tw-ring-color: rgb(44 40 40 / var(--tw-ring-opacity, 1))}.input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(153 16 29 / var(--tw-ring-opacity, 1))}.input:focus-visible{outline:2px solid transparent;outline-offset:2px}.input:disabled{cursor:not-allowed;opacity:.5}.file\:w-fit::file-selector-button{width:-moz-fit-content;width:fit-content}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-secondary_container::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1))}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-on_secondary_container::file-selector-button{--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1))}.file\:outline-none::file-selector-button{outline:2px solid transparent;outline-offset:2px}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:-left-3:before{content:var(--tw-content);left:-.75rem}.before\:-top-3:before{content:var(--tw-content);top:-.75rem}.before\:size-10:before{content:var(--tw-content);width:2.5rem;height:2.5rem}.before\:scale-0:before{content:var(--tw-content);--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.before\:rounded-full:before{content:var(--tw-content);border-radius:9999px}.before\:bg-on_surface\/\[8\%\]:before{content:var(--tw-content);background-color:#2c282814}.before\:transition-all:before{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:bottom-0:after{content:var(--tw-content);bottom:0}.after\:left-0:after{content:var(--tw-content);left:0}.after\:size-\[9px\]:after{content:var(--tw-content);width:9px;height:9px}.after\:h-0\.5:after{content:var(--tw-content);height:.125rem}.after\:w-full:after{content:var(--tw-content);width:100%}.after\:rounded:after{content:var(--tw-content);border-radius:.25rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:bg-primary:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(153 16 29 / var(--tw-bg-opacity, 1))}.after\:bg-opacity-0:after{content:var(--tw-content);--tw-bg-opacity: 0}.after\:opacity-0:after{content:var(--tw-content);opacity:0}.after\:opacity-100:after{content:var(--tw-content);opacity:1}.after\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-on_surface:hover{--tw-border-opacity: 1;border-color:rgb(44 40 40 / var(--tw-border-opacity, 1))}.hover\:border-white:hover{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.hover\:bg-primary\/90:hover{background-color:#99101de6}.hover\:bg-reverse_primary\/90:hover{background-color:#f6b2b8e6}.hover\:bg-secondary_container\/80:hover{background-color:#ddcbcdcc}.hover\:bg-slate-300\/50:hover{background-color:#cbd5e180}.hover\:bg-teritary\/90:hover{background-color:#f1700de6}.hover\:bg-teritary_surface_container:hover{--tw-bg-opacity: 1;background-color:rgb(255 243 224 / var(--tw-bg-opacity, 1))}.hover\:bg-white\/90:hover{background-color:#ffffffe6}.hover\:opacity-100:hover{opacity:1}.hover\:before\:scale-100:hover:before{content:var(--tw-content);--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.focus\:border-\[3px\]:focus{border-width:3px}.focus\:border-primary:focus{--tw-border-opacity: 1;border-color:rgb(153 16 29 / var(--tw-border-opacity, 1))}.focus\:border-white:focus{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[state\=open\]\:bg-secondary[data-state=open]{--tw-bg-opacity: 1;background-color:rgb(73 95 137 / var(--tw-bg-opacity, 1))}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}@media (min-width: 640px){.sm\:flex{display:flex}.sm\:size-\[128px\]{width:128px;height:128px}.sm\:h-\[350px\]{height:350px}.sm\:max-w-sm{max-width:24rem}.sm\:flex-\[0_0_128px\]{flex:0 0 128px}.sm\:flex-\[0_0_600px\]{flex:0 0 600px}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:p-0{padding:0}.sm\:text-left{text-align:left}}@media (min-width: 768px){.md\:left-1\/2{left:50%}.md\:mx-auto{margin-left:auto;margin-right:auto}.md\:my-20{margin-top:5rem;margin-bottom:5rem}.md\:mb-20{margin-bottom:5rem}.md\:mb-8{margin-bottom:2rem}.md\:mb-\[120px\]{margin-bottom:120px}.md\:ml-1{margin-left:.25rem}.md\:mt-20{margin-top:5rem}.md\:mt-6{margin-top:1.5rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:size-20{width:5rem;height:5rem}.md\:size-\[84px\]{width:84px;height:84px}.md\:size-auto{width:auto;height:auto}.md\:h-\[216px\]{height:216px}.md\:h-\[224px\]{height:224px}.md\:h-\[38px\]{height:38px}.md\:h-\[400px\]{height:400px}.md\:h-\[480px\]{height:480px}.md\:h-\[500px\]{height:500px}.md\:w-1{width:.25rem}.md\:w-fit{width:-moz-fit-content;width:fit-content}.md\:w-full{width:100%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-end{align-items:flex-end}.md\:justify-between{justify-content:space-between}.md\:gap-10{gap:2.5rem}.md\:gap-6{gap:1.5rem}.md\:p-10{padding:2.5rem}.md\:p-6{padding:1.5rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:py-20{padding-top:5rem;padding-bottom:5rem}.md\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.md\:pb-\[120px\]{padding-bottom:120px}.md\:pt-10{padding-top:2.5rem}.md\:pt-20{padding-top:5rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-\[32px\]{font-size:32px}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:mb-8{margin-bottom:2rem}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:h-\[600px\]{height:600px}.lg\:h-\[700px\]{height:700px}.lg\:h-\[88px\]{height:88px}.lg\:max-h-\[600px\]{max-height:600px}.lg\:min-h-\[320px\]{min-height:320px}.lg\:w-1\/2{width:50%}.lg\:w-\[220px\]{width:220px}.lg\:w-\[320px\]{width:320px}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:items-center{align-items:center}.lg\:gap-12{gap:3rem}.lg\:gap-6{gap:1.5rem}.lg\:gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.lg\:gap-y-4{row-gap:1rem}.lg\:px-28{padding-left:7rem;padding-right:7rem}.lg\:px-\[20\%\]{padding-left:20%;padding-right:20%}}@media (min-width: 1280px){.xl\:mb-8{margin-bottom:2rem}.xl\:mr-20{margin-right:5rem}.xl\:hidden{display:none}.xl\:w-\[288px\]{width:288px}.xl\:w-\[392px\]{width:392px}}@media (min-width: 1536px){.\32xl\:w-\[40\%\]{width:40%}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0} diff --git a/dist/assets/index-CfpP4lQZ.js b/dist/assets/index-CzJcZIN1.js similarity index 63% rename from dist/assets/index-CfpP4lQZ.js rename to dist/assets/index-CzJcZIN1.js index 84ee735..039361d 100644 --- a/dist/assets/index-CfpP4lQZ.js +++ b/dist/assets/index-CzJcZIN1.js @@ -1 +1 @@ -import{u as T,i as Tt,j as r,H as Ft,F as It,a as $e,g as $t,c as ee,A as At,L as fe,C as ie,b as Dt,d as Vt,e as Bt,f as Mt,h as Kt,k as Gt,z as b,l as Ce,m as ue,S as Je,n as ut,o as Ut,P as he,p as Q,q as Ht,r as zt,s as qt,t as Ae,v as me,w as j,x as je,y as D,B as V,D as Z,E as B,G as S,I as W,J as De,K as Re,M as _e,N as Pe,O as re,Q as Ve,R as Jt,T as ge,U as Qt,V as Wt,W as Yt,X as Xt,Y as Zt,Z as es,_ as ts,$ as Be,a0 as ss,a1 as ns,a2 as as,a3 as rs,a4 as is,a5 as dt,a6 as os,a7 as ls,a8 as cs,a9 as Qe,aa as us,ab as ds,ac as ps}from"./ui-library-DUfk0SEZ.js";import{f as fs,a as y,O as hs,L as ms,e as se,u as gs,g as xs,h as bs}from"./react-vendor-Y0eyvj1J.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))s(n);new MutationObserver(n=>{for(const a of n)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function t(n){const a={};return n.integrity&&(a.integrity=n.integrity),n.referrerPolicy&&(a.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?a.credentials="include":n.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(n){if(n.ep)return;n.ep=!0;const a=t(n);fetch(n.href,a)}})();var ye={},We;function ys(){if(We)return ye;We=1;var i=fs();return ye.createRoot=i.createRoot,ye.hydrateRoot=i.hydrateRoot,ye}var vs=ys();const v=i=>typeof i=="string",le=()=>{let i,e;const t=new Promise((s,n)=>{i=s,e=n});return t.resolve=i,t.reject=e,t},Ye=i=>i==null?"":""+i,js=(i,e,t)=>{i.forEach(s=>{e[s]&&(t[s]=e[s])})},Ss=/###/g,Xe=i=>i&&i.indexOf("###")>-1?i.replace(Ss,"."):i,Ze=i=>!i||v(i),ce=(i,e,t)=>{const s=v(e)?e.split("."):e;let n=0;for(;n{const{obj:s,k:n}=ce(i,e,Object);if(s!==void 0||e.length===1){s[n]=t;return}let a=e[e.length-1],o=e.slice(0,e.length-1),l=ce(i,o,Object);for(;l.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),l=ce(i,o,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${a}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${a}`]=t},ws=(i,e,t,s)=>{const{obj:n,k:a}=ce(i,e,Object);n[a]=n[a]||[],n[a].push(t)},Se=(i,e)=>{const{obj:t,k:s}=ce(i,e);if(t&&Object.prototype.hasOwnProperty.call(t,s))return t[s]},Ns=(i,e,t)=>{const s=Se(i,t);return s!==void 0?s:Se(e,t)},pt=(i,e,t)=>{for(const s in e)s!=="__proto__"&&s!=="constructor"&&(s in i?v(i[s])||i[s]instanceof String||v(e[s])||e[s]instanceof String?t&&(i[s]=e[s]):pt(i[s],e[s],t):i[s]=e[s]);return i},ne=i=>i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var ks={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Cs=i=>v(i)?i.replace(/[&<>"'\/]/g,e=>ks[e]):i;class Rs{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(t!==void 0)return t;const s=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,s),this.regExpQueue.push(e),s}}const _s=[" ",",","?","!",";"],Ps=new Rs(20),Os=(i,e,t)=>{e=e||"",t=t||"";const s=_s.filter(o=>e.indexOf(o)<0&&t.indexOf(o)<0);if(s.length===0)return!0;const n=Ps.getRegExp(`(${s.map(o=>o==="?"?"\\?":o).join("|")})`);let a=!n.test(i);if(!a){const o=i.indexOf(t);o>0&&!n.test(i.substring(0,o))&&(a=!0)}return a},Fe=function(i,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!i)return;if(i[e])return Object.prototype.hasOwnProperty.call(i,e)?i[e]:void 0;const s=e.split(t);let n=i;for(let a=0;a-1&&ci==null?void 0:i.replace("_","-"),Ls={type:"logger",log(i){this.output("log",i)},warn(i){this.output("warn",i)},error(i){this.output("error",i)},output(i,e){var t,s;(s=(t=console==null?void 0:console[i])==null?void 0:t.apply)==null||s.call(t,console,e)}};class Ne{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Ls,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),s=0;s{this.observers[s]||(this.observers[s]=new Map);const n=this.observers[s].get(t)||0;this.observers[s].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n{let[l,c]=o;for(let u=0;u{let[l,c]=o;for(let u=0;u1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,s){var u,p;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,o=n.ignoreJSONStructure!==void 0?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;e.indexOf(".")>-1?l=e.split("."):(l=[e,t],s&&(Array.isArray(s)?l.push(...s):v(s)&&a?l.push(...s.split(a)):l.push(s)));const c=Se(this.data,l);return!c&&!t&&!s&&e.indexOf(".")>-1&&(e=l[0],t=l[1],s=l.slice(2).join(".")),c||!o||!v(s)?c:Fe((p=(u=this.data)==null?void 0:u[e])==null?void 0:p[t],s,a)}addResource(e,t,s,n){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let l=[e,t];s&&(l=l.concat(o?s.split(o):s)),e.indexOf(".")>-1&&(l=e.split("."),n=t,t=l[1]),this.addNamespaces(t),et(this.data,l,n),a.silent||this.emit("added",e,t,s,n)}addResources(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in s)(v(s[a])||Array.isArray(s[a]))&&this.addResource(e,t,a,s[a],{silent:!0});n.silent||this.emit("added",e,t,s)}addResourceBundle(e,t,s,n,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[e,t];e.indexOf(".")>-1&&(l=e.split("."),n=s,s=t,t=l[1]),this.addNamespaces(t);let c=Se(this.data,l)||{};o.skipCopy||(s=JSON.parse(JSON.stringify(s))),n?pt(c,s,a):c={...c,...s},et(this.data,l,c),o.silent||this.emit("added",e,t,s)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(n=>t[n]&&Object.keys(t[n]).length>0)}toJSON(){return this.data}}var ft={processors:{},addPostProcessor(i){this.processors[i.name]=i},handle(i,e,t,s,n){return i.forEach(a=>{var o;e=((o=this.processors[a])==null?void 0:o.process(e,t,s,n))??e}),e}};const st={},nt=i=>!v(i)&&typeof i!="boolean"&&typeof i!="number";class ke extends Oe{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),js(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=U.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const s=this.resolve(e,t);return(s==null?void 0:s.res)!==void 0}extractFromKey(e,t){let s=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");const n=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let a=t.ns||this.options.defaultNS||[];const o=s&&e.indexOf(s)>-1,l=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Os(e,s,n);if(o&&!l){const c=e.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:e,namespaces:v(a)?[a]:a};const u=e.split(s);(s!==n||s===n&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),e=u.join(n)}return{key:e,namespaces:v(a)?[a]:a}}translate(e,t,s){if(typeof t!="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),typeof t=="object"&&(t={...t}),t||(t={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const n=t.returnDetails!==void 0?t.returnDetails:this.options.returnDetails,a=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(e[e.length-1],t),c=l[l.length-1],u=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((u==null?void 0:u.toLowerCase())==="cimode"){if(p){const L=t.nsSeparator||this.options.nsSeparator;return n?{res:`${c}${L}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:`${c}${L}${o}`}return n?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:o}const h=this.resolve(e,t);let d=h==null?void 0:h.res;const m=(h==null?void 0:h.usedKey)||o,f=(h==null?void 0:h.exactUsedKey)||o,g=["[object Number]","[object Function]","[object RegExp]"],x=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject,N=t.count!==void 0&&!v(t.count),P=ke.hasDefaultValue(t),k=N?this.pluralResolver.getSuffix(u,t.count,t):"",O=t.ordinal&&N?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",F=N&&!t.ordinal&&t.count===0,_=F&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${k}`]||t[`defaultValue${O}`]||t.defaultValue;let C=d;w&&!d&&P&&(C=_);const Y=nt(C),z=Object.prototype.toString.apply(C);if(w&&C&&Y&&g.indexOf(z)<0&&!(v(x)&&Array.isArray(C))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const L=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,C,{...t,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return n?(h.res=L,h.usedParams=this.getUsedParamsDetails(t),h):L}if(a){const L=Array.isArray(C),I=L?[]:{},xe=L?f:m;for(const M in C)if(Object.prototype.hasOwnProperty.call(C,M)){const K=`${xe}${a}${M}`;P&&!d?I[M]=this.translate(K,{...t,defaultValue:nt(_)?_[M]:void 0,joinArrays:!1,ns:l}):I[M]=this.translate(K,{...t,joinArrays:!1,ns:l}),I[M]===K&&(I[M]=C[M])}d=I}}else if(w&&v(x)&&Array.isArray(d))d=d.join(x),d&&(d=this.extendTranslation(d,e,t,s));else{let L=!1,I=!1;!this.isValidLookup(d)&&P&&(L=!0,d=_),this.isValidLookup(d)||(I=!0,d=o);const M=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&I?void 0:d,K=P&&_!==d&&this.options.updateMissing;if(I||L||K){if(this.logger.log(K?"updateKey":"missingKey",u,c,o,K?_:d),a){const A=this.resolve(o,{...t,keySeparator:!1});A&&A.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let $=[];const be=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&be&&be[0])for(let A=0;A{var qe;const ze=P&&oe!==d?oe:M;this.options.missingKeyHandler?this.options.missingKeyHandler(A,c,te,ze,K,t):(qe=this.backendConnector)!=null&&qe.saveMissing&&this.backendConnector.saveMissing(A,c,te,ze,K,t),this.emit("missingKey",A,c,te,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&N?$.forEach(A=>{const te=this.pluralResolver.getSuffixes(A,t);F&&t[`defaultValue${this.options.pluralSeparator}zero`]&&te.indexOf(`${this.options.pluralSeparator}zero`)<0&&te.push(`${this.options.pluralSeparator}zero`),te.forEach(oe=>{He([A],o+oe,t[`defaultValue${oe}`]||_)})}):He($,o,_))}d=this.extendTranslation(d,e,t,h,s),I&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${c}:${o}`),(I||L)&&this.options.parseMissingKeyHandler&&(d=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,L?d:void 0))}return n?(h.res=d,h.usedParams=this.getUsedParamsDetails(t),h):d}extendTranslation(e,t,s,n,a){var u,p;var o=this;if((u=this.i18nFormat)!=null&&u.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const h=v(e)&&(((p=s==null?void 0:s.interpolation)==null?void 0:p.skipOnVariables)!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(h){const f=e.match(this.interpolator.nestingRegexp);d=f&&f.length}let m=s.replace&&!v(s.replace)?s.replace:s;if(this.options.interpolation.defaultVariables&&(m={...this.options.interpolation.defaultVariables,...m}),e=this.interpolator.interpolate(e,m,s.lng||this.language||n.usedLng,s),h){const f=e.match(this.interpolator.nestingRegexp),g=f&&f.length;d1&&arguments[1]!==void 0?arguments[1]:{},s,n,a,o,l;return v(e)&&(e=[e]),e.forEach(c=>{if(this.isValidLookup(s))return;const u=this.extractFromKey(c,t),p=u.key;n=p;let h=u.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const d=t.count!==void 0&&!v(t.count),m=d&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(v(t.context)||typeof t.context=="number")&&t.context!=="",g=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);h.forEach(x=>{var w,N;this.isValidLookup(s)||(l=x,!st[`${g[0]}-${x}`]&&((w=this.utils)!=null&&w.hasLoadedNamespace)&&!((N=this.utils)!=null&&N.hasLoadedNamespace(l))&&(st[`${g[0]}-${x}`]=!0,this.logger.warn(`key "${n}" for languages "${g.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach(P=>{var F;if(this.isValidLookup(s))return;o=P;const k=[p];if((F=this.i18nFormat)!=null&&F.addLookupKeys)this.i18nFormat.addLookupKeys(k,p,P,x,t);else{let _;d&&(_=this.pluralResolver.getSuffix(P,t.count,t));const C=`${this.options.pluralSeparator}zero`,Y=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(k.push(p+_),t.ordinal&&_.indexOf(Y)===0&&k.push(p+_.replace(Y,this.options.pluralSeparator)),m&&k.push(p+C)),f){const z=`${p}${this.options.contextSeparator}${t.context}`;k.push(z),d&&(k.push(z+_),t.ordinal&&_.indexOf(Y)===0&&k.push(z+_.replace(Y,this.options.pluralSeparator)),m&&k.push(z+C))}}let O;for(;O=k.pop();)this.isValidLookup(s)||(a=O,s=this.getResource(P,x,O,t))}))})}),{res:s,usedKey:n,exactUsedKey:a,usedLng:o,usedNS:l}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,s){var a;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(a=this.i18nFormat)!=null&&a.getResource?this.i18nFormat.getResource(e,t,s,n):this.resourceStore.getResource(e,t,s,n)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],s=e.replace&&!v(e.replace);let n=s?e.replace:e;if(s&&typeof e.count<"u"&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!s){n={...n};for(const a of t)delete n[a]}return n}static hasDefaultValue(e){const t="defaultValue";for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&t===s.substring(0,t.length)&&e[s]!==void 0)return!0;return!1}}class at{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=U.create("languageUtils")}getScriptPartFromCode(e){if(e=we(e),!e||e.indexOf("-")<0)return null;const t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=we(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(v(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(s=>{if(t)return;const n=this.formatLanguageCode(s);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(s=>{if(t)return;const n=this.getLanguagePartFromCode(s);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(a=>{if(a===n)return a;if(!(a.indexOf("-")<0&&n.indexOf("-")<0)&&(a.indexOf("-")>0&&n.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===n||a.indexOf(n)===0&&n.length>1))return a})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),v(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let s=e[t];return s||(s=e[this.getScriptPartFromCode(t)]),s||(s=e[this.formatLanguageCode(t)]),s||(s=e[this.getLanguagePartFromCode(t)]),s||(s=e.default),s||[]}toResolveHierarchy(e,t){const s=this.getFallbackCodes(t||this.options.fallbackLng||[],e),n=[],a=o=>{o&&(this.isSupportedCode(o)?n.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return v(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(e))):v(e)&&a(this.formatLanguageCode(e)),s.forEach(o=>{n.indexOf(o)<0&&a(this.formatLanguageCode(o))}),n}}const rt={zero:0,one:1,two:2,few:3,many:4,other:5},it={select:i=>i===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Es{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=U.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=we(e==="dev"?"en":e),n=t.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:s,type:n});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];let o;try{o=new Intl.PluralRules(s,{type:n})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),it;if(!e.match(/-|_/))return it;const c=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(c,t)}return this.pluralRulesCache[a]=o,o}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=this.getRule(e,t);return s||(s=this.getRule("dev",t)),(s==null?void 0:s.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,s).map(n=>`${t}${n}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=this.getRule(e,t);return s||(s=this.getRule("dev",t)),s?s.resolvedOptions().pluralCategories.sort((n,a)=>rt[n]-rt[a]).map(n=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${n}`):[]}getSuffix(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=this.getRule(e,s);return n?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,s))}}const ot=function(i,e,t){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=Ns(i,e,t);return!a&&n&&v(t)&&(a=Fe(i,t,s),a===void 0&&(a=Fe(e,t,s))),a},Ee=i=>i.replace(/\$/g,"$$$$");class Ts{constructor(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=U.create("interpolator"),this.options=e,this.format=((t=e==null?void 0:e.interpolation)==null?void 0:t.format)||(s=>s),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:s,useRawValueToEscape:n,prefix:a,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:u,unescapeSuffix:p,unescapePrefix:h,nestingPrefix:d,nestingPrefixEscaped:m,nestingSuffix:f,nestingSuffixEscaped:g,nestingOptionsSeparator:x,maxReplaces:w,alwaysFormat:N}=e.interpolation;this.escape=t!==void 0?t:Cs,this.escapeValue=s!==void 0?s:!0,this.useRawValueToEscape=n!==void 0?n:!1,this.prefix=a?ne(a):o||"{{",this.suffix=l?ne(l):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=p?"":h||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=d?ne(d):m||ne("$t("),this.nestingSuffix=f?ne(f):g||ne(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=w||1e3,this.alwaysFormat=N!==void 0?N:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,s)=>(t==null?void 0:t.source)===s?(t.lastIndex=0,t):new RegExp(s,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,s,n){var m;let a,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=f=>{if(f.indexOf(this.formatSeparator)<0){const N=ot(t,c,f,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(N,void 0,s,{...n,...t,interpolationkey:f}):N}const g=f.split(this.formatSeparator),x=g.shift().trim(),w=g.join(this.formatSeparator).trim();return this.format(ot(t,c,x,this.options.keySeparator,this.options.ignoreJSONStructure),w,s,{...n,...t,interpolationkey:x})};this.resetRegExp();const p=(n==null?void 0:n.missingInterpolationHandler)||this.options.missingInterpolationHandler,h=((m=n==null?void 0:n.interpolation)==null?void 0:m.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:f=>Ee(f)},{regex:this.regexp,safeValue:f=>this.escapeValue?Ee(this.escape(f)):Ee(f)}].forEach(f=>{for(l=0;a=f.regex.exec(e);){const g=a[1].trim();if(o=u(g),o===void 0)if(typeof p=="function"){const w=p(e,a,n);o=v(w)?w:""}else if(n&&Object.prototype.hasOwnProperty.call(n,g))o="";else if(h){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),o="";else!v(o)&&!this.useRawValueToEscape&&(o=Ye(o));const x=f.safeValue(o);if(e=e.replace(a[0],x),h?(f.regex.lastIndex+=o.length,f.regex.lastIndex-=a[0].length):f.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),e}nest(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,a,o;const l=(c,u)=>{const p=this.nestingOptionsSeparator;if(c.indexOf(p)<0)return c;const h=c.split(new RegExp(`${p}[ ]*{`));let d=`{${h[1]}`;c=h[0],d=this.interpolate(d,o);const m=d.match(/'/g),f=d.match(/"/g);(((m==null?void 0:m.length)??0)%2===0&&!f||f.length%2!==0)&&(d=d.replace(/'/g,'"'));try{o=JSON.parse(d),u&&(o={...u,...o})}catch(g){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,g),`${c}${p}${d}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c};for(;n=this.nestingRegexp.exec(e);){let c=[];o={...s},o=o.replace&&!v(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(n[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(n[1])){const p=n[1].split(this.formatSeparator).map(h=>h.trim());n[1]=p.shift(),c=p,u=!0}if(a=t(l.call(this,n[1].trim(),o),o),a&&n[0]===e&&!v(a))return a;v(a)||(a=Ye(a)),a||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),a=""),u&&(a=c.reduce((p,h)=>this.format(p,h,s.lng,{...s,interpolationkey:n[1].trim()}),a.trim())),e=e.replace(n[0],a),this.regexp.lastIndex=0}return e}}const Fs=i=>{let e=i.toLowerCase().trim();const t={};if(i.indexOf("(")>-1){const s=i.split("(");e=s[0].toLowerCase().trim();const n=s[1].substring(0,s[1].length-1);e==="currency"&&n.indexOf(":")<0?t.currency||(t.currency=n.trim()):e==="relativetime"&&n.indexOf(":")<0?t.range||(t.range=n.trim()):n.split(";").forEach(o=>{if(o){const[l,...c]=o.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,""),p=l.trim();t[p]||(t[p]=u),u==="false"&&(t[p]=!1),u==="true"&&(t[p]=!0),isNaN(u)||(t[p]=parseInt(u,10))}})}return{formatName:e,formatOptions:t}},ae=i=>{const e={};return(t,s,n)=>{let a=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(a={...a,[n.interpolationkey]:void 0});const o=s+JSON.stringify(a);let l=e[o];return l||(l=i(we(s),n),e[o]=l),l(t)}};class Is{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=U.create("formatter"),this.options=e,this.formats={number:ae((t,s)=>{const n=new Intl.NumberFormat(t,{...s});return a=>n.format(a)}),currency:ae((t,s)=>{const n=new Intl.NumberFormat(t,{...s,style:"currency"});return a=>n.format(a)}),datetime:ae((t,s)=>{const n=new Intl.DateTimeFormat(t,{...s});return a=>n.format(a)}),relativetime:ae((t,s)=>{const n=new Intl.RelativeTimeFormat(t,{...s});return a=>n.format(a,s.range||"day")}),list:ae((t,s)=>{const n=new Intl.ListFormat(t,{...s});return a=>n.format(a)})},this.init(e)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=ae(t)}format(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=t.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(l=>l.indexOf(")")>-1)){const l=a.findIndex(c=>c.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,l)].join(this.formatSeparator)}return a.reduce((l,c)=>{var h;const{formatName:u,formatOptions:p}=Fs(c);if(this.formats[u]){let d=l;try{const m=((h=n==null?void 0:n.formatParams)==null?void 0:h[n.interpolationkey])||{},f=m.locale||m.lng||n.locale||n.lng||s;d=this.formats[u](l,f,{...p,...n,...m})}catch(m){this.logger.warn(m)}return d}else this.logger.warn(`there was no format function for ${u}`);return l},e)}}const $s=(i,e)=>{i.pending[e]!==void 0&&(delete i.pending[e],i.pendingCount--)};class As extends Oe{constructor(e,t,s){var a,o;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=s,this.languageUtils=s.languageUtils,this.options=n,this.logger=U.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],(o=(a=this.backend)==null?void 0:a.init)==null||o.call(a,s,n.backend,n)}queueLoad(e,t,s,n){const a={},o={},l={},c={};return e.forEach(u=>{let p=!0;t.forEach(h=>{const d=`${u}|${h}`;!s.reload&&this.store.hasResourceBundle(u,h)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?o[d]===void 0&&(o[d]=!0):(this.state[d]=1,p=!1,o[d]===void 0&&(o[d]=!0),a[d]===void 0&&(a[d]=!0),c[h]===void 0&&(c[h]=!0)))}),p||(l[u]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(e,t,s){const n=e.split("|"),a=n[0],o=n[1];t&&this.emit("failedLoading",a,o,t),!t&&s&&this.store.addResourceBundle(a,o,s,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&s&&(this.state[e]=0);const l={};this.queue.forEach(c=>{ws(c.loaded,[a],o),$s(c,e),t&&c.errors.push(t),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{l[u]||(l[u]={});const p=c.loaded[u];p.length&&p.forEach(h=>{l[u][h]===void 0&&(l[u][h]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:s,tried:n,wait:a,callback:o});return}this.readingCalls++;const l=(u,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(u&&p&&n{this.read.call(this,e,t,s,n+1,a*2,o)},a);return}o(u,p)},c=this.backend[s].bind(this.backend);if(c.length===2){try{const u=c(e,t);u&&typeof u.then=="function"?u.then(p=>l(null,p)).catch(l):l(null,u)}catch(u){l(u)}return}return c(e,t,l)}prepareLoading(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();v(e)&&(e=this.languageUtils.toResolveHierarchy(e)),v(t)&&(t=[t]);const a=this.queueLoad(e,t,s,n);if(!a.toLoad.length)return a.pending.length||n(),null;a.toLoad.forEach(o=>{this.loadOne(o)})}load(e,t,s){this.prepareLoading(e,t,{},s)}reload(e,t,s){this.prepareLoading(e,t,{reload:!0},s)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const s=e.split("|"),n=s[0],a=s[1];this.read(n,a,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${t}loading namespace ${a} for language ${n} failed`,o),!o&&l&&this.logger.log(`${t}loaded namespace ${a} for language ${n}`,l),this.loaded(e,o,l)})}saveMissing(e,t,s,n,a){var c,u,p,h,d;let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((u=(c=this.services)==null?void 0:c.utils)!=null&&u.hasLoadedNamespace&&!((h=(p=this.services)==null?void 0:p.utils)!=null&&h.hasLoadedNamespace(t))){this.logger.warn(`did not save key "${s}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(s==null||s==="")){if((d=this.backend)!=null&&d.create){const m={...o,isUpdate:a},f=this.backend.create.bind(this.backend);if(f.length<6)try{let g;f.length===5?g=f(e,t,s,n,m):g=f(e,t,s,n),g&&typeof g.then=="function"?g.then(x=>l(null,x)).catch(l):l(null,g)}catch(g){l(g)}else f(e,t,s,n,l,m)}!e||!e[0]||this.store.addResource(e[0],t,s,n)}}}const lt=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:i=>{let e={};if(typeof i[1]=="object"&&(e=i[1]),v(i[1])&&(e.defaultValue=i[1]),v(i[2])&&(e.tDescription=i[2]),typeof i[2]=="object"||typeof i[3]=="object"){const t=i[3]||i[2];Object.keys(t).forEach(s=>{e[s]=t[s]})}return e},interpolation:{escapeValue:!0,format:i=>i,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),ct=i=>{var e,t;return v(i.ns)&&(i.ns=[i.ns]),v(i.fallbackLng)&&(i.fallbackLng=[i.fallbackLng]),v(i.fallbackNS)&&(i.fallbackNS=[i.fallbackNS]),((t=(e=i.supportedLngs)==null?void 0:e.indexOf)==null?void 0:t.call(e,"cimode"))<0&&(i.supportedLngs=i.supportedLngs.concat(["cimode"])),typeof i.initImmediate=="boolean"&&(i.initAsync=i.initImmediate),i},ve=()=>{},Ds=i=>{Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach(t=>{typeof i[t]=="function"&&(i[t]=i[t].bind(i))})};class de extends Oe{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=ct(e),this.services={},this.logger=U,this.modules={external:[]},Ds(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t=="function"&&(s=t,t={}),t.defaultNS==null&&t.ns&&(v(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=lt();this.options={...n,...this.options,...ct(t)},this.options.interpolation={...n.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const a=p=>p?typeof p=="function"?new p:p:null;if(!this.options.isClone){this.modules.logger?U.init(a(this.modules.logger),this.options):U.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:p=Is;const h=new at(this.options);this.store=new tt(this.options.resources,this.options);const d=this.services;d.logger=U,d.resourceStore=this.store,d.languageUtils=h,d.pluralResolver=new Es(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(d.formatter=a(p),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new Ts(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new As(a(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(m){for(var f=arguments.length,g=new Array(f>1?f-1:0),x=1;x1?f-1:0),x=1;x{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,s||(s=ve),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const p=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);p.length>0&&p[0]!=="dev"&&(this.options.lng=p[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(p=>{this[p]=function(){return e.store[p](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(p=>{this[p]=function(){return e.store[p](...arguments),e}});const c=le(),u=()=>{const p=(h,d)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(d),s(h,d)};if(this.languages&&!this.isInitialized)return p(null,this.t.bind(this));this.changeLanguage(this.options.lng,p)};return this.options.resources||!this.options.initAsync?u():setTimeout(u,0),c}loadResources(e){var a,o;let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ve;const n=v(e)?e:this.language;if(typeof e=="function"&&(s=e),!this.options.resources||this.options.partialBundledLanguages){if((n==null?void 0:n.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return s();const l=[],c=u=>{if(!u||u==="cimode")return;this.services.languageUtils.toResolveHierarchy(u).forEach(h=>{h!=="cimode"&&l.indexOf(h)<0&&l.push(h)})};n?c(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(p=>c(p)),(o=(a=this.options.preload)==null?void 0:a.forEach)==null||o.call(a,u=>c(u)),this.services.backendConnector.load(l,this.options.ns,u=>{!u&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),s(u)})}else s(null)}reloadResources(e,t,s){const n=le();return typeof e=="function"&&(s=e,e=void 0),typeof t=="function"&&(s=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),s||(s=ve),this.services.backendConnector.reload(e,t,a=>{n.resolve(),s(a)}),n}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&ft.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}}changeLanguage(e,t){var s=this;this.isLanguageChangingTo=e;const n=le();this.emit("languageChanging",e);const a=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?(a(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,n.resolve(function(){return s.t(...arguments)}),t&&t(c,function(){return s.t(...arguments)})},l=c=>{var p,h;!e&&!c&&this.services.languageDetector&&(c=[]);const u=v(c)?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||a(u),this.translator.language||this.translator.changeLanguage(u),(h=(p=this.services.languageDetector)==null?void 0:p.cacheUserLanguage)==null||h.call(p,u)),this.loadResources(u,d=>{o(d,u)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e),n}getFixedT(e,t,s){var n=this;const a=function(o,l){let c;if(typeof l!="object"){for(var u=arguments.length,p=new Array(u>2?u-2:0),h=2;h`${c.keyPrefix}${d}${f}`):m=c.keyPrefix?`${c.keyPrefix}${d}${o}`:o,n.t(m,c)};return v(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=s,a}t(){var n;for(var e=arguments.length,t=new Array(e),s=0;s1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const s=t.lng||this.resolvedLanguage||this.languages[0],n=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const u=this.services.backendConnector.state[`${l}|${c}`];return u===-1||u===0||u===2};if(t.precheck){const l=t.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(s,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(s,e)&&(!n||o(a,e)))}loadNamespaces(e,t){const s=le();return this.options.ns?(v(e)&&(e=[e]),e.forEach(n=>{this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}),this.loadResources(n=>{s.resolve(),t&&t(n)}),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){const s=le();v(e)&&(e=[e]);const n=this.options.preload||[],a=e.filter(o=>n.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return a.length?(this.options.preload=n.concat(a),this.loadResources(o=>{s.resolve(),t&&t(o)}),s):(t&&t(),Promise.resolve())}dir(e){var n,a;if(e||(e=this.resolvedLanguage||(((n=this.languages)==null?void 0:n.length)>0?this.languages[0]:this.language)),!e)return"rtl";const t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],s=((a=this.services)==null?void 0:a.languageUtils)||new at(lt());return t.indexOf(s.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new de(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ve;const s=e.forkResourceStore;s&&delete e.forkResourceStore;const n={...this.options,...e,isClone:!0},a=new de(n);if((e.debug!==void 0||e.prefix!==void 0)&&(a.logger=a.logger.clone(e)),["store","services","language"].forEach(l=>{a[l]=this[l]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},s){const l=Object.keys(this.store.data).reduce((c,u)=>(c[u]={...this.store.data[u]},Object.keys(c[u]).reduce((p,h)=>(p[h]={...c[u][h]},p),{})),{});a.store=new tt(l,n),a.services.resourceStore=a.store}return a.translator=new ke(a.services,n),a.translator.on("*",function(l){for(var c=arguments.length,u=new Array(c>1?c-1:0),p=1;p{const i=T(e=>e.lang);return y.useEffect(()=>{E.changeLanguage(i)},[i]),null};function Wn(){return r.jsxs("main",{className:"flex flex-col min-h-screen",children:[r.jsx(Qn,{}),r.jsx(Ft,{}),r.jsx("div",{className:"flex-auto",children:r.jsx(hs,{})}),r.jsx(It,{})]})}const Me=i=>{const{data:e,isPending:t}=$e({queryKey:["news",i],queryFn:()=>$t(i),select:({data:s})=>s.data});return{data:e,isPending:t}},Ke=({className:i,featured_images:e,title:t,id:s,published_at:n})=>{var a;return r.jsx(ms,{to:`/news/${s}`,children:r.jsxs("article",{className:ee("bg-surface_container justify-between h-[400px] flex flex-col gap-6",i),children:[r.jsxs("div",{className:"flex flex-col gap-4 px-6 pt-6",children:[r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsx("h4",{children:n.slice(0,10).split("-").reverse().join(".")}),r.jsx(At,{})]}),r.jsx("hr",{}),r.jsx("h3",{className:"text-[20px] leading-[130%] line-clamp-3",children:t})]}),r.jsx("img",{src:((a=e==null?void 0:e[0])==null?void 0:a.path)||"",alt:"news image",className:"w-full h-[220px] object-cover"})]})})},Yn=()=>{const i=T(s=>s.lang),{data:e,isPending:t}=Me(i);return t?r.jsx(fe,{}):r.jsx("section",{className:ee("md:mb-[120px] mb-20"),children:r.jsxs(ie,{children:[r.jsx("h2",{className:"h2 text-center md:mb-8 mb-6",children:i==="en"?"News":"Новости"}),r.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:e==null?void 0:e.map(s=>y.createElement(Ke,{...s,key:s.title}))})]})})};function Xn(){return r.jsxs("div",{className:"flex flex-col gap-20",children:[r.jsx(Dt,{}),r.jsx(Vt,{}),r.jsx(Bt,{}),r.jsx(Mt,{}),r.jsx(Kt,{}),r.jsx(Gt,{}),r.jsx(Yn,{})]})}const Zn=b.object({type:b.string(),company_name:b.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),representative_name:b.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:b.string().min(3,{message:"Должность должна быть не менее 3 символов"}),participants_number:b.string().min(1,{message:"Укажите количество участников"}),country:b.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email_address:b.string().email({message:"Укажите корректный email"}),phone_number:b.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:b.string().optional(),meeting_objective:b.string().min(3,{message:"Укажите цель встречи"}),proposal_description:b.string().optional(),government_agency:b.string().optional(),sector_industry:b.string().optional(),key_services:b.string().optional(),government_experience:b.string().optional(),preferred_meeting_datetime:b.string().optional(),meeting_mode:b.string().optional(),language_preference:b.string().optional(),technical_requirements:b.string().optional(),company_profile:b.custom(i=>i instanceof File,{message:"Выберите корректный файл"}).refine(i=>i&&["image/jpeg","image/png","application/pdf"].includes(i.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional(),proposal_presentation:b.custom(i=>i instanceof File,{message:"Выберите корректный файл"}).refine(i=>i&&["image/jpeg","image/png","application/pdf"].includes(i.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional(),relevant_certification:b.custom(i=>i instanceof File,{message:"Выберите корректный файл"}).refine(i=>i&&["image/jpeg","image/png","application/pdf"].includes(i.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional()}),ea={type:"B2B",company_name:"",representative_name:"",job_title:"",participants_number:"",country:"",email_address:"",phone_number:"",website:"",meeting_objective:"",proposal_description:"",government_agency:"",sector_industry:"",key_services:"",government_experience:"",preferred_meeting_datetime:"",meeting_mode:"",language_preference:"",technical_requirements:""};function ta(i){const e=i+"CollectionProvider",[t,s]=Ce(e),[n,a]=t(e,{collectionRef:{current:null},itemMap:new Map}),o=m=>{const{scope:f,children:g}=m,x=se.useRef(null),w=se.useRef(new Map).current;return r.jsx(n,{scope:f,itemMap:w,collectionRef:x,children:g})};o.displayName=e;const l=i+"CollectionSlot",c=se.forwardRef((m,f)=>{const{scope:g,children:x}=m,w=a(l,g),N=ue(f,w.collectionRef);return r.jsx(Je,{ref:N,children:x})});c.displayName=l;const u=i+"CollectionItemSlot",p="data-radix-collection-item",h=se.forwardRef((m,f)=>{const{scope:g,children:x,...w}=m,N=se.useRef(null),P=ue(f,N),k=a(u,g);return se.useEffect(()=>(k.itemMap.set(N,{ref:N,...w}),()=>void k.itemMap.delete(N))),r.jsx(Je,{[p]:"",ref:P,children:x})});h.displayName=u;function d(m){const f=a(i+"CollectionConsumer",m);return se.useCallback(()=>{const x=f.collectionRef.current;if(!x)return[];const w=Array.from(x.querySelectorAll(`[${p}]`));return Array.from(f.itemMap.values()).sort((k,O)=>w.indexOf(k.ref.current)-w.indexOf(O.ref.current))},[f.collectionRef,f.itemMap])}return[{Provider:o,Slot:c,ItemSlot:h},d,s]}var sa=y.createContext(void 0);function ht(i){const e=y.useContext(sa);return i||e||"ltr"}var Te="rovingFocusGroup.onEntryFocus",na={bubbles:!1,cancelable:!0},Le="RovingFocusGroup",[Ie,mt,aa]=ta(Le),[ra,gt]=Ce(Le,[aa]),[ia,oa]=ra(Le),xt=y.forwardRef((i,e)=>r.jsx(Ie.Provider,{scope:i.__scopeRovingFocusGroup,children:r.jsx(Ie.Slot,{scope:i.__scopeRovingFocusGroup,children:r.jsx(la,{...i,ref:e})})}));xt.displayName=Le;var la=y.forwardRef((i,e)=>{const{__scopeRovingFocusGroup:t,orientation:s,loop:n=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:p=!1,...h}=i,d=y.useRef(null),m=ue(e,d),f=ht(a),[g=null,x]=ut({prop:o,defaultProp:l,onChange:c}),[w,N]=y.useState(!1),P=Ut(u),k=mt(t),O=y.useRef(!1),[F,_]=y.useState(0);return y.useEffect(()=>{const C=d.current;if(C)return C.addEventListener(Te,P),()=>C.removeEventListener(Te,P)},[P]),r.jsx(ia,{scope:t,orientation:s,dir:f,loop:n,currentTabStopId:g,onItemFocus:y.useCallback(C=>x(C),[x]),onItemShiftTab:y.useCallback(()=>N(!0),[]),onFocusableItemAdd:y.useCallback(()=>_(C=>C+1),[]),onFocusableItemRemove:y.useCallback(()=>_(C=>C-1),[]),children:r.jsx(he.div,{tabIndex:w||F===0?-1:0,"data-orientation":s,...h,ref:m,style:{outline:"none",...i.style},onMouseDown:Q(i.onMouseDown,()=>{O.current=!0}),onFocus:Q(i.onFocus,C=>{const Y=!O.current;if(C.target===C.currentTarget&&Y&&!w){const z=new CustomEvent(Te,na);if(C.currentTarget.dispatchEvent(z),!z.defaultPrevented){const L=k().filter($=>$.focusable),I=L.find($=>$.active),xe=L.find($=>$.id===g),K=[I,xe,...L].filter(Boolean).map($=>$.ref.current);vt(K,p)}}O.current=!1}),onBlur:Q(i.onBlur,()=>N(!1))})})}),bt="RovingFocusGroupItem",yt=y.forwardRef((i,e)=>{const{__scopeRovingFocusGroup:t,focusable:s=!0,active:n=!1,tabStopId:a,...o}=i,l=Ht(),c=a||l,u=oa(bt,t),p=u.currentTabStopId===c,h=mt(t),{onFocusableItemAdd:d,onFocusableItemRemove:m}=u;return y.useEffect(()=>{if(s)return d(),()=>m()},[s,d,m]),r.jsx(Ie.ItemSlot,{scope:t,id:c,focusable:s,active:n,children:r.jsx(he.span,{tabIndex:p?0:-1,"data-orientation":u.orientation,...o,ref:e,onMouseDown:Q(i.onMouseDown,f=>{s?u.onItemFocus(c):f.preventDefault()}),onFocus:Q(i.onFocus,()=>u.onItemFocus(c)),onKeyDown:Q(i.onKeyDown,f=>{if(f.key==="Tab"&&f.shiftKey){u.onItemShiftTab();return}if(f.target!==f.currentTarget)return;const g=da(f,u.orientation,u.dir);if(g!==void 0){if(f.metaKey||f.ctrlKey||f.altKey||f.shiftKey)return;f.preventDefault();let w=h().filter(N=>N.focusable).map(N=>N.ref.current);if(g==="last")w.reverse();else if(g==="prev"||g==="next"){g==="prev"&&w.reverse();const N=w.indexOf(f.currentTarget);w=u.loop?pa(w,N+1):w.slice(N+1)}setTimeout(()=>vt(w))}})})})});yt.displayName=bt;var ca={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ua(i,e){return e!=="rtl"?i:i==="ArrowLeft"?"ArrowRight":i==="ArrowRight"?"ArrowLeft":i}function da(i,e,t){const s=ua(i.key,t);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(s))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(s)))return ca[s]}function vt(i,e=!1){const t=document.activeElement;for(const s of i)if(s===t||(s.focus({preventScroll:e}),document.activeElement!==t))return}function pa(i,e){return i.map((t,s)=>i[(e+s)%i.length])}var fa=xt,ha=yt;function ma(i){const e=y.useRef({value:i,previous:i});return y.useMemo(()=>(e.current.value!==i&&(e.current.previous=e.current.value,e.current.value=i),e.current.previous),[i])}var Ge="Radio",[ga,jt]=Ce(Ge),[xa,ba]=ga(Ge),St=y.forwardRef((i,e)=>{const{__scopeRadio:t,name:s,checked:n=!1,required:a,disabled:o,value:l="on",onCheck:c,form:u,...p}=i,[h,d]=y.useState(null),m=ue(e,x=>d(x)),f=y.useRef(!1),g=h?u||!!h.closest("form"):!0;return r.jsxs(xa,{scope:t,checked:n,disabled:o,children:[r.jsx(he.button,{type:"button",role:"radio","aria-checked":n,"data-state":kt(n),"data-disabled":o?"":void 0,disabled:o,value:l,...p,ref:m,onClick:Q(i.onClick,x=>{n||c==null||c(),g&&(f.current=x.isPropagationStopped(),f.current||x.stopPropagation())})}),g&&r.jsx(ya,{control:h,bubbles:!f.current,name:s,value:l,checked:n,required:a,disabled:o,form:u,style:{transform:"translateX(-100%)"}})]})});St.displayName=Ge;var wt="RadioIndicator",Nt=y.forwardRef((i,e)=>{const{__scopeRadio:t,forceMount:s,...n}=i,a=ba(wt,t);return r.jsx(zt,{present:s||a.checked,children:r.jsx(he.span,{"data-state":kt(a.checked),"data-disabled":a.disabled?"":void 0,...n,ref:e})})});Nt.displayName=wt;var ya=i=>{const{control:e,checked:t,bubbles:s=!0,...n}=i,a=y.useRef(null),o=ma(t),l=qt(e);return y.useEffect(()=>{const c=a.current,u=window.HTMLInputElement.prototype,h=Object.getOwnPropertyDescriptor(u,"checked").set;if(o!==t&&h){const d=new Event("click",{bubbles:s});h.call(c,t),c.dispatchEvent(d)}},[o,t,s]),r.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:a,style:{...i.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function kt(i){return i?"checked":"unchecked"}var va=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Ue="RadioGroup",[ja,Za]=Ce(Ue,[gt,jt]),Ct=gt(),Rt=jt(),[Sa,wa]=ja(Ue),_t=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,name:s,defaultValue:n,value:a,required:o=!1,disabled:l=!1,orientation:c,dir:u,loop:p=!0,onValueChange:h,...d}=i,m=Ct(t),f=ht(u),[g,x]=ut({prop:a,defaultProp:n,onChange:h});return r.jsx(Sa,{scope:t,name:s,required:o,disabled:l,value:g,onValueChange:x,children:r.jsx(fa,{asChild:!0,...m,orientation:c,dir:f,loop:p,children:r.jsx(he.div,{role:"radiogroup","aria-required":o,"aria-orientation":c,"data-disabled":l?"":void 0,dir:f,...d,ref:e})})})});_t.displayName=Ue;var Pt="RadioGroupItem",Ot=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,disabled:s,...n}=i,a=wa(Pt,t),o=a.disabled||s,l=Ct(t),c=Rt(t),u=y.useRef(null),p=ue(e,u),h=a.value===n.value,d=y.useRef(!1);return y.useEffect(()=>{const m=g=>{va.includes(g.key)&&(d.current=!0)},f=()=>d.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",f),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",f)}},[]),r.jsx(ha,{asChild:!0,...l,focusable:!o,active:h,children:r.jsx(St,{disabled:o,required:a.required,checked:h,...c,...n,name:a.name,ref:p,onCheck:()=>a.onValueChange(n.value),onKeyDown:Q(m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:Q(n.onFocus,()=>{var m;d.current&&((m=u.current)==null||m.click())})})})});Ot.displayName=Pt;var Na="RadioGroupIndicator",ka=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,...s}=i,n=Rt(t);return r.jsx(Nt,{...n,...s,ref:e})});ka.displayName=Na;var Lt=_t,Et=Ot;const pe=y.forwardRef(({className:i,...e},t)=>r.jsx(Lt,{className:ee("grid gap-2",i),...e,ref:t}));pe.displayName=Lt.displayName;const J=y.forwardRef(({className:i,...e},t)=>r.jsx(Et,{ref:t,className:ee(e.checked?"border-primary after:bg-opacity-1":"border-on_surface bg-transparent after:bg-opacity-0","size-5 rounded-full border-[2px] after:size-[9px] after:bg-primary before:scale-0 hover:before:scale-100 before:size-10 before:rounded-full before:transition-all before:absolute before:-top-3 before:-left-3 before:bg-on_surface/[8%] duration-300 after:rounded-full flex relative items-center justify-center text-primary focus:outline-none focus-visible:ring-1 focus-visible:ring-ring transition-all disabled:cursor-not-allowed disabled:opacity-50",i),...e}));J.displayName=Et.displayName;const q=[{h2:"Информация об экспоненте:",data:[{label:"Название компании/организации"},{label:"Имя представителя"},{label:"Название должности/позиция"},{label:"Количество участников"},{label:"Страна"},{label:"Email адрес"},{label:"Номер телефона"},{label:"Веб-сайт"}]},{h2:"Applicant Information:",data:[{label:"Company/Organization Name"},{label:"Name of Representative"},{label:"Job title/Position"},{label:"Number of the participants"},{label:"Country"},{label:"Email"},{label:"Phone number"},{label:"Website"}]}],X=[{h2:"Цели встречи:",secondH2:"Информация о компании/организации:",data:[{label:"Основная цель встречи"},{label:"Краткое описание вашего предложения/проекта/запроса"},{label:"Соответствующее государственное учреждение/департамент"},{label:"Отраслевая промышленность"},{label:"Ключевые услуги/продукты"},{label:"Предыдущий опыт работы с правительствами (если применимо)"}]},{h2:"Meeting Purpose: ",secondH2:"Company/Organization Profile:",data:[{label:"Primary objective of the meeting"},{label:"Brief description of your proposal/project/request"},{label:"Relevant government agency/department"},{label:"Sector Industry "},{label:"Key Services/Products"},{label:"Previous Experience working with Governments (if applicable)"}]}],G=[{h2:"Логистика встречи:",secondH2:"Логистика встречи:",subtitle:"(Пожалуйста приложите следующие документы, если это необходимо)",data:[{label:"Предпочтительная дата и время"},{label:"Предпочтительный способ проведения встречи (лично, виртуально (через zoom/ teams/другое), гибридный)"},{label:"Предпочитаемый язык (английский, туркменский, русский, другой)"},{label:"Дополнительные технические или логистические требования (например, аудио-видео оборудование, переводчики и т.д.)"},{label:"Название компании/организации"},{label:"Предложение/презентация"},{label:"Соответствующие сертификаты/лицензии"}],button:"Отправить"},{h2:"Приложения:",secondH2:"Attachments",subtitle:"(Please attach the following documents as applicable)",data:[{label:"Preferred date and time for the meeting"},{label:"Preferred mode of meeting (in-person, virtual (via zoom/teams/other), hybrid)"},{label:"Language preference (English, turkmen, Russian, other)"},{label:"Additional technical or logistical requirements (e.g. AV equipment, interpreters, etc)"},{label:"Company/organization profile"},{label:"Proposal presentation"},{label:"Relevant certification/licenses"}],button:"Send"}],H=i=>{y.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[i])},Ca=({handleNext:i})=>{H();const{control:e,formState:t}=Ae(),s=T(n=>n.lang);return r.jsxs(me.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,y:"100%",transition:{duration:.2}},className:"w-full",children:[r.jsx("h2",{className:"h2 mb-8",children:q[j(s)].h2}),r.jsxs("div",{className:"flex flex-col gap-8",children:[r.jsx(je,{defaultValue:1,control:e,name:"type",render:({field:n})=>r.jsxs(D,{className:"space-y-3",children:[r.jsx(V,{className:"text-xl",children:s===Z.RU?"Тип:":"Type:"}),r.jsx(B,{children:r.jsxs(pe,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4",children:[r.jsxs(D,{className:"flex items-center space-x-3 space-y-0",children:[r.jsx(B,{children:r.jsx(J,{value:"B2B",checked:n.value==="B2B"})}),r.jsx(V,{className:"text-base",children:"B2B"})]}),r.jsxs(D,{className:"flex items-center space-x-3 space-y-0",children:[r.jsx(B,{children:r.jsx(J,{value:"B2G",checked:n.value==="B2G"})}),r.jsx(V,{className:"text-base",children:"B2G"})]})]})})]})}),r.jsx(S,{control:e,name:"company_name",error:t.errors.company_name,placeholder:"",label:q[j(s)].data[0].label}),r.jsx(S,{control:e,name:"representative_name",error:t.errors.representative_name,placeholder:"",label:q[j(s)].data[1].label}),r.jsx(S,{control:e,name:"job_title",error:t.errors.job_title,placeholder:"",label:q[j(s)].data[2].label}),r.jsx(S,{control:e,name:"participants_number",error:t.errors.participants_number,placeholder:"",label:q[j(s)].data[3].label}),r.jsx(S,{control:e,name:"country",error:t.errors.country,placeholder:"",label:q[j(s)].data[4].label}),r.jsx(S,{control:e,name:"email_address",error:t.errors.email_address,placeholder:"",label:q[j(s)].data[5].label}),r.jsx(S,{control:e,name:"phone_number",error:t.errors.phone_number,placeholder:"",label:q[j(s)].data[6].label}),r.jsx(S,{control:e,name:"website",placeholder:"",label:q[j(s)].data[7].label})]}),r.jsx(W,{variant:"secondary",type:"button",onClick:i,className:"w-full mt-10",children:s===Z.RU?"Далее":"Next"})]})},Ra=({handleNext:i,handlePrev:e})=>{H();const t=T(a=>a.lang),{control:s,formState:n}=Ae();return r.jsxs(me.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},exit:{opacity:0,y:100},children:[r.jsx("h2",{className:"h2 mb-8",children:X[j(t)].h2}),r.jsxs("div",{className:"flex flex-col gap-8",children:[r.jsx(S,{control:s,name:"meeting_objective",error:n.errors.meeting_objective,placeholder:"",label:X[j(t)].data[0].label}),r.jsx(S,{control:s,name:"proposal_description",error:n.errors.proposal_description,placeholder:"",label:X[j(t)].data[1].label}),r.jsx(S,{control:s,name:"government_agency",error:n.errors.government_agency,placeholder:"",label:X[j(t)].data[2].label}),r.jsx("h2",{className:"h2 mt-4",children:X[j(t)].secondH2}),r.jsx(S,{control:s,name:"sector_industry",error:n.errors.sector_industry,placeholder:"",label:X[j(t)].data[3].label}),r.jsx(S,{control:s,name:"key_services",error:n.errors.key_services,placeholder:"",label:X[j(t)].data[4].label}),r.jsx(S,{control:s,name:"government_experience",error:n.errors.government_experience,placeholder:"",label:X[j(t)].data[5].label})]}),r.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[r.jsx(W,{type:"button",onClick:e,variant:"outline",className:"text-on_surface",children:t===Z.RU?"Вернуться назад":"Back"}),r.jsx(W,{variant:"secondary",type:"button",onClick:i,className:"w-full",children:t===Z.RU?"Далее":"Next"})]})]})},_a=({handlePrev:i})=>{H();const{control:e,formState:t}=Ae(),s=T(n=>n.lang);return r.jsxs(me.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},transition:{duration:1},children:[r.jsx("h2",{className:"h2 mb-8",children:G[j(s)].h2}),r.jsxs("div",{className:"flex flex-col gap-6",children:[r.jsx(S,{control:e,name:"preferred_meeting_datetime",error:t.errors.preferred_meeting_datetime,placeholder:"",label:G[j(s)].data[0].label}),r.jsx(S,{control:e,name:"preferred_mode",error:t.errors.preferred_mode,placeholder:"",label:G[j(s)].data[1].label}),r.jsx(S,{control:e,name:"language_preference",error:t.errors.language_preference,placeholder:"",label:G[j(s)].data[2].label}),r.jsx(S,{control:e,name:"additional_technical",error:t.errors.additional_technical,placeholder:"",label:G[j(s)].data[3].label})]}),r.jsxs("div",{className:"flex flex-col gap-8",children:[r.jsxs("div",{children:[r.jsx("h3",{className:"h2 mt-10",children:G[j(s)].secondH2}),r.jsx("h5",{className:"text-on_surface_v",children:G[j(s)].subtitle})]}),r.jsx(S,{control:e,name:"company_profile",label:G[j(s)].data[4].label,type:"file",textDark:!0}),r.jsx(S,{control:e,name:"proposal_presentation",label:G[j(s)].data[5].label,type:"file",textDark:!0}),r.jsx(S,{control:e,name:"relevant_certification",label:G[j(s)].data[6].label,type:"file",textDark:!0})]}),r.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[r.jsx(W,{type:"button",onClick:i,variant:"outline",className:"text-on_surface",children:s===Z.RU?"Вернуться назад":"Back"}),r.jsx(W,{disabled:t.isSubmitting,type:"submit",className:"w-full",children:t.isSubmitting?r.jsx(De,{className:"animate-spin"}):G[j(s)].button})]})]})},Pa=({stage:i,setStage:e,success:t,setSuccess:s})=>{const n=Re({resolver:_e(Zn),defaultValues:ea,mode:"onChange"}),a=u=>{switch(u){case 1:return["type","company_name","representative_name","job_title","participants_number","country","email_address","phone_number","website"];case 2:return["meeting_objective","proposal_description","government_agency","sector_industry","key_services","government_experience"];case 3:return["preferred_meeting_datetime","meeting_mode","language_preference","technical_requirements","company_profile","proposal_presentation","relevant_certification"];default:return[]}},o=async()=>{const u=a(i);await n.trigger(u)&&e(h=>h+1)},l=()=>e(u=>u-1),c=async u=>{try{const p=new FormData;Object.entries(u).forEach(([d,m])=>{m instanceof File?(console.log(`Добавляем файл: ${d}`,m),p.append(d,m)):m!==void 0&&(console.log(`Добавляем поле: ${d}`,m),p.append(d,m))}),(await Jt.post("https://turkmentextile.turkmenexpo.com/app/api/v1/form",p,{headers:{"Content-Type":"multipart/form-data"}})).status===201&&s(!0)}catch(p){console.error("Ошибка при отправке B2B формы:",p)}};return r.jsx(Pe,{...n,children:r.jsx("form",{onSubmit:n.handleSubmit(c),children:r.jsxs("div",{className:"relative",children:[r.jsx(re,{children:i===1&&r.jsx(Ca,{handleNext:o})}),r.jsx(re,{children:i===2&&r.jsx(Ra,{handleNext:o,handlePrev:l})}),r.jsx(re,{children:i===3&&t===!1&&r.jsx(_a,{handlePrev:l})}),t&&r.jsx(Ve,{})]})})})};function Oa(){H();const i=T(a=>a.lang),[e,t]=y.useState(1),[s,n]=y.useState(!1);return r.jsxs("div",{className:"pb-[120px]",children:[r.jsx(ge,{title:i===Z.RU?"B2B | B2G встречи":"B2B | B2G meetings"}),!s&&e!==0&&r.jsx(Qt,{stage:e}),r.jsx("div",{className:"max-w-[808px] md:mx-auto mx-5",children:r.jsx(Pa,{success:s,setSuccess:n,stage:e,setStage:t})})]})}function La(){H();const i=T(e=>e.lang);return r.jsxs("div",{className:ee(""),children:[r.jsx(ge,{title:i===Z.RU?"О выставке":"About exhibition"}),r.jsx(Wt,{}),r.jsx(Yt,{}),r.jsx(Xt,{}),r.jsx(Zt,{}),r.jsx(es,{})]})}const Ea=b.object({company_name:b.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:b.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:b.string().min(3,{message:"Должность должна быть не менее 3 символов"}),country:b.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:b.string().email({message:"Укажите корректный email"}),phone:b.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:b.string().optional(),visa_support:b.string().optional()}),Ta={company_name:"",rep_name:"",job_title:"",country:"",email:"",phone:"",website:"",visa_support:""},R=[{cover:"Забронировать стенд",h2:"Выберите один из вариантов:",radio:"Необорудованная площадь",radio_2:"Оборудованная площадь",label_1:"Название компании/организации",label_2:"Имя представителя",label_3:"Название должности/позиция",number_of_participants:"Количество участников",label_4:"Страна",label_5:"Email адрес",label_6:"Номер телефона",label_7:"Веб-сайт",visa:"Визовая поддержка:",visa_radio:"Да",visa_radio_2:"Нет",button:"Отправить"},{cover:"Book a stand:",h2:"Select one of the options:",radio:"Stand space only",radio_2:"Prefabricated stand",label_1:"Company/Organization Name",label_2:"Name of Representative",label_3:"Job title/Position",number_of_participants:"Number of the participants",label_4:"Country",label_5:"Email",label_6:"Phone number",label_7:"Website",visa:"Visa support:",visa_radio:"Yes",visa_radio_2:"No",button:"Send"}];function Fa(){H();const i=T(o=>o.lang),[e,t]=y.useState(!1),s=Re({resolver:_e(Ea),defaultValues:Ta}),n=async o=>{try{await ts(o)&&t(!0)}catch(l){console.error("POST sponsor error",l)}},{errors:a}=s.formState;return r.jsxs("div",{children:[r.jsx(ge,{title:i===Z.RU?"Стать спонсором":"Become a sponsor"}),r.jsx(re,{children:!e&&r.jsx(Pe,{...s,children:r.jsxs(me.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] mx-auto px-5 md:mt-20 mt-10 mb-20 md:mb-[120px] flex flex-col gap-8",onSubmit:s.handleSubmit(n),children:[r.jsx(S,{label:R[j(i)].label_1,name:"company_name",control:s.control,error:a.company_name}),r.jsx(S,{label:R[j(i)].label_2,name:"rep_name",control:s.control,error:a.rep_name}),r.jsx(S,{label:R[j(i)].label_3,name:"job_title",control:s.control,error:a.job_title}),r.jsx(S,{label:R[j(i)].label_4,name:"country",control:s.control,error:a.country}),r.jsx(S,{label:R[j(i)].label_5,name:"email",control:s.control,error:a.email}),r.jsx(S,{label:R[j(i)].label_6,name:"phone",control:s.control,error:a.phone}),r.jsx(S,{label:R[j(i)].label_7,name:"website",control:s.control}),r.jsx(je,{control:s.control,name:"visa_support",render:({field:o})=>r.jsxs(D,{className:"space-y-5",children:[r.jsx(V,{className:"text-xl",children:R[j(i)].visa}),r.jsx(B,{children:r.jsxs(pe,{onValueChange:o.onChange,defaultValue:o.value,className:"flex flex-col space-y-4 ml-3",children:[r.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[r.jsx(B,{children:r.jsx(J,{value:"yes",checked:o.value==="yes"})}),r.jsx(V,{className:"text-base",children:R[j(i)].visa_radio})]}),r.jsxs(D,{className:"flex items-center space-x-5 space-y-0 ",children:[r.jsx(B,{children:r.jsx(J,{value:"no",checked:o.value==="no"})}),r.jsx(V,{className:"text-base",children:R[j(i)].visa_radio_2})]})]})})]})}),r.jsx(W,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?r.jsx(De,{className:"animate-spin"}):R[j(i)].button})]})})}),e&&r.jsx(Ve,{delay:.3})]})}const Ia=b.object({name:b.string().min(2,"error"),email:b.string().email(),phone:b.string().min(8,"error"),company:b.string().min(2,"error"),msg:b.string().min(5,"error")}),$a={name:"",email:"",phone:"",company:"",msg:""},Aa=({className:i})=>{const{t:e}=Be("contacts"),[t,s]=y.useState(!1),n=Re({resolver:_e(Ia),defaultValues:$a});async function a(l){try{const c=await ns(l);s(c)}catch(c){console.error("POST contact",c)}}const{errors:o}=n.formState;return r.jsx("div",{className:ee("bg-primary rounded-[8px] py-8 px-6 ",i),children:r.jsx(Pe,{...n,children:r.jsxs("form",{onSubmit:n.handleSubmit(a),children:[r.jsx("h2",{className:"h2 !text-on_primary lg:mb-8 mb-6",children:e("title")}),r.jsxs("div",{className:"flex flex-col gap-8",children:[r.jsx(S,{onPrimary:!0,name:"name",control:n.control,label:e("name"),error:o.name}),r.jsxs("div",{className:"flex flex-col lg:flex-row gap-6",children:[r.jsx(S,{onPrimary:!0,name:"email",control:n.control,label:"Email",error:o.email}),r.jsx(S,{onPrimary:!0,name:"phone",control:n.control,label:e("phone"),error:o.phone})]}),r.jsx(S,{onPrimary:!0,name:"company",control:n.control,label:e("company"),error:o.name}),r.jsx(S,{onPrimary:!0,textArea:!0,name:"msg",label:e("message"),control:n.control,error:o.msg}),r.jsx(W,{disabled:n.formState.isSubmitting||t,className:"w-full h-12 overflow-hidden",variant:"secondary",children:t?e("submitted"):n.formState.isSubmitting?r.jsx(ss,{className:"animate-spin text-white"}):e("button")})]})]})})})};function Da(){H();const{t:i}=Be("contacts");return r.jsxs("div",{className:"flex flex-col gap-20 pt-10 md:pt-20",children:[r.jsx(ie,{children:r.jsxs("section",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 lg:gap-6",children:[r.jsx(Aa,{}),r.jsxs("div",{className:"p-6 bg-surface_container rounded-[8px]",children:[r.jsx("h2",{className:"h2 mb-10 xl:mb-8",children:i("title_2")}),r.jsxs("div",{className:"flex flex-col gap-20",children:[r.jsxs("div",{className:"flex items-center gap-6",children:[r.jsx("img",{src:"/contacts/map.svg",alt:"address"}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-xl mb-2",children:i("address")}),r.jsx("address",{className:"text-base normal not-italic",children:i("venue")})]})]}),r.jsxs("div",{className:"flex items-center gap-6",children:[r.jsx("img",{src:"/contacts/phone.svg",alt:"phone"}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-xl mb-2",children:i("phone")}),r.jsx("h4",{className:"text-base normal",children:"+99371871812; 99363719588"})]})]}),r.jsxs("div",{className:"flex items-center gap-6",children:[r.jsx("img",{src:"/contacts/email.svg",alt:"email"}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-xl mb-2",children:"Email:"}),r.jsx("h4",{className:"text-base normal",children:"contact@turkmenexpo.com"})]})]})]})]})]})}),r.jsx("section",{className:"relative w-full h-[300px] sm:h-[350px] md:h-[400px] lg:h-[600px]",children:r.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1443.0869986358682!2d58.35620779177324!3d37.921200202365405!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3f7001fd7afd2a95%3A0x9ce9dca95ea4b87e!2z0JDQstC40LDQutCw0YHRgdCwINCw0LLQuNCw0LrQvtC80L_QsNC90LjQuCDCq9CR0LXQu9Cw0LLQuNCwwrsg0LIg0KLRg9GA0LrQvNC10L3QuNGB0YLQsNC90LU!5e0!3m2!1sru!2sru!4v1738063695919!5m2!1sru!2sru",className:"absolute inset-0 w-full h-full ",style:{border:0},allowFullScreen:!0,loading:"lazy"})})]})}const Va=[{id:0,title:"Фото",titleEn:"Photo"},{id:1,title:"Видео",titleEn:"Video"}],Ba=({className:i})=>{var g,x,w,N,P;const[e,t]=y.useState(0),{data:s,isPending:n}=as(1),{data:a}=rs(1),[o,l]=y.useState(!1),[c,u]=y.useState({id:0,type:"photo"}),p=T(k=>k.lang),h=({id:k,type:O})=>{l(!0),u({id:k,type:O})};console.log(a);const{t:d}=Be("main"),[m,f]=y.useState(!1);return r.jsxs(r.Fragment,{children:[r.jsx(re,{children:o&&r.jsx(is,{activeItem:c,setActiveItem:u,setIsOpen:l})}),r.jsxs("section",{className:ee("",i),children:[r.jsx(ge,{title:p==="ru"?"Моменты":"Moments"}),r.jsx(ie,{className:"page-bottom md:pt-10 pt-6",children:n?r.jsx(fe,{}):r.jsxs("div",{className:"flex justify-center flex-col",children:[r.jsx(dt,{state:e,setState:t,data:Va,className:"mb-6"}),r.jsx("h3",{className:"md:text-3xl text-2xl mb-6",children:"2025"}),r.jsx("div",{className:"grid lg:grid-cols-4 lg:gap-y-4 lg:gap-x-6 md:gap-6 gap-4 grid-cols-2 place-items-center",children:e===0?(x=(g=s==null?void 0:s.photos)==null?void 0:g.slice(0,m?1e3:16))==null?void 0:x.map((k,O)=>{var F,_;return r.jsx("div",{onClick:()=>h({id:O,type:"photo"}),className:"cursor-pointer embla__slide basis-1/1 overflow-hidden",children:r.jsx("img",{src:((F=k==null?void 0:k.photo)==null?void 0:F.path)??"",alt:((_=k==null?void 0:k.photo)==null?void 0:_.file_name)??"photo",className:"size-full object-cover hover:scale-105 duration-300 transition-all"})},O)}):(w=a==null?void 0:a.videos)==null?void 0:w.map((k,O)=>{var F;return r.jsxs("div",{onClick:()=>h({id:O,type:"video"}),className:"cursor-pointer group embla__slide basis-1/1 overflow-hidden relative",children:[r.jsx(os,{fill:"white",size:20,color:"white",className:"absolute group-hover:scale-125 transition-all duration-300 top-1/2 z-10 left-1/2 -translate-x-1/2 -translate-y-1/2 "}),r.jsx("div",{className:"absolute top-0 left-0 size-full bg-[#2C57A752]/[32%]"}),r.jsx("img",{src:((F=k==null?void 0:k.video_photo)==null?void 0:F.path)??"",className:"size-full object-cover"})]},O)})}),((N=s==null?void 0:s.photos)==null?void 0:N.length)&&((P=s==null?void 0:s.photos)==null?void 0:P.length)>16&&!m&&r.jsx(W,{onClick:()=>f(!0),className:"mx-auto w-[288px] mt-10 text-on_surface",size:"lg",variant:"outline",children:d("media.button")})]})})]})]})},Ma=(i,e)=>{const{data:t,isPending:s}=$e({queryKey:["news-inner",i,e],queryFn:()=>ls(i,e),select:({data:n})=>n.data});return{data:t,isPending:s}};function Ka(){var o;const{id:i}=gs(),e=T(l=>l.lang),t=Number(i);H(t);const{data:s,isPending:n}=Ma(t,e),{data:a}=Me(e);return n?r.jsx(fe,{}):r.jsxs(ie,{className:"pt-10 pb-20 md:pt-20 md:pb-[120px]",children:[r.jsxs("section",{className:"max-w-[888px] py-5 mx-auto flex flex-col md:gap-10 gap-6",children:[r.jsxs("div",{children:[r.jsx("h1",{className:"text-on_surface md:text-[32px] text-3xl leading-10 mb-2",children:s==null?void 0:s.title}),r.jsx("h4",{children:s==null?void 0:s.published_at.slice(0,10).split("-").reverse().join(".")})]}),r.jsx("div",{className:"w-full h-[300px] md:h-[480px]",children:r.jsx("img",{src:((o=s==null?void 0:s.featured_images[0])==null?void 0:o.path)||"",alt:"news image",className:"size-full object-cover"})}),r.jsx("div",{dangerouslySetInnerHTML:{__html:(s==null?void 0:s.content)??""},className:"news-inner md:text-lg flex flex-col gap-6 text-base md:medium normal text-on_surface_v"})]}),r.jsx("hr",{className:"mt-10 md:mb-20 mb-[60px]"}),r.jsxs("section",{children:[r.jsx("h2",{className:"h2 mb-6",children:e==="ru"?"Читайте также:":"Read more:"}),r.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:a==null?void 0:a.filter(l=>l.id!==t).slice(0,3).map(l=>y.createElement(Ke,{...l,key:l.title}))})]})]})}function Ga(){H();const i=T(s=>s.lang),{data:e,isPending:t}=Me(i);return t?r.jsx(fe,{}):r.jsxs(ie,{className:"page-padding",children:[r.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-10",children:i==="ru"?"Новости":"News"}),r.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:e==null?void 0:e.map(s=>y.createElement(Ke,{...s,key:s.title}))})]})}const Ua=()=>{const i=T(s=>s.lang),{data:e,isPending:t}=$e({queryKey:["participants",i],queryFn:()=>cs(i),select:({data:s})=>s.data});return{data:e,isPending:t}},Ha=({className:i})=>{var u,p,h,d,m;H();const e=T(f=>f.lang),{data:t,isPending:s}=Ua(),n={company:e==="ru"?"Название компании":"Company name",country:e==="ru"?"Страна":"Country",industry:e==="ru"?"Сфера деятельности":"Industry"},[a,o]=y.useState(0),l=(h=t==null?void 0:t[0])==null?void 0:h.participants.concat((u=t==null?void 0:t[1])==null?void 0:u.participants,(p=t==null?void 0:t[2])==null?void 0:p.participants),c=t==null?void 0:t.filter(f=>a===1?f.id===3:a===2?f.id===1:f.id===2);return console.log(a),r.jsx(ie,{children:r.jsxs("section",{className:ee("page-padding overflow-x-hidden",i),children:[r.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-4",children:e==="ru"?"Список участников":"List of participants"}),r.jsx(dt,{state:a,setState:o,className:"mb-6 md:w-fit"}),r.jsxs("div",{className:"p-2 sm:p-0 bg-surface_container overflow-hidden",children:[r.jsxs("div",{className:"sm:flex items-center hidden h-[52px] border-b border-outline_v",children:[r.jsx("h3",{className:"flex-[0_0_45.54%] pl-4",children:n==null?void 0:n.company}),r.jsx("h3",{className:"flex-[0_0_19.80%]",children:n==null?void 0:n.country}),r.jsx("h3",{className:"flex-[0_0_34.65%]",children:n==null?void 0:n.industry})]}),s?r.jsx(fe,{}):a===0?l==null?void 0:l.map((f,g,x)=>r.jsx(Qe,{...f,arr:x==null?void 0:x.length,index:g,image:f.image??{path:""},image_country:f.image_country??{path:""}})):(m=(d=c==null?void 0:c[0])==null?void 0:d.participants)==null?void 0:m.map((f,g,x)=>r.jsx(Qe,{...f,arr:x==null?void 0:x.length,index:g,image:f.image??{path:""},image_country:f.image_country??{path:""}}))]})]})})},za=b.object({space_package:b.string(),company_name:b.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:b.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:b.string().min(3,{message:"Должность должна быть не менее 3 символов"}),participants_number:b.preprocess(i=>Number(i),b.number().min(1,"Укажите количество участников")),country:b.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:b.string().email({message:"Укажите корректный email"}),phone:b.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:b.string().optional(),visa_support:b.string().optional()}),qa={space_package:"space",company_name:"",rep_name:"",job_title:"",participants_number:1,country:"",email:"",phone:"",website:"",visa_support:""};function Ja(){const i=T(l=>l.lang),[e,t]=y.useState(!1),s=Re({resolver:_e(za),defaultValues:qa}),n=async l=>{await us(l)&&t(!0)};y.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[]);const{errors:a}=s.formState,o=j(i);return r.jsxs("div",{children:[r.jsx(ge,{title:R[j(i)].cover}),r.jsx(re,{children:!e&&r.jsx(Pe,{...s,children:r.jsxs(me.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] px-5 mx-auto mt-20 mb-[120px] flex flex-col gap-8",onSubmit:s.handleSubmit(n),children:[r.jsx(je,{control:s.control,name:"space_package",render:({field:l})=>r.jsxs(D,{className:"space-y-5",children:[r.jsx(V,{className:"text-xl",children:R[o].h2}),r.jsx(B,{children:r.jsxs(pe,{onValueChange:l.onChange,defaultValue:l.value,className:"flex flex-col space-y-4 ml-3",children:[r.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[r.jsx(B,{children:r.jsx(J,{value:"space",checked:l.value==="space"})}),r.jsx(V,{className:"text-base",children:R[o].radio})]}),r.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[r.jsx(B,{children:r.jsx(J,{value:"package",checked:l.value==="package"})}),r.jsx(V,{className:"text-base",children:R[o].radio_2})]})]})})]})}),r.jsx(S,{label:R[o].label_1,name:"company_name",control:s.control,error:a.company_name}),r.jsx(S,{label:R[o].label_2,name:"rep_name",control:s.control,error:a.rep_name}),r.jsx(S,{label:R[o].label_3,name:"job_title",control:s.control,error:a.job_title}),r.jsx(S,{label:R[o].number_of_participants,type:"number",name:"participants_number",control:s.control,error:a.participants_number}),r.jsx(S,{label:R[o].label_4,name:"country",control:s.control,error:a.country}),r.jsx(S,{label:R[o].label_5,name:"email",control:s.control,error:a.email}),r.jsx(S,{label:R[o].label_6,name:"phone",control:s.control,error:a.phone}),r.jsx(S,{label:R[o].label_7,name:"website",control:s.control}),r.jsx(je,{control:s.control,name:"visa_support",render:({field:l})=>r.jsxs(D,{className:"space-y-5",children:[r.jsx(V,{className:"text-xl",children:R[o].visa}),r.jsx(B,{children:r.jsxs(pe,{onValueChange:l.onChange,defaultValue:l.value,className:"flex flex-col space-y-4 ml-3",children:[r.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[r.jsx(B,{children:r.jsx(J,{value:"yes",checked:l.value==="yes"})}),r.jsx(V,{className:"text-base",children:R[o].visa_radio})]}),r.jsxs(D,{className:"flex items-center space-x-5 space-y-0 ",children:[r.jsx(B,{children:r.jsx(J,{value:"no",checked:l.value==="no"})}),r.jsx(V,{className:"text-base",children:R[o].visa_radio_2})]})]})})]})}),r.jsx(W,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?r.jsx(De,{className:"animate-spin"}):R[o].button})]})})}),e&&r.jsx(Ve,{delay:.3})]})}const Qa=xs([{element:r.jsx(Wn,{}),path:"/",children:[{element:r.jsx(Xn,{}),path:""},{element:r.jsx(La,{}),path:"about"},{element:r.jsx(Oa,{}),path:"B2B-B2G"},{element:r.jsx(Fa,{}),path:"become-sponsor"},{element:r.jsx(Ja,{}),path:"stend-form"},{element:r.jsx(Da,{}),path:"contacts"},{element:r.jsx(Ga,{}),path:"news"},{element:r.jsx(Ka,{}),path:"news/:id"},{element:r.jsx(Ha,{}),path:"participants"},{element:r.jsx(Ba,{}),path:"media"}]}]),Wa=new ds;vs.createRoot(document.getElementById("root")).render(r.jsx(y.StrictMode,{children:r.jsx(ps,{client:Wa,children:r.jsx(bs,{router:Qa})})})); +import{u as T,i as Tt,j as a,H as Ft,F as It,a as $e,g as $t,c as ee,A as At,L as ie,C as oe,b as Dt,d as Vt,e as Bt,f as Mt,h as Kt,k as Gt,z as b,l as Ce,m as de,S as Je,n as ut,o as Ut,P as he,p as W,q as Ht,r as zt,s as qt,t as Ae,v as me,w as j,x as je,y as D,B as V,D as Z,E as B,G as S,I as Y,J as De,K as Re,M as _e,N as Pe,O as re,Q as Ve,R as Jt,T as ge,U as Qt,V as Wt,W as Yt,X as Xt,Y as Zt,Z as es,_ as ts,$ as Be,a0 as ss,a1 as ns,a2 as as,a3 as rs,a4 as is,a5 as dt,a6 as os,a7 as ls,a8 as cs,a9 as Qe,aa as us,ab as ds,ac as ps}from"./ui-library-CZovjNqt.js";import{f as fs,a as y,O as hs,L as ms,e as se,u as gs,g as xs,h as bs}from"./react-vendor-Y0eyvj1J.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))s(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function t(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerPolicy&&(r.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?r.credentials="include":n.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(n){if(n.ep)return;n.ep=!0;const r=t(n);fetch(n.href,r)}})();var ye={},We;function ys(){if(We)return ye;We=1;var i=fs();return ye.createRoot=i.createRoot,ye.hydrateRoot=i.hydrateRoot,ye}var vs=ys();const v=i=>typeof i=="string",ce=()=>{let i,e;const t=new Promise((s,n)=>{i=s,e=n});return t.resolve=i,t.reject=e,t},Ye=i=>i==null?"":""+i,js=(i,e,t)=>{i.forEach(s=>{e[s]&&(t[s]=e[s])})},Ss=/###/g,Xe=i=>i&&i.indexOf("###")>-1?i.replace(Ss,"."):i,Ze=i=>!i||v(i),ue=(i,e,t)=>{const s=v(e)?e.split("."):e;let n=0;for(;n{const{obj:s,k:n}=ue(i,e,Object);if(s!==void 0||e.length===1){s[n]=t;return}let r=e[e.length-1],o=e.slice(0,e.length-1),l=ue(i,o,Object);for(;l.obj===void 0&&o.length;)r=`${o[o.length-1]}.${r}`,o=o.slice(0,o.length-1),l=ue(i,o,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${r}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${r}`]=t},ws=(i,e,t,s)=>{const{obj:n,k:r}=ue(i,e,Object);n[r]=n[r]||[],n[r].push(t)},Se=(i,e)=>{const{obj:t,k:s}=ue(i,e);if(t&&Object.prototype.hasOwnProperty.call(t,s))return t[s]},Ns=(i,e,t)=>{const s=Se(i,t);return s!==void 0?s:Se(e,t)},pt=(i,e,t)=>{for(const s in e)s!=="__proto__"&&s!=="constructor"&&(s in i?v(i[s])||i[s]instanceof String||v(e[s])||e[s]instanceof String?t&&(i[s]=e[s]):pt(i[s],e[s],t):i[s]=e[s]);return i},ne=i=>i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var ks={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Cs=i=>v(i)?i.replace(/[&<>"'\/]/g,e=>ks[e]):i;class Rs{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(t!==void 0)return t;const s=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,s),this.regExpQueue.push(e),s}}const _s=[" ",",","?","!",";"],Ps=new Rs(20),Os=(i,e,t)=>{e=e||"",t=t||"";const s=_s.filter(o=>e.indexOf(o)<0&&t.indexOf(o)<0);if(s.length===0)return!0;const n=Ps.getRegExp(`(${s.map(o=>o==="?"?"\\?":o).join("|")})`);let r=!n.test(i);if(!r){const o=i.indexOf(t);o>0&&!n.test(i.substring(0,o))&&(r=!0)}return r},Fe=function(i,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!i)return;if(i[e])return Object.prototype.hasOwnProperty.call(i,e)?i[e]:void 0;const s=e.split(t);let n=i;for(let r=0;r-1&&ci==null?void 0:i.replace("_","-"),Ls={type:"logger",log(i){this.output("log",i)},warn(i){this.output("warn",i)},error(i){this.output("error",i)},output(i,e){var t,s;(s=(t=console==null?void 0:console[i])==null?void 0:t.apply)==null||s.call(t,console,e)}};class Ne{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Ls,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),s=0;s{this.observers[s]||(this.observers[s]=new Map);const n=this.observers[s].get(t)||0;this.observers[s].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n{let[l,c]=o;for(let u=0;u{let[l,c]=o;for(let u=0;u1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,s){var u,p;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const r=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,o=n.ignoreJSONStructure!==void 0?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;e.indexOf(".")>-1?l=e.split("."):(l=[e,t],s&&(Array.isArray(s)?l.push(...s):v(s)&&r?l.push(...s.split(r)):l.push(s)));const c=Se(this.data,l);return!c&&!t&&!s&&e.indexOf(".")>-1&&(e=l[0],t=l[1],s=l.slice(2).join(".")),c||!o||!v(s)?c:Fe((p=(u=this.data)==null?void 0:u[e])==null?void 0:p[t],s,r)}addResource(e,t,s,n){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let l=[e,t];s&&(l=l.concat(o?s.split(o):s)),e.indexOf(".")>-1&&(l=e.split("."),n=t,t=l[1]),this.addNamespaces(t),et(this.data,l,n),r.silent||this.emit("added",e,t,s,n)}addResources(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const r in s)(v(s[r])||Array.isArray(s[r]))&&this.addResource(e,t,r,s[r],{silent:!0});n.silent||this.emit("added",e,t,s)}addResourceBundle(e,t,s,n,r){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[e,t];e.indexOf(".")>-1&&(l=e.split("."),n=s,s=t,t=l[1]),this.addNamespaces(t);let c=Se(this.data,l)||{};o.skipCopy||(s=JSON.parse(JSON.stringify(s))),n?pt(c,s,r):c={...c,...s},et(this.data,l,c),o.silent||this.emit("added",e,t,s)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(n=>t[n]&&Object.keys(t[n]).length>0)}toJSON(){return this.data}}var ft={processors:{},addPostProcessor(i){this.processors[i.name]=i},handle(i,e,t,s,n){return i.forEach(r=>{var o;e=((o=this.processors[r])==null?void 0:o.process(e,t,s,n))??e}),e}};const st={},nt=i=>!v(i)&&typeof i!="boolean"&&typeof i!="number";class ke extends Oe{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),js(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=H.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const s=this.resolve(e,t);return(s==null?void 0:s.res)!==void 0}extractFromKey(e,t){let s=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");const n=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let r=t.ns||this.options.defaultNS||[];const o=s&&e.indexOf(s)>-1,l=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Os(e,s,n);if(o&&!l){const c=e.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:e,namespaces:v(r)?[r]:r};const u=e.split(s);(s!==n||s===n&&this.options.ns.indexOf(u[0])>-1)&&(r=u.shift()),e=u.join(n)}return{key:e,namespaces:v(r)?[r]:r}}translate(e,t,s){if(typeof t!="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),typeof t=="object"&&(t={...t}),t||(t={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const n=t.returnDetails!==void 0?t.returnDetails:this.options.returnDetails,r=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(e[e.length-1],t),c=l[l.length-1],u=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((u==null?void 0:u.toLowerCase())==="cimode"){if(p){const L=t.nsSeparator||this.options.nsSeparator;return n?{res:`${c}${L}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:`${c}${L}${o}`}return n?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:o}const h=this.resolve(e,t);let d=h==null?void 0:h.res;const m=(h==null?void 0:h.usedKey)||o,f=(h==null?void 0:h.exactUsedKey)||o,g=["[object Number]","[object Function]","[object RegExp]"],x=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject,N=t.count!==void 0&&!v(t.count),O=ke.hasDefaultValue(t),P=N?this.pluralResolver.getSuffix(u,t.count,t):"",F=t.ordinal&&N?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",_=N&&!t.ordinal&&t.count===0,C=_&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${P}`]||t[`defaultValue${F}`]||t.defaultValue;let k=d;w&&!d&&O&&(k=C);const M=nt(k),q=Object.prototype.toString.apply(k);if(w&&k&&M&&g.indexOf(q)<0&&!(v(x)&&Array.isArray(k))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const L=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,k,{...t,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return n?(h.res=L,h.usedParams=this.getUsedParamsDetails(t),h):L}if(r){const L=Array.isArray(k),I=L?[]:{},xe=L?f:m;for(const K in k)if(Object.prototype.hasOwnProperty.call(k,K)){const G=`${xe}${r}${K}`;O&&!d?I[K]=this.translate(G,{...t,defaultValue:nt(C)?C[K]:void 0,joinArrays:!1,ns:l}):I[K]=this.translate(G,{...t,joinArrays:!1,ns:l}),I[K]===G&&(I[K]=k[K])}d=I}}else if(w&&v(x)&&Array.isArray(d))d=d.join(x),d&&(d=this.extendTranslation(d,e,t,s));else{let L=!1,I=!1;!this.isValidLookup(d)&&O&&(L=!0,d=C),this.isValidLookup(d)||(I=!0,d=o);const K=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&I?void 0:d,G=O&&C!==d&&this.options.updateMissing;if(I||L||G){if(this.logger.log(G?"updateKey":"missingKey",u,c,o,G?C:d),r){const A=this.resolve(o,{...t,keySeparator:!1});A&&A.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let $=[];const be=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&be&&be[0])for(let A=0;A{var qe;const ze=O&&le!==d?le:K;this.options.missingKeyHandler?this.options.missingKeyHandler(A,c,te,ze,G,t):(qe=this.backendConnector)!=null&&qe.saveMissing&&this.backendConnector.saveMissing(A,c,te,ze,G,t),this.emit("missingKey",A,c,te,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&N?$.forEach(A=>{const te=this.pluralResolver.getSuffixes(A,t);_&&t[`defaultValue${this.options.pluralSeparator}zero`]&&te.indexOf(`${this.options.pluralSeparator}zero`)<0&&te.push(`${this.options.pluralSeparator}zero`),te.forEach(le=>{He([A],o+le,t[`defaultValue${le}`]||C)})}):He($,o,C))}d=this.extendTranslation(d,e,t,h,s),I&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${c}:${o}`),(I||L)&&this.options.parseMissingKeyHandler&&(d=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,L?d:void 0))}return n?(h.res=d,h.usedParams=this.getUsedParamsDetails(t),h):d}extendTranslation(e,t,s,n,r){var u,p;var o=this;if((u=this.i18nFormat)!=null&&u.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const h=v(e)&&(((p=s==null?void 0:s.interpolation)==null?void 0:p.skipOnVariables)!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(h){const f=e.match(this.interpolator.nestingRegexp);d=f&&f.length}let m=s.replace&&!v(s.replace)?s.replace:s;if(this.options.interpolation.defaultVariables&&(m={...this.options.interpolation.defaultVariables,...m}),e=this.interpolator.interpolate(e,m,s.lng||this.language||n.usedLng,s),h){const f=e.match(this.interpolator.nestingRegexp),g=f&&f.length;d1&&arguments[1]!==void 0?arguments[1]:{},s,n,r,o,l;return v(e)&&(e=[e]),e.forEach(c=>{if(this.isValidLookup(s))return;const u=this.extractFromKey(c,t),p=u.key;n=p;let h=u.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const d=t.count!==void 0&&!v(t.count),m=d&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(v(t.context)||typeof t.context=="number")&&t.context!=="",g=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);h.forEach(x=>{var w,N;this.isValidLookup(s)||(l=x,!st[`${g[0]}-${x}`]&&((w=this.utils)!=null&&w.hasLoadedNamespace)&&!((N=this.utils)!=null&&N.hasLoadedNamespace(l))&&(st[`${g[0]}-${x}`]=!0,this.logger.warn(`key "${n}" for languages "${g.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach(O=>{var _;if(this.isValidLookup(s))return;o=O;const P=[p];if((_=this.i18nFormat)!=null&&_.addLookupKeys)this.i18nFormat.addLookupKeys(P,p,O,x,t);else{let C;d&&(C=this.pluralResolver.getSuffix(O,t.count,t));const k=`${this.options.pluralSeparator}zero`,M=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(P.push(p+C),t.ordinal&&C.indexOf(M)===0&&P.push(p+C.replace(M,this.options.pluralSeparator)),m&&P.push(p+k)),f){const q=`${p}${this.options.contextSeparator}${t.context}`;P.push(q),d&&(P.push(q+C),t.ordinal&&C.indexOf(M)===0&&P.push(q+C.replace(M,this.options.pluralSeparator)),m&&P.push(q+k))}}let F;for(;F=P.pop();)this.isValidLookup(s)||(r=F,s=this.getResource(O,x,F,t))}))})}),{res:s,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:l}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,s){var r;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(r=this.i18nFormat)!=null&&r.getResource?this.i18nFormat.getResource(e,t,s,n):this.resourceStore.getResource(e,t,s,n)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],s=e.replace&&!v(e.replace);let n=s?e.replace:e;if(s&&typeof e.count<"u"&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!s){n={...n};for(const r of t)delete n[r]}return n}static hasDefaultValue(e){const t="defaultValue";for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&t===s.substring(0,t.length)&&e[s]!==void 0)return!0;return!1}}class at{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=H.create("languageUtils")}getScriptPartFromCode(e){if(e=we(e),!e||e.indexOf("-")<0)return null;const t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=we(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(v(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(s=>{if(t)return;const n=this.formatLanguageCode(s);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(s=>{if(t)return;const n=this.getLanguagePartFromCode(s);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(r=>{if(r===n)return r;if(!(r.indexOf("-")<0&&n.indexOf("-")<0)&&(r.indexOf("-")>0&&n.indexOf("-")<0&&r.substring(0,r.indexOf("-"))===n||r.indexOf(n)===0&&n.length>1))return r})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),v(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let s=e[t];return s||(s=e[this.getScriptPartFromCode(t)]),s||(s=e[this.formatLanguageCode(t)]),s||(s=e[this.getLanguagePartFromCode(t)]),s||(s=e.default),s||[]}toResolveHierarchy(e,t){const s=this.getFallbackCodes(t||this.options.fallbackLng||[],e),n=[],r=o=>{o&&(this.isSupportedCode(o)?n.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return v(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&r(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&r(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&r(this.getLanguagePartFromCode(e))):v(e)&&r(this.formatLanguageCode(e)),s.forEach(o=>{n.indexOf(o)<0&&r(this.formatLanguageCode(o))}),n}}const rt={zero:0,one:1,two:2,few:3,many:4,other:5},it={select:i=>i===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Es{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=H.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=we(e==="dev"?"en":e),n=t.ordinal?"ordinal":"cardinal",r=JSON.stringify({cleanedCode:s,type:n});if(r in this.pluralRulesCache)return this.pluralRulesCache[r];let o;try{o=new Intl.PluralRules(s,{type:n})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),it;if(!e.match(/-|_/))return it;const c=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(c,t)}return this.pluralRulesCache[r]=o,o}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=this.getRule(e,t);return s||(s=this.getRule("dev",t)),(s==null?void 0:s.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,s).map(n=>`${t}${n}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=this.getRule(e,t);return s||(s=this.getRule("dev",t)),s?s.resolvedOptions().pluralCategories.sort((n,r)=>rt[n]-rt[r]).map(n=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${n}`):[]}getSuffix(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=this.getRule(e,s);return n?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,s))}}const ot=function(i,e,t){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,r=Ns(i,e,t);return!r&&n&&v(t)&&(r=Fe(i,t,s),r===void 0&&(r=Fe(e,t,s))),r},Ee=i=>i.replace(/\$/g,"$$$$");class Ts{constructor(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=H.create("interpolator"),this.options=e,this.format=((t=e==null?void 0:e.interpolation)==null?void 0:t.format)||(s=>s),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:s,useRawValueToEscape:n,prefix:r,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:u,unescapeSuffix:p,unescapePrefix:h,nestingPrefix:d,nestingPrefixEscaped:m,nestingSuffix:f,nestingSuffixEscaped:g,nestingOptionsSeparator:x,maxReplaces:w,alwaysFormat:N}=e.interpolation;this.escape=t!==void 0?t:Cs,this.escapeValue=s!==void 0?s:!0,this.useRawValueToEscape=n!==void 0?n:!1,this.prefix=r?ne(r):o||"{{",this.suffix=l?ne(l):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=p?"":h||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=d?ne(d):m||ne("$t("),this.nestingSuffix=f?ne(f):g||ne(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=w||1e3,this.alwaysFormat=N!==void 0?N:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,s)=>(t==null?void 0:t.source)===s?(t.lastIndex=0,t):new RegExp(s,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,s,n){var m;let r,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=f=>{if(f.indexOf(this.formatSeparator)<0){const N=ot(t,c,f,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(N,void 0,s,{...n,...t,interpolationkey:f}):N}const g=f.split(this.formatSeparator),x=g.shift().trim(),w=g.join(this.formatSeparator).trim();return this.format(ot(t,c,x,this.options.keySeparator,this.options.ignoreJSONStructure),w,s,{...n,...t,interpolationkey:x})};this.resetRegExp();const p=(n==null?void 0:n.missingInterpolationHandler)||this.options.missingInterpolationHandler,h=((m=n==null?void 0:n.interpolation)==null?void 0:m.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:f=>Ee(f)},{regex:this.regexp,safeValue:f=>this.escapeValue?Ee(this.escape(f)):Ee(f)}].forEach(f=>{for(l=0;r=f.regex.exec(e);){const g=r[1].trim();if(o=u(g),o===void 0)if(typeof p=="function"){const w=p(e,r,n);o=v(w)?w:""}else if(n&&Object.prototype.hasOwnProperty.call(n,g))o="";else if(h){o=r[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),o="";else!v(o)&&!this.useRawValueToEscape&&(o=Ye(o));const x=f.safeValue(o);if(e=e.replace(r[0],x),h?(f.regex.lastIndex+=o.length,f.regex.lastIndex-=r[0].length):f.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),e}nest(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,r,o;const l=(c,u)=>{const p=this.nestingOptionsSeparator;if(c.indexOf(p)<0)return c;const h=c.split(new RegExp(`${p}[ ]*{`));let d=`{${h[1]}`;c=h[0],d=this.interpolate(d,o);const m=d.match(/'/g),f=d.match(/"/g);(((m==null?void 0:m.length)??0)%2===0&&!f||f.length%2!==0)&&(d=d.replace(/'/g,'"'));try{o=JSON.parse(d),u&&(o={...u,...o})}catch(g){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,g),`${c}${p}${d}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c};for(;n=this.nestingRegexp.exec(e);){let c=[];o={...s},o=o.replace&&!v(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(n[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(n[1])){const p=n[1].split(this.formatSeparator).map(h=>h.trim());n[1]=p.shift(),c=p,u=!0}if(r=t(l.call(this,n[1].trim(),o),o),r&&n[0]===e&&!v(r))return r;v(r)||(r=Ye(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),u&&(r=c.reduce((p,h)=>this.format(p,h,s.lng,{...s,interpolationkey:n[1].trim()}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}const Fs=i=>{let e=i.toLowerCase().trim();const t={};if(i.indexOf("(")>-1){const s=i.split("(");e=s[0].toLowerCase().trim();const n=s[1].substring(0,s[1].length-1);e==="currency"&&n.indexOf(":")<0?t.currency||(t.currency=n.trim()):e==="relativetime"&&n.indexOf(":")<0?t.range||(t.range=n.trim()):n.split(";").forEach(o=>{if(o){const[l,...c]=o.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,""),p=l.trim();t[p]||(t[p]=u),u==="false"&&(t[p]=!1),u==="true"&&(t[p]=!0),isNaN(u)||(t[p]=parseInt(u,10))}})}return{formatName:e,formatOptions:t}},ae=i=>{const e={};return(t,s,n)=>{let r=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(r={...r,[n.interpolationkey]:void 0});const o=s+JSON.stringify(r);let l=e[o];return l||(l=i(we(s),n),e[o]=l),l(t)}};class Is{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=H.create("formatter"),this.options=e,this.formats={number:ae((t,s)=>{const n=new Intl.NumberFormat(t,{...s});return r=>n.format(r)}),currency:ae((t,s)=>{const n=new Intl.NumberFormat(t,{...s,style:"currency"});return r=>n.format(r)}),datetime:ae((t,s)=>{const n=new Intl.DateTimeFormat(t,{...s});return r=>n.format(r)}),relativetime:ae((t,s)=>{const n=new Intl.RelativeTimeFormat(t,{...s});return r=>n.format(r,s.range||"day")}),list:ae((t,s)=>{const n=new Intl.ListFormat(t,{...s});return r=>n.format(r)})},this.init(e)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=ae(t)}format(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const r=t.split(this.formatSeparator);if(r.length>1&&r[0].indexOf("(")>1&&r[0].indexOf(")")<0&&r.find(l=>l.indexOf(")")>-1)){const l=r.findIndex(c=>c.indexOf(")")>-1);r[0]=[r[0],...r.splice(1,l)].join(this.formatSeparator)}return r.reduce((l,c)=>{var h;const{formatName:u,formatOptions:p}=Fs(c);if(this.formats[u]){let d=l;try{const m=((h=n==null?void 0:n.formatParams)==null?void 0:h[n.interpolationkey])||{},f=m.locale||m.lng||n.locale||n.lng||s;d=this.formats[u](l,f,{...p,...n,...m})}catch(m){this.logger.warn(m)}return d}else this.logger.warn(`there was no format function for ${u}`);return l},e)}}const $s=(i,e)=>{i.pending[e]!==void 0&&(delete i.pending[e],i.pendingCount--)};class As extends Oe{constructor(e,t,s){var r,o;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=s,this.languageUtils=s.languageUtils,this.options=n,this.logger=H.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],(o=(r=this.backend)==null?void 0:r.init)==null||o.call(r,s,n.backend,n)}queueLoad(e,t,s,n){const r={},o={},l={},c={};return e.forEach(u=>{let p=!0;t.forEach(h=>{const d=`${u}|${h}`;!s.reload&&this.store.hasResourceBundle(u,h)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?o[d]===void 0&&(o[d]=!0):(this.state[d]=1,p=!1,o[d]===void 0&&(o[d]=!0),r[d]===void 0&&(r[d]=!0),c[h]===void 0&&(c[h]=!0)))}),p||(l[u]=!0)}),(Object.keys(r).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(r),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(e,t,s){const n=e.split("|"),r=n[0],o=n[1];t&&this.emit("failedLoading",r,o,t),!t&&s&&this.store.addResourceBundle(r,o,s,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&s&&(this.state[e]=0);const l={};this.queue.forEach(c=>{ws(c.loaded,[r],o),$s(c,e),t&&c.errors.push(t),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{l[u]||(l[u]={});const p=c.loaded[u];p.length&&p.forEach(h=>{l[u][h]===void 0&&(l[u][h]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:s,tried:n,wait:r,callback:o});return}this.readingCalls++;const l=(u,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(u&&p&&n{this.read.call(this,e,t,s,n+1,r*2,o)},r);return}o(u,p)},c=this.backend[s].bind(this.backend);if(c.length===2){try{const u=c(e,t);u&&typeof u.then=="function"?u.then(p=>l(null,p)).catch(l):l(null,u)}catch(u){l(u)}return}return c(e,t,l)}prepareLoading(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();v(e)&&(e=this.languageUtils.toResolveHierarchy(e)),v(t)&&(t=[t]);const r=this.queueLoad(e,t,s,n);if(!r.toLoad.length)return r.pending.length||n(),null;r.toLoad.forEach(o=>{this.loadOne(o)})}load(e,t,s){this.prepareLoading(e,t,{},s)}reload(e,t,s){this.prepareLoading(e,t,{reload:!0},s)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const s=e.split("|"),n=s[0],r=s[1];this.read(n,r,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${t}loading namespace ${r} for language ${n} failed`,o),!o&&l&&this.logger.log(`${t}loaded namespace ${r} for language ${n}`,l),this.loaded(e,o,l)})}saveMissing(e,t,s,n,r){var c,u,p,h,d;let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((u=(c=this.services)==null?void 0:c.utils)!=null&&u.hasLoadedNamespace&&!((h=(p=this.services)==null?void 0:p.utils)!=null&&h.hasLoadedNamespace(t))){this.logger.warn(`did not save key "${s}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(s==null||s==="")){if((d=this.backend)!=null&&d.create){const m={...o,isUpdate:r},f=this.backend.create.bind(this.backend);if(f.length<6)try{let g;f.length===5?g=f(e,t,s,n,m):g=f(e,t,s,n),g&&typeof g.then=="function"?g.then(x=>l(null,x)).catch(l):l(null,g)}catch(g){l(g)}else f(e,t,s,n,l,m)}!e||!e[0]||this.store.addResource(e[0],t,s,n)}}}const lt=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:i=>{let e={};if(typeof i[1]=="object"&&(e=i[1]),v(i[1])&&(e.defaultValue=i[1]),v(i[2])&&(e.tDescription=i[2]),typeof i[2]=="object"||typeof i[3]=="object"){const t=i[3]||i[2];Object.keys(t).forEach(s=>{e[s]=t[s]})}return e},interpolation:{escapeValue:!0,format:i=>i,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),ct=i=>{var e,t;return v(i.ns)&&(i.ns=[i.ns]),v(i.fallbackLng)&&(i.fallbackLng=[i.fallbackLng]),v(i.fallbackNS)&&(i.fallbackNS=[i.fallbackNS]),((t=(e=i.supportedLngs)==null?void 0:e.indexOf)==null?void 0:t.call(e,"cimode"))<0&&(i.supportedLngs=i.supportedLngs.concat(["cimode"])),typeof i.initImmediate=="boolean"&&(i.initAsync=i.initImmediate),i},ve=()=>{},Ds=i=>{Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach(t=>{typeof i[t]=="function"&&(i[t]=i[t].bind(i))})};class pe extends Oe{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=ct(e),this.services={},this.logger=H,this.modules={external:[]},Ds(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t=="function"&&(s=t,t={}),t.defaultNS==null&&t.ns&&(v(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=lt();this.options={...n,...this.options,...ct(t)},this.options.interpolation={...n.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const r=p=>p?typeof p=="function"?new p:p:null;if(!this.options.isClone){this.modules.logger?H.init(r(this.modules.logger),this.options):H.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:p=Is;const h=new at(this.options);this.store=new tt(this.options.resources,this.options);const d=this.services;d.logger=H,d.resourceStore=this.store,d.languageUtils=h,d.pluralResolver=new Es(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(d.formatter=r(p),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new Ts(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new As(r(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(m){for(var f=arguments.length,g=new Array(f>1?f-1:0),x=1;x1?f-1:0),x=1;x{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,s||(s=ve),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const p=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);p.length>0&&p[0]!=="dev"&&(this.options.lng=p[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(p=>{this[p]=function(){return e.store[p](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(p=>{this[p]=function(){return e.store[p](...arguments),e}});const c=ce(),u=()=>{const p=(h,d)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(d),s(h,d)};if(this.languages&&!this.isInitialized)return p(null,this.t.bind(this));this.changeLanguage(this.options.lng,p)};return this.options.resources||!this.options.initAsync?u():setTimeout(u,0),c}loadResources(e){var r,o;let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ve;const n=v(e)?e:this.language;if(typeof e=="function"&&(s=e),!this.options.resources||this.options.partialBundledLanguages){if((n==null?void 0:n.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return s();const l=[],c=u=>{if(!u||u==="cimode")return;this.services.languageUtils.toResolveHierarchy(u).forEach(h=>{h!=="cimode"&&l.indexOf(h)<0&&l.push(h)})};n?c(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(p=>c(p)),(o=(r=this.options.preload)==null?void 0:r.forEach)==null||o.call(r,u=>c(u)),this.services.backendConnector.load(l,this.options.ns,u=>{!u&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),s(u)})}else s(null)}reloadResources(e,t,s){const n=ce();return typeof e=="function"&&(s=e,e=void 0),typeof t=="function"&&(s=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),s||(s=ve),this.services.backendConnector.reload(e,t,r=>{n.resolve(),s(r)}),n}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&ft.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}}changeLanguage(e,t){var s=this;this.isLanguageChangingTo=e;const n=ce();this.emit("languageChanging",e);const r=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?(r(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,n.resolve(function(){return s.t(...arguments)}),t&&t(c,function(){return s.t(...arguments)})},l=c=>{var p,h;!e&&!c&&this.services.languageDetector&&(c=[]);const u=v(c)?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||r(u),this.translator.language||this.translator.changeLanguage(u),(h=(p=this.services.languageDetector)==null?void 0:p.cacheUserLanguage)==null||h.call(p,u)),this.loadResources(u,d=>{o(d,u)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e),n}getFixedT(e,t,s){var n=this;const r=function(o,l){let c;if(typeof l!="object"){for(var u=arguments.length,p=new Array(u>2?u-2:0),h=2;h`${c.keyPrefix}${d}${f}`):m=c.keyPrefix?`${c.keyPrefix}${d}${o}`:o,n.t(m,c)};return v(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=s,r}t(){var n;for(var e=arguments.length,t=new Array(e),s=0;s1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const s=t.lng||this.resolvedLanguage||this.languages[0],n=this.options?this.options.fallbackLng:!1,r=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const u=this.services.backendConnector.state[`${l}|${c}`];return u===-1||u===0||u===2};if(t.precheck){const l=t.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(s,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(s,e)&&(!n||o(r,e)))}loadNamespaces(e,t){const s=ce();return this.options.ns?(v(e)&&(e=[e]),e.forEach(n=>{this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}),this.loadResources(n=>{s.resolve(),t&&t(n)}),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){const s=ce();v(e)&&(e=[e]);const n=this.options.preload||[],r=e.filter(o=>n.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return r.length?(this.options.preload=n.concat(r),this.loadResources(o=>{s.resolve(),t&&t(o)}),s):(t&&t(),Promise.resolve())}dir(e){var n,r;if(e||(e=this.resolvedLanguage||(((n=this.languages)==null?void 0:n.length)>0?this.languages[0]:this.language)),!e)return"rtl";const t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],s=((r=this.services)==null?void 0:r.languageUtils)||new at(lt());return t.indexOf(s.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new pe(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ve;const s=e.forkResourceStore;s&&delete e.forkResourceStore;const n={...this.options,...e,isClone:!0},r=new pe(n);if((e.debug!==void 0||e.prefix!==void 0)&&(r.logger=r.logger.clone(e)),["store","services","language"].forEach(l=>{r[l]=this[l]}),r.services={...this.services},r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},s){const l=Object.keys(this.store.data).reduce((c,u)=>(c[u]={...this.store.data[u]},Object.keys(c[u]).reduce((p,h)=>(p[h]={...c[u][h]},p),{})),{});r.store=new tt(l,n),r.services.resourceStore=r.store}return r.translator=new ke(r.services,n),r.translator.on("*",function(l){for(var c=arguments.length,u=new Array(c>1?c-1:0),p=1;p{const i=T(e=>e.lang);return y.useEffect(()=>{E.changeLanguage(i)},[i]),null};function Wn(){return a.jsxs("main",{className:"flex flex-col min-h-screen",children:[a.jsx(Qn,{}),a.jsx(Ft,{}),a.jsx("div",{className:"flex-auto",children:a.jsx(hs,{})}),a.jsx(It,{})]})}const Me=i=>{const{data:e,isPending:t}=$e({queryKey:["news",i],queryFn:()=>$t(i),select:({data:s})=>s.data});return{data:e,isPending:t}},Ke=({className:i,featured_images:e,title:t,id:s,published_at:n})=>{var r;return a.jsx(ms,{to:`/news/${s}`,children:a.jsxs("article",{className:ee("bg-surface_container justify-between h-[400px] flex flex-col gap-6",i),children:[a.jsxs("div",{className:"flex flex-col gap-4 px-6 pt-6",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx("h4",{children:n.slice(0,10).split("-").reverse().join(".")}),a.jsx(At,{})]}),a.jsx("hr",{}),a.jsx("h3",{className:"text-[20px] leading-[130%] line-clamp-3",children:t})]}),a.jsx("img",{src:((r=e==null?void 0:e[0])==null?void 0:r.path)||"",alt:"news image",className:"w-full h-[220px] object-cover"})]})})},Yn=()=>{const i=T(s=>s.lang),{data:e,isPending:t}=Me(i);return t?a.jsx(ie,{}):a.jsx("section",{className:ee("md:mb-[120px] mb-20"),children:a.jsxs(oe,{children:[a.jsx("h2",{className:"h2 text-center md:mb-8 mb-6",children:i==="en"?"News":"Новости"}),a.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:e==null?void 0:e.map(s=>y.createElement(Ke,{...s,key:s.title}))})]})})};function Xn(){return a.jsxs("div",{className:"flex flex-col gap-20",children:[a.jsx(Dt,{}),a.jsx(Vt,{}),a.jsx(Bt,{}),a.jsx(Mt,{}),a.jsx(Kt,{}),a.jsx(Gt,{}),a.jsx(Yn,{})]})}const Zn=b.object({type:b.string(),company_name:b.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),representative_name:b.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:b.string().min(3,{message:"Должность должна быть не менее 3 символов"}),participants_number:b.string().min(1,{message:"Укажите количество участников"}),country:b.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email_address:b.string().email({message:"Укажите корректный email"}),phone_number:b.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:b.string().optional(),meeting_objective:b.string().min(3,{message:"Укажите цель встречи"}),proposal_description:b.string().optional(),government_agency:b.string().optional(),sector_industry:b.string().optional(),key_services:b.string().optional(),government_experience:b.string().optional(),preferred_meeting_datetime:b.string().optional(),meeting_mode:b.string().optional(),language_preference:b.string().optional(),technical_requirements:b.string().optional(),company_profile:b.custom(i=>i instanceof File,{message:"Выберите корректный файл"}).refine(i=>i&&["image/jpeg","image/png","application/pdf"].includes(i.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional(),proposal_presentation:b.custom(i=>i instanceof File,{message:"Выберите корректный файл"}).refine(i=>i&&["image/jpeg","image/png","application/pdf"].includes(i.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional(),relevant_certification:b.custom(i=>i instanceof File,{message:"Выберите корректный файл"}).refine(i=>i&&["image/jpeg","image/png","application/pdf"].includes(i.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional()}),ea={type:"B2B",company_name:"",representative_name:"",job_title:"",participants_number:"",country:"",email_address:"",phone_number:"",website:"",meeting_objective:"",proposal_description:"",government_agency:"",sector_industry:"",key_services:"",government_experience:"",preferred_meeting_datetime:"",meeting_mode:"",language_preference:"",technical_requirements:""};function ta(i){const e=i+"CollectionProvider",[t,s]=Ce(e),[n,r]=t(e,{collectionRef:{current:null},itemMap:new Map}),o=m=>{const{scope:f,children:g}=m,x=se.useRef(null),w=se.useRef(new Map).current;return a.jsx(n,{scope:f,itemMap:w,collectionRef:x,children:g})};o.displayName=e;const l=i+"CollectionSlot",c=se.forwardRef((m,f)=>{const{scope:g,children:x}=m,w=r(l,g),N=de(f,w.collectionRef);return a.jsx(Je,{ref:N,children:x})});c.displayName=l;const u=i+"CollectionItemSlot",p="data-radix-collection-item",h=se.forwardRef((m,f)=>{const{scope:g,children:x,...w}=m,N=se.useRef(null),O=de(f,N),P=r(u,g);return se.useEffect(()=>(P.itemMap.set(N,{ref:N,...w}),()=>void P.itemMap.delete(N))),a.jsx(Je,{[p]:"",ref:O,children:x})});h.displayName=u;function d(m){const f=r(i+"CollectionConsumer",m);return se.useCallback(()=>{const x=f.collectionRef.current;if(!x)return[];const w=Array.from(x.querySelectorAll(`[${p}]`));return Array.from(f.itemMap.values()).sort((P,F)=>w.indexOf(P.ref.current)-w.indexOf(F.ref.current))},[f.collectionRef,f.itemMap])}return[{Provider:o,Slot:c,ItemSlot:h},d,s]}var sa=y.createContext(void 0);function ht(i){const e=y.useContext(sa);return i||e||"ltr"}var Te="rovingFocusGroup.onEntryFocus",na={bubbles:!1,cancelable:!0},Le="RovingFocusGroup",[Ie,mt,aa]=ta(Le),[ra,gt]=Ce(Le,[aa]),[ia,oa]=ra(Le),xt=y.forwardRef((i,e)=>a.jsx(Ie.Provider,{scope:i.__scopeRovingFocusGroup,children:a.jsx(Ie.Slot,{scope:i.__scopeRovingFocusGroup,children:a.jsx(la,{...i,ref:e})})}));xt.displayName=Le;var la=y.forwardRef((i,e)=>{const{__scopeRovingFocusGroup:t,orientation:s,loop:n=!1,dir:r,currentTabStopId:o,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:p=!1,...h}=i,d=y.useRef(null),m=de(e,d),f=ht(r),[g=null,x]=ut({prop:o,defaultProp:l,onChange:c}),[w,N]=y.useState(!1),O=Ut(u),P=mt(t),F=y.useRef(!1),[_,C]=y.useState(0);return y.useEffect(()=>{const k=d.current;if(k)return k.addEventListener(Te,O),()=>k.removeEventListener(Te,O)},[O]),a.jsx(ia,{scope:t,orientation:s,dir:f,loop:n,currentTabStopId:g,onItemFocus:y.useCallback(k=>x(k),[x]),onItemShiftTab:y.useCallback(()=>N(!0),[]),onFocusableItemAdd:y.useCallback(()=>C(k=>k+1),[]),onFocusableItemRemove:y.useCallback(()=>C(k=>k-1),[]),children:a.jsx(he.div,{tabIndex:w||_===0?-1:0,"data-orientation":s,...h,ref:m,style:{outline:"none",...i.style},onMouseDown:W(i.onMouseDown,()=>{F.current=!0}),onFocus:W(i.onFocus,k=>{const M=!F.current;if(k.target===k.currentTarget&&M&&!w){const q=new CustomEvent(Te,na);if(k.currentTarget.dispatchEvent(q),!q.defaultPrevented){const L=P().filter($=>$.focusable),I=L.find($=>$.active),xe=L.find($=>$.id===g),G=[I,xe,...L].filter(Boolean).map($=>$.ref.current);vt(G,p)}}F.current=!1}),onBlur:W(i.onBlur,()=>N(!1))})})}),bt="RovingFocusGroupItem",yt=y.forwardRef((i,e)=>{const{__scopeRovingFocusGroup:t,focusable:s=!0,active:n=!1,tabStopId:r,...o}=i,l=Ht(),c=r||l,u=oa(bt,t),p=u.currentTabStopId===c,h=mt(t),{onFocusableItemAdd:d,onFocusableItemRemove:m}=u;return y.useEffect(()=>{if(s)return d(),()=>m()},[s,d,m]),a.jsx(Ie.ItemSlot,{scope:t,id:c,focusable:s,active:n,children:a.jsx(he.span,{tabIndex:p?0:-1,"data-orientation":u.orientation,...o,ref:e,onMouseDown:W(i.onMouseDown,f=>{s?u.onItemFocus(c):f.preventDefault()}),onFocus:W(i.onFocus,()=>u.onItemFocus(c)),onKeyDown:W(i.onKeyDown,f=>{if(f.key==="Tab"&&f.shiftKey){u.onItemShiftTab();return}if(f.target!==f.currentTarget)return;const g=da(f,u.orientation,u.dir);if(g!==void 0){if(f.metaKey||f.ctrlKey||f.altKey||f.shiftKey)return;f.preventDefault();let w=h().filter(N=>N.focusable).map(N=>N.ref.current);if(g==="last")w.reverse();else if(g==="prev"||g==="next"){g==="prev"&&w.reverse();const N=w.indexOf(f.currentTarget);w=u.loop?pa(w,N+1):w.slice(N+1)}setTimeout(()=>vt(w))}})})})});yt.displayName=bt;var ca={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ua(i,e){return e!=="rtl"?i:i==="ArrowLeft"?"ArrowRight":i==="ArrowRight"?"ArrowLeft":i}function da(i,e,t){const s=ua(i.key,t);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(s))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(s)))return ca[s]}function vt(i,e=!1){const t=document.activeElement;for(const s of i)if(s===t||(s.focus({preventScroll:e}),document.activeElement!==t))return}function pa(i,e){return i.map((t,s)=>i[(e+s)%i.length])}var fa=xt,ha=yt;function ma(i){const e=y.useRef({value:i,previous:i});return y.useMemo(()=>(e.current.value!==i&&(e.current.previous=e.current.value,e.current.value=i),e.current.previous),[i])}var Ge="Radio",[ga,jt]=Ce(Ge),[xa,ba]=ga(Ge),St=y.forwardRef((i,e)=>{const{__scopeRadio:t,name:s,checked:n=!1,required:r,disabled:o,value:l="on",onCheck:c,form:u,...p}=i,[h,d]=y.useState(null),m=de(e,x=>d(x)),f=y.useRef(!1),g=h?u||!!h.closest("form"):!0;return a.jsxs(xa,{scope:t,checked:n,disabled:o,children:[a.jsx(he.button,{type:"button",role:"radio","aria-checked":n,"data-state":kt(n),"data-disabled":o?"":void 0,disabled:o,value:l,...p,ref:m,onClick:W(i.onClick,x=>{n||c==null||c(),g&&(f.current=x.isPropagationStopped(),f.current||x.stopPropagation())})}),g&&a.jsx(ya,{control:h,bubbles:!f.current,name:s,value:l,checked:n,required:r,disabled:o,form:u,style:{transform:"translateX(-100%)"}})]})});St.displayName=Ge;var wt="RadioIndicator",Nt=y.forwardRef((i,e)=>{const{__scopeRadio:t,forceMount:s,...n}=i,r=ba(wt,t);return a.jsx(zt,{present:s||r.checked,children:a.jsx(he.span,{"data-state":kt(r.checked),"data-disabled":r.disabled?"":void 0,...n,ref:e})})});Nt.displayName=wt;var ya=i=>{const{control:e,checked:t,bubbles:s=!0,...n}=i,r=y.useRef(null),o=ma(t),l=qt(e);return y.useEffect(()=>{const c=r.current,u=window.HTMLInputElement.prototype,h=Object.getOwnPropertyDescriptor(u,"checked").set;if(o!==t&&h){const d=new Event("click",{bubbles:s});h.call(c,t),c.dispatchEvent(d)}},[o,t,s]),a.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:r,style:{...i.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function kt(i){return i?"checked":"unchecked"}var va=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Ue="RadioGroup",[ja,Za]=Ce(Ue,[gt,jt]),Ct=gt(),Rt=jt(),[Sa,wa]=ja(Ue),_t=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,name:s,defaultValue:n,value:r,required:o=!1,disabled:l=!1,orientation:c,dir:u,loop:p=!0,onValueChange:h,...d}=i,m=Ct(t),f=ht(u),[g,x]=ut({prop:r,defaultProp:n,onChange:h});return a.jsx(Sa,{scope:t,name:s,required:o,disabled:l,value:g,onValueChange:x,children:a.jsx(fa,{asChild:!0,...m,orientation:c,dir:f,loop:p,children:a.jsx(he.div,{role:"radiogroup","aria-required":o,"aria-orientation":c,"data-disabled":l?"":void 0,dir:f,...d,ref:e})})})});_t.displayName=Ue;var Pt="RadioGroupItem",Ot=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,disabled:s,...n}=i,r=wa(Pt,t),o=r.disabled||s,l=Ct(t),c=Rt(t),u=y.useRef(null),p=de(e,u),h=r.value===n.value,d=y.useRef(!1);return y.useEffect(()=>{const m=g=>{va.includes(g.key)&&(d.current=!0)},f=()=>d.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",f),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",f)}},[]),a.jsx(ha,{asChild:!0,...l,focusable:!o,active:h,children:a.jsx(St,{disabled:o,required:r.required,checked:h,...c,...n,name:r.name,ref:p,onCheck:()=>r.onValueChange(n.value),onKeyDown:W(m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:W(n.onFocus,()=>{var m;d.current&&((m=u.current)==null||m.click())})})})});Ot.displayName=Pt;var Na="RadioGroupIndicator",ka=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,...s}=i,n=Rt(t);return a.jsx(Nt,{...n,...s,ref:e})});ka.displayName=Na;var Lt=_t,Et=Ot;const fe=y.forwardRef(({className:i,...e},t)=>a.jsx(Lt,{className:ee("grid gap-2",i),...e,ref:t}));fe.displayName=Lt.displayName;const Q=y.forwardRef(({className:i,...e},t)=>a.jsx(Et,{ref:t,className:ee(e.checked?"border-primary after:bg-opacity-1":"border-on_surface bg-transparent after:bg-opacity-0","size-5 rounded-full border-[2px] after:size-[9px] after:bg-primary before:scale-0 hover:before:scale-100 before:size-10 before:rounded-full before:transition-all before:absolute before:-top-3 before:-left-3 before:bg-on_surface/[8%] duration-300 after:rounded-full flex relative items-center justify-center text-primary focus:outline-none focus-visible:ring-1 focus-visible:ring-ring transition-all disabled:cursor-not-allowed disabled:opacity-50",i),...e}));Q.displayName=Et.displayName;const J=[{h2:"Информация об экспоненте:",data:[{label:"Название компании/организации"},{label:"Имя представителя"},{label:"Название должности/позиция"},{label:"Количество участников"},{label:"Страна"},{label:"Email адрес"},{label:"Номер телефона"},{label:"Веб-сайт"}]},{h2:"Applicant Information:",data:[{label:"Company/Organization Name"},{label:"Name of Representative"},{label:"Job title/Position"},{label:"Number of the participants"},{label:"Country"},{label:"Email"},{label:"Phone number"},{label:"Website"}]}],X=[{h2:"Цели встречи:",secondH2:"Информация о компании/организации:",data:[{label:"Основная цель встречи"},{label:"Краткое описание вашего предложения/проекта/запроса"},{label:"Соответствующее государственное учреждение/департамент"},{label:"Отраслевая промышленность"},{label:"Ключевые услуги/продукты"},{label:"Предыдущий опыт работы с правительствами (если применимо)"}]},{h2:"Meeting Purpose: ",secondH2:"Company/Organization Profile:",data:[{label:"Primary objective of the meeting"},{label:"Brief description of your proposal/project/request"},{label:"Relevant government agency/department"},{label:"Sector Industry "},{label:"Key Services/Products"},{label:"Previous Experience working with Governments (if applicable)"}]}],U=[{h2:"Логистика встречи:",secondH2:"Логистика встречи:",subtitle:"(Пожалуйста приложите следующие документы, если это необходимо)",data:[{label:"Предпочтительная дата и время"},{label:"Предпочтительный способ проведения встречи (лично, виртуально (через zoom/ teams/другое), гибридный)"},{label:"Предпочитаемый язык (английский, туркменский, русский, другой)"},{label:"Дополнительные технические или логистические требования (например, аудио-видео оборудование, переводчики и т.д.)"},{label:"Название компании/организации"},{label:"Предложение/презентация"},{label:"Соответствующие сертификаты/лицензии"}],button:"Отправить"},{h2:"Приложения:",secondH2:"Attachments",subtitle:"(Please attach the following documents as applicable)",data:[{label:"Preferred date and time for the meeting"},{label:"Preferred mode of meeting (in-person, virtual (via zoom/teams/other), hybrid)"},{label:"Language preference (English, turkmen, Russian, other)"},{label:"Additional technical or logistical requirements (e.g. AV equipment, interpreters, etc)"},{label:"Company/organization profile"},{label:"Proposal presentation"},{label:"Relevant certification/licenses"}],button:"Send"}],z=i=>{y.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[i])},Ca=({handleNext:i})=>{z();const{control:e,formState:t}=Ae(),s=T(n=>n.lang);return a.jsxs(me.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,y:"100%",transition:{duration:.2}},className:"w-full",children:[a.jsx("h2",{className:"h2 mb-8",children:J[j(s)].h2}),a.jsxs("div",{className:"flex flex-col gap-8",children:[a.jsx(je,{defaultValue:1,control:e,name:"type",render:({field:n})=>a.jsxs(D,{className:"space-y-3",children:[a.jsx(V,{className:"text-xl",children:s===Z.RU?"Тип:":"Type:"}),a.jsx(B,{children:a.jsxs(fe,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4",children:[a.jsxs(D,{className:"flex items-center space-x-3 space-y-0",children:[a.jsx(B,{children:a.jsx(Q,{value:"B2B",checked:n.value==="B2B"})}),a.jsx(V,{className:"text-base",children:"B2B"})]}),a.jsxs(D,{className:"flex items-center space-x-3 space-y-0",children:[a.jsx(B,{children:a.jsx(Q,{value:"B2G",checked:n.value==="B2G"})}),a.jsx(V,{className:"text-base",children:"B2G"})]})]})})]})}),a.jsx(S,{control:e,name:"company_name",error:t.errors.company_name,placeholder:"",label:J[j(s)].data[0].label}),a.jsx(S,{control:e,name:"representative_name",error:t.errors.representative_name,placeholder:"",label:J[j(s)].data[1].label}),a.jsx(S,{control:e,name:"job_title",error:t.errors.job_title,placeholder:"",label:J[j(s)].data[2].label}),a.jsx(S,{control:e,name:"participants_number",error:t.errors.participants_number,placeholder:"",label:J[j(s)].data[3].label}),a.jsx(S,{control:e,name:"country",error:t.errors.country,placeholder:"",label:J[j(s)].data[4].label}),a.jsx(S,{control:e,name:"email_address",error:t.errors.email_address,placeholder:"",label:J[j(s)].data[5].label}),a.jsx(S,{control:e,name:"phone_number",error:t.errors.phone_number,placeholder:"",label:J[j(s)].data[6].label}),a.jsx(S,{control:e,name:"website",placeholder:"",label:J[j(s)].data[7].label})]}),a.jsx(Y,{variant:"secondary",type:"button",onClick:i,className:"w-full mt-10",children:s===Z.RU?"Далее":"Next"})]})},Ra=({handleNext:i,handlePrev:e})=>{z();const t=T(r=>r.lang),{control:s,formState:n}=Ae();return a.jsxs(me.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},exit:{opacity:0,y:100},children:[a.jsx("h2",{className:"h2 mb-8",children:X[j(t)].h2}),a.jsxs("div",{className:"flex flex-col gap-8",children:[a.jsx(S,{control:s,name:"meeting_objective",error:n.errors.meeting_objective,placeholder:"",label:X[j(t)].data[0].label}),a.jsx(S,{control:s,name:"proposal_description",error:n.errors.proposal_description,placeholder:"",label:X[j(t)].data[1].label}),a.jsx(S,{control:s,name:"government_agency",error:n.errors.government_agency,placeholder:"",label:X[j(t)].data[2].label}),a.jsx("h2",{className:"h2 mt-4",children:X[j(t)].secondH2}),a.jsx(S,{control:s,name:"sector_industry",error:n.errors.sector_industry,placeholder:"",label:X[j(t)].data[3].label}),a.jsx(S,{control:s,name:"key_services",error:n.errors.key_services,placeholder:"",label:X[j(t)].data[4].label}),a.jsx(S,{control:s,name:"government_experience",error:n.errors.government_experience,placeholder:"",label:X[j(t)].data[5].label})]}),a.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[a.jsx(Y,{type:"button",onClick:e,variant:"outline",className:"text-on_surface",children:t===Z.RU?"Вернуться назад":"Back"}),a.jsx(Y,{variant:"secondary",type:"button",onClick:i,className:"w-full",children:t===Z.RU?"Далее":"Next"})]})]})},_a=({handlePrev:i})=>{z();const{control:e,formState:t}=Ae(),s=T(n=>n.lang);return a.jsxs(me.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},transition:{duration:1},children:[a.jsx("h2",{className:"h2 mb-8",children:U[j(s)].h2}),a.jsxs("div",{className:"flex flex-col gap-6",children:[a.jsx(S,{control:e,name:"preferred_meeting_datetime",error:t.errors.preferred_meeting_datetime,placeholder:"",label:U[j(s)].data[0].label}),a.jsx(S,{control:e,name:"preferred_mode",error:t.errors.preferred_mode,placeholder:"",label:U[j(s)].data[1].label}),a.jsx(S,{control:e,name:"language_preference",error:t.errors.language_preference,placeholder:"",label:U[j(s)].data[2].label}),a.jsx(S,{control:e,name:"additional_technical",error:t.errors.additional_technical,placeholder:"",label:U[j(s)].data[3].label})]}),a.jsxs("div",{className:"flex flex-col gap-8",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"h2 mt-10",children:U[j(s)].secondH2}),a.jsx("h5",{className:"text-on_surface_v",children:U[j(s)].subtitle})]}),a.jsx(S,{control:e,name:"company_profile",label:U[j(s)].data[4].label,type:"file",textDark:!0}),a.jsx(S,{control:e,name:"proposal_presentation",label:U[j(s)].data[5].label,type:"file",textDark:!0}),a.jsx(S,{control:e,name:"relevant_certification",label:U[j(s)].data[6].label,type:"file",textDark:!0})]}),a.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[a.jsx(Y,{type:"button",onClick:i,variant:"outline",className:"text-on_surface",children:s===Z.RU?"Вернуться назад":"Back"}),a.jsx(Y,{disabled:t.isSubmitting,type:"submit",className:"w-full",children:t.isSubmitting?a.jsx(De,{className:"animate-spin"}):U[j(s)].button})]})]})},Pa=({stage:i,setStage:e,success:t,setSuccess:s})=>{const n=Re({resolver:_e(Zn),defaultValues:ea,mode:"onChange"}),r=u=>{switch(u){case 1:return["type","company_name","representative_name","job_title","participants_number","country","email_address","phone_number","website"];case 2:return["meeting_objective","proposal_description","government_agency","sector_industry","key_services","government_experience"];case 3:return["preferred_meeting_datetime","meeting_mode","language_preference","technical_requirements","company_profile","proposal_presentation","relevant_certification"];default:return[]}},o=async()=>{const u=r(i);await n.trigger(u)&&e(h=>h+1)},l=()=>e(u=>u-1),c=async u=>{try{const p=new FormData;Object.entries(u).forEach(([d,m])=>{m instanceof File?(console.log(`Добавляем файл: ${d}`,m),p.append(d,m)):m!==void 0&&(console.log(`Добавляем поле: ${d}`,m),p.append(d,m))}),(await Jt.post("https://turkmentextile.turkmenexpo.com/app/api/v1/form",p,{headers:{"Content-Type":"multipart/form-data"}})).status===201&&s(!0)}catch(p){console.error("Ошибка при отправке B2B формы:",p)}};return a.jsx(Pe,{...n,children:a.jsx("form",{onSubmit:n.handleSubmit(c),children:a.jsxs("div",{className:"relative",children:[a.jsx(re,{children:i===1&&a.jsx(Ca,{handleNext:o})}),a.jsx(re,{children:i===2&&a.jsx(Ra,{handleNext:o,handlePrev:l})}),a.jsx(re,{children:i===3&&t===!1&&a.jsx(_a,{handlePrev:l})}),t&&a.jsx(Ve,{})]})})})};function Oa(){z();const i=T(r=>r.lang),[e,t]=y.useState(1),[s,n]=y.useState(!1);return a.jsxs("div",{className:"pb-[120px]",children:[a.jsx(ge,{title:i===Z.RU?"B2B | B2G встречи":"B2B | B2G meetings"}),!s&&e!==0&&a.jsx(Qt,{stage:e}),a.jsx("div",{className:"max-w-[808px] md:mx-auto mx-5",children:a.jsx(Pa,{success:s,setSuccess:n,stage:e,setStage:t})})]})}function La(){z();const i=T(e=>e.lang);return a.jsxs("div",{className:ee(""),children:[a.jsx(ge,{title:i===Z.RU?"О выставке":"About exhibition"}),a.jsx(Wt,{}),a.jsx(Yt,{}),a.jsx(Xt,{}),a.jsx(Zt,{}),a.jsx(es,{})]})}const Ea=b.object({company_name:b.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:b.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:b.string().min(3,{message:"Должность должна быть не менее 3 символов"}),country:b.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:b.string().email({message:"Укажите корректный email"}),phone:b.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:b.string().optional(),visa_support:b.string().optional()}),Ta={company_name:"",rep_name:"",job_title:"",country:"",email:"",phone:"",website:"",visa_support:""},R=[{cover:"Забронировать стенд",h2:"Выберите один из вариантов:",radio:"Необорудованная площадь",radio_2:"Оборудованная площадь",label_1:"Название компании/организации",label_2:"Имя представителя",label_3:"Название должности/позиция",number_of_participants:"Количество участников",label_4:"Страна",label_5:"Email адрес",label_6:"Номер телефона",label_7:"Веб-сайт",visa:"Визовая поддержка:",visa_radio:"Да",visa_radio_2:"Нет",button:"Отправить"},{cover:"Book a stand:",h2:"Select one of the options:",radio:"Stand space only",radio_2:"Prefabricated stand",label_1:"Company/Organization Name",label_2:"Name of Representative",label_3:"Job title/Position",number_of_participants:"Number of the participants",label_4:"Country",label_5:"Email",label_6:"Phone number",label_7:"Website",visa:"Visa support:",visa_radio:"Yes",visa_radio_2:"No",button:"Send"}];function Fa(){z();const i=T(o=>o.lang),[e,t]=y.useState(!1),s=Re({resolver:_e(Ea),defaultValues:Ta}),n=async o=>{try{await ts(o)&&t(!0)}catch(l){console.error("POST sponsor error",l)}},{errors:r}=s.formState;return a.jsxs("div",{children:[a.jsx(ge,{title:i===Z.RU?"Стать спонсором":"Become a sponsor"}),a.jsx(re,{children:!e&&a.jsx(Pe,{...s,children:a.jsxs(me.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] mx-auto px-5 md:mt-20 mt-10 mb-20 md:mb-[120px] flex flex-col gap-8",onSubmit:s.handleSubmit(n),children:[a.jsx(S,{label:R[j(i)].label_1,name:"company_name",control:s.control,error:r.company_name}),a.jsx(S,{label:R[j(i)].label_2,name:"rep_name",control:s.control,error:r.rep_name}),a.jsx(S,{label:R[j(i)].label_3,name:"job_title",control:s.control,error:r.job_title}),a.jsx(S,{label:R[j(i)].label_4,name:"country",control:s.control,error:r.country}),a.jsx(S,{label:R[j(i)].label_5,name:"email",control:s.control,error:r.email}),a.jsx(S,{label:R[j(i)].label_6,name:"phone",control:s.control,error:r.phone}),a.jsx(S,{label:R[j(i)].label_7,name:"website",control:s.control}),a.jsx(je,{control:s.control,name:"visa_support",render:({field:o})=>a.jsxs(D,{className:"space-y-5",children:[a.jsx(V,{className:"text-xl",children:R[j(i)].visa}),a.jsx(B,{children:a.jsxs(fe,{onValueChange:o.onChange,defaultValue:o.value,className:"flex flex-col space-y-4 ml-3",children:[a.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[a.jsx(B,{children:a.jsx(Q,{value:"yes",checked:o.value==="yes"})}),a.jsx(V,{className:"text-base",children:R[j(i)].visa_radio})]}),a.jsxs(D,{className:"flex items-center space-x-5 space-y-0 ",children:[a.jsx(B,{children:a.jsx(Q,{value:"no",checked:o.value==="no"})}),a.jsx(V,{className:"text-base",children:R[j(i)].visa_radio_2})]})]})})]})}),a.jsx(Y,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?a.jsx(De,{className:"animate-spin"}):R[j(i)].button})]})})}),e&&a.jsx(Ve,{delay:.3})]})}const Ia=b.object({name:b.string().min(2,"error"),email:b.string().email(),phone:b.string().min(8,"error"),company:b.string().min(2,"error"),msg:b.string().min(5,"error")}),$a={name:"",email:"",phone:"",company:"",msg:""},Aa=({className:i})=>{const{t:e}=Be("contacts"),[t,s]=y.useState(!1),n=Re({resolver:_e(Ia),defaultValues:$a});async function r(l){try{const c=await ns(l);s(c)}catch(c){console.error("POST contact",c)}}const{errors:o}=n.formState;return a.jsx("div",{className:ee("bg-primary rounded-[8px] py-8 px-6 ",i),children:a.jsx(Pe,{...n,children:a.jsxs("form",{onSubmit:n.handleSubmit(r),children:[a.jsx("h2",{className:"h2 !text-on_primary lg:mb-8 mb-6",children:e("title")}),a.jsxs("div",{className:"flex flex-col gap-8",children:[a.jsx(S,{onPrimary:!0,name:"name",control:n.control,label:e("name"),error:o.name}),a.jsxs("div",{className:"flex flex-col lg:flex-row gap-6",children:[a.jsx(S,{onPrimary:!0,name:"email",control:n.control,label:"Email",error:o.email}),a.jsx(S,{onPrimary:!0,name:"phone",control:n.control,label:e("phone"),error:o.phone})]}),a.jsx(S,{onPrimary:!0,name:"company",control:n.control,label:e("company"),error:o.name}),a.jsx(S,{onPrimary:!0,textArea:!0,name:"msg",label:e("message"),control:n.control,error:o.msg}),a.jsx(Y,{disabled:n.formState.isSubmitting||t,className:"w-full h-12 overflow-hidden",variant:"secondary",children:t?e("submitted"):n.formState.isSubmitting?a.jsx(ss,{className:"animate-spin text-white"}):e("button")})]})]})})})};function Da(){z();const{t:i}=Be("contacts");return a.jsxs("div",{className:"flex flex-col gap-20 pt-10 md:pt-20",children:[a.jsx(oe,{children:a.jsxs("section",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 lg:gap-6",children:[a.jsx(Aa,{}),a.jsxs("div",{className:"p-6 bg-surface_container rounded-[8px]",children:[a.jsx("h2",{className:"h2 mb-10 xl:mb-8",children:i("title_2")}),a.jsxs("div",{className:"flex flex-col gap-20",children:[a.jsxs("div",{className:"flex items-center gap-6",children:[a.jsx("img",{src:"/contacts/map.svg",alt:"address"}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl mb-2",children:i("address")}),a.jsx("address",{className:"text-base normal not-italic",children:i("venue")})]})]}),a.jsxs("div",{className:"flex items-center gap-6",children:[a.jsx("img",{src:"/contacts/phone.svg",alt:"phone"}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl mb-2",children:i("phone")}),a.jsx("h4",{className:"text-base normal",children:"+99371871812; 99363719588"})]})]}),a.jsxs("div",{className:"flex items-center gap-6",children:[a.jsx("img",{src:"/contacts/email.svg",alt:"email"}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl mb-2",children:"Email:"}),a.jsx("h4",{className:"text-base normal",children:"contact@turkmenexpo.com"})]})]})]})]})]})}),a.jsx("section",{className:"relative w-full h-[300px] sm:h-[350px] md:h-[400px] lg:h-[600px]",children:a.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1443.0869986358682!2d58.35620779177324!3d37.921200202365405!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3f7001fd7afd2a95%3A0x9ce9dca95ea4b87e!2z0JDQstC40LDQutCw0YHRgdCwINCw0LLQuNCw0LrQvtC80L_QsNC90LjQuCDCq9CR0LXQu9Cw0LLQuNCwwrsg0LIg0KLRg9GA0LrQvNC10L3QuNGB0YLQsNC90LU!5e0!3m2!1sru!2sru!4v1738063695919!5m2!1sru!2sru",className:"absolute inset-0 w-full h-full ",style:{border:0},allowFullScreen:!0,loading:"lazy"})})]})}const Va=[{id:0,title:"Фото",titleEn:"Photo"},{id:1,title:"Видео",titleEn:"Video"}],Ba=({className:i})=>{var w,N,O,P,F;const[e,t]=y.useState(0),{data:s,isPending:n,status:r}=as(1),{data:o}=rs(1),[l,c]=y.useState(!1),[u,p]=y.useState({id:0,type:"photo"}),h=T(_=>_.lang),d=({id:_,type:C})=>{c(!0),p({id:_,type:C})},{t:m}=Be("main"),[f,g]=y.useState(!1),x=_=>_===0&&n?a.jsx(ie,{}):a.jsx(ie,{});return console.log(r),a.jsxs(a.Fragment,{children:[a.jsx(re,{children:l&&a.jsx(is,{activeItem:u,setActiveItem:p,setIsOpen:c})}),a.jsxs("section",{className:ee("md:mb-[120px] mb-20",i),children:[a.jsx(ge,{title:h==="ru"?"Моменты":"Moments"}),a.jsx(oe,{className:"page-bottom md:pt-10 pt-6",children:a.jsxs("div",{className:"flex justify-center flex-col",children:[a.jsx(dt,{state:e,setState:t,data:Va,className:"mb-6"}),e===0&&n?x(e):a.jsxs(a.Fragment,{children:[a.jsx("h3",{className:"md:text-3xl text-2xl mb-6",children:"2025"}),a.jsx("div",{className:"grid lg:grid-cols-4 lg:gap-y-4 lg:gap-x-6 md:gap-6 gap-4 grid-cols-2 place-items-center",children:e===0?(N=(w=s==null?void 0:s.photos)==null?void 0:w.slice(0,f?1e3:16))==null?void 0:N.map((_,C)=>{var k,M;return a.jsx("div",{onClick:()=>d({id:C,type:"photo"}),className:"cursor-pointer embla__slide basis-1/1 overflow-hidden",children:a.jsx("img",{src:((k=_==null?void 0:_.photo)==null?void 0:k.path)??"",alt:((M=_==null?void 0:_.photo)==null?void 0:M.file_name)??"photo",className:"size-full object-cover hover:scale-105 duration-300 transition-all"})},C)}):(O=o==null?void 0:o.videos)==null?void 0:O.map((_,C)=>{var k;return a.jsxs("div",{onClick:()=>d({id:C,type:"video"}),className:"cursor-pointer group embla__slide h-[155px] w-full basis-1/1 overflow-hidden relative",children:[a.jsx(os,{fill:"white",size:20,color:"white",className:"absolute group-hover:scale-125 transition-all duration-300 top-1/2 z-10 left-1/2 -translate-x-1/2 -translate-y-1/2 "}),a.jsx("div",{className:"absolute top-0 left-0 size-full bg-[#2C57A752]/[32%]"}),a.jsx("img",{src:((k=_==null?void 0:_.video_photo)==null?void 0:k.path)??"",className:"size-full object-cover"})]},C)})})]}),((P=s==null?void 0:s.photos)==null?void 0:P.length)&&((F=s==null?void 0:s.photos)==null?void 0:F.length)>16&&!f&&a.jsx(Y,{onClick:()=>g(!0),className:"mx-auto w-[288px] mt-10 text-on_surface",size:"lg",variant:"outline",children:m("media.button")})]})})]})]})},Ma=(i,e)=>{const{data:t,isPending:s}=$e({queryKey:["news-inner",i,e],queryFn:()=>ls(i,e),select:({data:n})=>n.data});return{data:t,isPending:s}};function Ka(){var o;const{id:i}=gs(),e=T(l=>l.lang),t=Number(i);z(t);const{data:s,isPending:n}=Ma(t,e),{data:r}=Me(e);return n?a.jsx(ie,{}):a.jsxs(oe,{className:"pt-10 pb-20 md:pt-20 md:pb-[120px]",children:[a.jsxs("section",{className:"max-w-[888px] py-5 mx-auto flex flex-col md:gap-10 gap-6",children:[a.jsxs("div",{children:[a.jsx("h1",{className:"text-on_surface md:text-[32px] text-3xl leading-10 mb-2",children:s==null?void 0:s.title}),a.jsx("h4",{children:s==null?void 0:s.published_at.slice(0,10).split("-").reverse().join(".")})]}),a.jsx("div",{className:"w-full h-[300px] md:h-[480px]",children:a.jsx("img",{src:((o=s==null?void 0:s.featured_images[0])==null?void 0:o.path)||"",alt:"news image",className:"size-full object-cover"})}),a.jsx("div",{dangerouslySetInnerHTML:{__html:(s==null?void 0:s.content)??""},className:"news-inner md:text-lg flex flex-col gap-6 text-base md:medium normal text-on_surface_v"})]}),a.jsx("hr",{className:"mt-10 md:mb-20 mb-[60px]"}),a.jsxs("section",{children:[a.jsx("h2",{className:"h2 mb-6",children:e==="ru"?"Читайте также:":"Read more:"}),a.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:r==null?void 0:r.filter(l=>l.id!==t).slice(0,3).map(l=>y.createElement(Ke,{...l,key:l.title}))})]})]})}function Ga(){z();const i=T(s=>s.lang),{data:e,isPending:t}=Me(i);return t?a.jsx(ie,{}):a.jsxs(oe,{className:"page-padding",children:[a.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-10",children:i==="ru"?"Новости":"News"}),a.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:e==null?void 0:e.map(s=>y.createElement(Ke,{...s,key:s.title}))})]})}const Ua=()=>{const i=T(s=>s.lang),{data:e,isPending:t}=$e({queryKey:["participants",i],queryFn:()=>cs(i),select:({data:s})=>s.data});return{data:e,isPending:t}},Ha=({className:i})=>{var u,p,h,d,m;z();const e=T(f=>f.lang),{data:t,isPending:s}=Ua(),n={company:e==="ru"?"Название компании":"Company name",country:e==="ru"?"Страна":"Country",industry:e==="ru"?"Сфера деятельности":"Industry"},[r,o]=y.useState(0),l=(h=t==null?void 0:t[0])==null?void 0:h.participants.concat((u=t==null?void 0:t[1])==null?void 0:u.participants,(p=t==null?void 0:t[2])==null?void 0:p.participants),c=t==null?void 0:t.filter(f=>r===1?f.id===3:r===2?f.id===1:f.id===2);return console.log(r),a.jsx(oe,{children:a.jsxs("section",{className:ee("page-padding overflow-x-hidden",i),children:[a.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-4",children:e==="ru"?"Список участников":"List of participants"}),a.jsx(dt,{state:r,setState:o,className:"mb-6 md:w-fit"}),a.jsxs("div",{className:"p-2 sm:p-0 bg-surface_container overflow-hidden",children:[a.jsxs("div",{className:"sm:flex items-center hidden h-[52px] border-b border-outline_v",children:[a.jsx("h3",{className:"flex-[0_0_45.54%] pl-4",children:n==null?void 0:n.company}),a.jsx("h3",{className:"flex-[0_0_19.80%]",children:n==null?void 0:n.country}),a.jsx("h3",{className:"flex-[0_0_34.65%]",children:n==null?void 0:n.industry})]}),s?a.jsx(ie,{}):r===0?l==null?void 0:l.map((f,g,x)=>a.jsx(Qe,{...f,arr:x==null?void 0:x.length,index:g,image:f.image??{path:""},image_country:f.image_country??{path:""}})):(m=(d=c==null?void 0:c[0])==null?void 0:d.participants)==null?void 0:m.map((f,g,x)=>a.jsx(Qe,{...f,arr:x==null?void 0:x.length,index:g,image:f.image??{path:""},image_country:f.image_country??{path:""}}))]})]})})},za=b.object({space_package:b.string(),company_name:b.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:b.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:b.string().min(3,{message:"Должность должна быть не менее 3 символов"}),participants_number:b.preprocess(i=>Number(i),b.number().min(1,"Укажите количество участников")),country:b.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:b.string().email({message:"Укажите корректный email"}),phone:b.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:b.string().optional(),visa_support:b.string().optional()}),qa={space_package:"space",company_name:"",rep_name:"",job_title:"",participants_number:1,country:"",email:"",phone:"",website:"",visa_support:""};function Ja(){const i=T(l=>l.lang),[e,t]=y.useState(!1),s=Re({resolver:_e(za),defaultValues:qa}),n=async l=>{await us(l)&&t(!0)};y.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[]);const{errors:r}=s.formState,o=j(i);return a.jsxs("div",{children:[a.jsx(ge,{title:R[j(i)].cover}),a.jsx(re,{children:!e&&a.jsx(Pe,{...s,children:a.jsxs(me.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] px-5 mx-auto mt-20 mb-[120px] flex flex-col gap-8",onSubmit:s.handleSubmit(n),children:[a.jsx(je,{control:s.control,name:"space_package",render:({field:l})=>a.jsxs(D,{className:"space-y-5",children:[a.jsx(V,{className:"text-xl",children:R[o].h2}),a.jsx(B,{children:a.jsxs(fe,{onValueChange:l.onChange,defaultValue:l.value,className:"flex flex-col space-y-4 ml-3",children:[a.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[a.jsx(B,{children:a.jsx(Q,{value:"space",checked:l.value==="space"})}),a.jsx(V,{className:"text-base",children:R[o].radio})]}),a.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[a.jsx(B,{children:a.jsx(Q,{value:"package",checked:l.value==="package"})}),a.jsx(V,{className:"text-base",children:R[o].radio_2})]})]})})]})}),a.jsx(S,{label:R[o].label_1,name:"company_name",control:s.control,error:r.company_name}),a.jsx(S,{label:R[o].label_2,name:"rep_name",control:s.control,error:r.rep_name}),a.jsx(S,{label:R[o].label_3,name:"job_title",control:s.control,error:r.job_title}),a.jsx(S,{label:R[o].number_of_participants,type:"number",name:"participants_number",control:s.control,error:r.participants_number}),a.jsx(S,{label:R[o].label_4,name:"country",control:s.control,error:r.country}),a.jsx(S,{label:R[o].label_5,name:"email",control:s.control,error:r.email}),a.jsx(S,{label:R[o].label_6,name:"phone",control:s.control,error:r.phone}),a.jsx(S,{label:R[o].label_7,name:"website",control:s.control}),a.jsx(je,{control:s.control,name:"visa_support",render:({field:l})=>a.jsxs(D,{className:"space-y-5",children:[a.jsx(V,{className:"text-xl",children:R[o].visa}),a.jsx(B,{children:a.jsxs(fe,{onValueChange:l.onChange,defaultValue:l.value,className:"flex flex-col space-y-4 ml-3",children:[a.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[a.jsx(B,{children:a.jsx(Q,{value:"yes",checked:l.value==="yes"})}),a.jsx(V,{className:"text-base",children:R[o].visa_radio})]}),a.jsxs(D,{className:"flex items-center space-x-5 space-y-0 ",children:[a.jsx(B,{children:a.jsx(Q,{value:"no",checked:l.value==="no"})}),a.jsx(V,{className:"text-base",children:R[o].visa_radio_2})]})]})})]})}),a.jsx(Y,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?a.jsx(De,{className:"animate-spin"}):R[o].button})]})})}),e&&a.jsx(Ve,{delay:.3})]})}const Qa=xs([{element:a.jsx(Wn,{}),path:"/",children:[{element:a.jsx(Xn,{}),path:""},{element:a.jsx(La,{}),path:"about"},{element:a.jsx(Oa,{}),path:"B2B-B2G"},{element:a.jsx(Fa,{}),path:"become-sponsor"},{element:a.jsx(Ja,{}),path:"stend-form"},{element:a.jsx(Da,{}),path:"contacts"},{element:a.jsx(Ga,{}),path:"news"},{element:a.jsx(Ka,{}),path:"news/:id"},{element:a.jsx(Ha,{}),path:"participants"},{element:a.jsx(Ba,{}),path:"media"}]}]),Wa=new ds;vs.createRoot(document.getElementById("root")).render(a.jsx(y.StrictMode,{children:a.jsx(ps,{client:Wa,children:a.jsx(bs,{router:Qa})})})); diff --git a/dist/assets/index-DCOIb4tZ.css b/dist/assets/index-DCOIb4tZ.css deleted file mode 100644 index e3c9d61..0000000 --- a/dist/assets/index-DCOIb4tZ.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Gilroy-Regular;src:local("Gilroy-Regular"),url(../fonts/Gilroy-Regular.woff2) format("woff2");font-weight:400}@font-face{font-family:Gilroy-Medium;src:local("Gilroy-Medium"),url(../fonts/Gilroy-Medium.woff2) format("woff2");font-weight:500}@font-face{font-family:Gilroy-Semibold;src:local("Gilroy-Semibold"),url(../fonts/Gilroy-Semibold.woff2) format("woff2");font-weight:600}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{box-sizing:border-box}body{font-family:Gilroy-Medium;--tw-bg-opacity: 1;background-color:rgb(249 249 250 / var(--tw-bg-opacity, 1))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-5{bottom:-1.25rem}.-bottom-6{bottom:-1.5rem}.-left-12{left:-3rem}.-right-12{right:-3rem}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.left-0{left:0}.left-1\/2{left:50%}.left-1\/3{left:33.333333%}.left-10{left:2.5rem}.left-2\.5{left:.625rem}.left-\[20\%\]{left:20%}.left-\[50\%\]{left:50%}.right-0{right:0}.right-10{right:2.5rem}.right-4{right:1rem}.right-6{right:1.5rem}.right-\[17\%\]{right:17%}.top-0{top:0}.top-1\/2{top:50%}.top-10{top:2.5rem}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-4{top:1rem}.top-8{top:2rem}.top-\[50\%\]{top:50%}.top-\[55\%\]{top:55%}.-z-10,.-z-\[10\]{z-index:-10}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[3\]{z-index:3}.z-\[5\]{z-index:5}.mx-4{margin-left:1rem;margin-right:1rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-16{margin-top:4rem;margin-bottom:4rem}.my-20{margin-top:5rem;margin-bottom:5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[120px\]{margin-bottom:120px}.mb-\[60px\]{margin-bottom:60px}.ml-3{margin-left:.75rem}.mr-10{margin-right:2.5rem}.mr-6{margin-right:1.5rem}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-20{width:5rem;height:5rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-\[88px\]{width:88px;height:88px}.size-full{width:100%;height:100%}.h-0\.5{height:.125rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-20{height:5rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[116px\]{height:116px}.h-\[124px\]{height:124px}.h-\[128px\]{height:128px}.h-\[160px\]{height:160px}.h-\[220px\]{height:220px}.h-\[296px\]{height:296px}.h-\[300px\]{height:300px}.h-\[350px\]{height:350px}.h-\[3px\]{height:3px}.h-\[400px\]{height:400px}.h-\[52px\]{height:52px}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-\[128px\]{min-height:128px}.min-h-\[60px\]{min-height:60px}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-1\/2{width:50%}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-9{width:2.25rem}.w-\[160px\]{width:160px}.w-\[18px\]{width:18px}.w-\[20\%\]{width:20%}.w-\[288px\]{width:288px}.w-\[300px\]{width:300px}.w-\[70\%\]{width:70%}.w-\[75\%\]{width:75%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-\[1240px\]{max-width:1240px}.max-w-\[360px\]{max-width:360px}.max-w-\[392px\]{max-width:392px}.max-w-\[444px\]{max-width:444px}.max-w-\[808px\]{max-width:808px}.max-w-\[828px\]{max-width:828px}.max-w-\[888px\]{max-width:888px}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-\[0_0_100\%\]{flex:0 0 100%}.flex-\[0_0_16px\]{flex:0 0 16px}.flex-\[0_0_19\.80\%\]{flex:0 0 19.8%}.flex-\[0_0_288px\]{flex:0 0 288px}.flex-\[0_0_300px\]{flex:0 0 300px}.flex-\[0_0_34\.65\%\]{flex:0 0 34.65%}.flex-\[0_0_45\.54\%\]{flex:0 0 45.54%}.flex-\[0_0_50\%\]{flex:0 0 50%}.flex-\[0_0_70\%\]{flex:0 0 70%}.flex-\[0_0_80\%\]{flex:0 0 80%}.flex-\[0_0_88px\]{flex:0 0 88px}.flex-\[0_0_90px\]{flex:0 0 90px}.flex-auto{flex:1 1 auto}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.\!cursor-pointer{cursor:pointer!important}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-20{gap:5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\[2px\]{border-radius:2px}.rounded-\[8px\]{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-b-\[2px\]{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.rounded-t-\[2px\]{border-top-left-radius:2px;border-top-right-radius:2px}.rounded-t-\[4px\]{border-top-left-radius:4px;border-top-right-radius:4px}.border{border-width:1px}.border-\[2px\]{border-width:2px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-\[\#BA1A1A\]{--tw-border-opacity: 1;border-color:rgb(186 26 26 / var(--tw-border-opacity, 1))}.border-on_surface{--tw-border-opacity: 1;border-color:rgb(44 40 40 / var(--tw-border-opacity, 1))}.border-outline{--tw-border-opacity: 1;border-color:rgb(161 167 178 / var(--tw-border-opacity, 1))}.border-outline_v{--tw-border-opacity: 1;border-color:rgb(208 211 216 / var(--tw-border-opacity, 1))}.border-primary{--tw-border-opacity: 1;border-color:rgb(153 16 29 / var(--tw-border-opacity, 1))}.border-primary_outline_reverse{--tw-border-opacity: 1;border-color:rgb(238 101 114 / var(--tw-border-opacity, 1))}.border-slate-500\/20{border-color:#64748b33}.border-white\/50{border-color:#ffffff80}.\!bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))!important}.bg-\[\#2C57A752\]\/\[32\%\]{background-color:#2c57a752}.bg-\[\#D0D3D8\]{--tw-bg-opacity: 1;background-color:rgb(208 211 216 / var(--tw-bg-opacity, 1))}.bg-\[\#E0E6EB\]{--tw-bg-opacity: 1;background-color:rgb(224 230 235 / var(--tw-bg-opacity, 1))}.bg-\[\#FDEDEE\]{--tw-bg-opacity: 1;background-color:rgb(253 237 238 / var(--tw-bg-opacity, 1))}.bg-background{--tw-bg-opacity: 1;background-color:rgb(249 249 250 / var(--tw-bg-opacity, 1))}.bg-black\/80{background-color:#000c}.bg-black\/90{background-color:#000000e6}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(153 16 29 / var(--tw-bg-opacity, 1))}.bg-reverse_primary{--tw-bg-opacity: 1;background-color:rgb(246 178 184 / var(--tw-bg-opacity, 1))}.bg-secondary_container{--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1))}.bg-surface_container{--tw-bg-opacity: 1;background-color:rgb(238 237 244 / var(--tw-bg-opacity, 1))}.bg-surface_high{--tw-bg-opacity: 1;background-color:rgb(232 231 239 / var(--tw-bg-opacity, 1))}.bg-teritary{--tw-bg-opacity: 1;background-color:rgb(241 112 13 / var(--tw-bg-opacity, 1))}.bg-teritary_08{--tw-bg-opacity: 1;background-color:rgb(212 132 0 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-opacity-0{--tw-bg-opacity: 0}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-primary{--tw-gradient-from: #99101D var(--tw-gradient-from-position);--tw-gradient-to: rgb(153 16 29 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-25\%{--tw-gradient-from-position: 25%}.to-primary\/20{--tw-gradient-to: rgb(153 16 29 / .2) var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-20{padding-bottom:5rem}.pb-40{padding-bottom:10rem}.pb-\[120px\]{padding-bottom:120px}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pt-10{padding-top:2.5rem}.pt-16{padding-top:4rem}.pt-28{padding-top:7rem}.pt-6{padding-top:1.5rem}.\!text-left{text-align:left!important}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-\[32px\]{font-size:32px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.not-italic{font-style:normal}.leading-10{line-height:2.5rem}.leading-\[130\%\]{line-height:130%}.leading-\[140\%\]{line-height:140%}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.\!text-on_primary{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity, 1))!important}.\!text-on_surface{--tw-text-opacity: 1 !important;color:rgb(44 40 40 / var(--tw-text-opacity, 1))!important}.text-\[\#171717\]{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}.text-\[\#454545\]{--tw-text-opacity: 1;color:rgb(69 69 69 / var(--tw-text-opacity, 1))}.text-\[\#BA1A1A\]{--tw-text-opacity: 1;color:rgb(186 26 26 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-on_primary{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-on_secondary_container{--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1))}.text-on_surface{--tw-text-opacity: 1;color:rgb(44 40 40 / var(--tw-text-opacity, 1))}.text-on_surface_v{--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1))}.text-on_teritary{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-primary{--tw-text-opacity: 1;color:rgb(153 16 29 / var(--tw-text-opacity, 1))}.text-primary_03{--tw-text-opacity: 1;color:rgb(246 178 184 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-teritary_04{--tw-text-opacity: 1;color:rgb(255 206 127 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-70{opacity:.7}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: #F9F9FA}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.normal{font-family:Gilroy-Regular;font-weight:400}.semibold{font-family:Gilroy-Semibold;font-weight:600}.h1{font-size:28px;font-weight:500;line-height:130%}.h2{font-size:1.5rem;line-height:2rem;--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.h2{font-size:28px}}.p{font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.p{font-size:1.125rem;line-height:1.75rem}}.text-18{font-size:1.125rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1));font-family:Gilroy-Regular;font-weight:400}.dot{height:.25rem;width:1.25rem;cursor:pointer;border-radius:2px;--tw-bg-opacity: 1;background-color:rgb(111 100 102 / var(--tw-bg-opacity, 1))}.dot-active{height:.25rem;width:1.25rem;border-radius:2px;--tw-bg-opacity: 1;background-color:rgb(44 40 40 / var(--tw-bg-opacity, 1))}.nav-btn{display:flex;width:3rem;height:3rem;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity, 1))}.news-inner img{height:300px;-o-object-fit:cover;object-fit:cover}@media (min-width: 768px){.news-inner img{height:500px}}.news-inner a{--tw-text-opacity: 1;color:rgb(153 16 29 / var(--tw-text-opacity, 1));text-decoration-line:underline}.page-padding{padding-top:2.5rem;padding-bottom:5rem}@media (min-width: 768px){.page-padding{padding-top:5rem;padding-bottom:120px}}.progress-circle{z-index:10;width:3.5rem;height:3.5rem;border-radius:9999px;font-size:1.5rem;line-height:2rem;--tw-text-opacity: 1;color:rgb(95 102 116 / var(--tw-text-opacity, 1))}.input{display:flex;height:3.5rem;border-radius:2px;border-width:1px;background-color:transparent;padding:1rem;font-size:1rem;line-height:1.5rem;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(161 167 178 / var(--tw-ring-opacity, 1));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;font-family:Gilroy-Regular;font-weight:400}.input::file-selector-button{width:-moz-fit-content;width:fit-content;border-width:0px;--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1));font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}.input:hover{--tw-ring-opacity: 1;--tw-ring-color: rgb(44 40 40 / var(--tw-ring-opacity, 1))}.input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(153 16 29 / var(--tw-ring-opacity, 1))}.input:focus-visible{outline:2px solid transparent;outline-offset:2px}.input:disabled{cursor:not-allowed;opacity:.5}.file\:w-fit::file-selector-button{width:-moz-fit-content;width:fit-content}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-secondary_container::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1))}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-on_secondary_container::file-selector-button{--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1))}.file\:outline-none::file-selector-button{outline:2px solid transparent;outline-offset:2px}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:-left-3:before{content:var(--tw-content);left:-.75rem}.before\:-top-3:before{content:var(--tw-content);top:-.75rem}.before\:size-10:before{content:var(--tw-content);width:2.5rem;height:2.5rem}.before\:scale-0:before{content:var(--tw-content);--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.before\:rounded-full:before{content:var(--tw-content);border-radius:9999px}.before\:bg-on_surface\/\[8\%\]:before{content:var(--tw-content);background-color:#2c282814}.before\:transition-all:before{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:bottom-0:after{content:var(--tw-content);bottom:0}.after\:left-0:after{content:var(--tw-content);left:0}.after\:size-\[9px\]:after{content:var(--tw-content);width:9px;height:9px}.after\:h-0\.5:after{content:var(--tw-content);height:.125rem}.after\:w-full:after{content:var(--tw-content);width:100%}.after\:rounded:after{content:var(--tw-content);border-radius:.25rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:bg-primary:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(153 16 29 / var(--tw-bg-opacity, 1))}.after\:bg-opacity-0:after{content:var(--tw-content);--tw-bg-opacity: 0}.after\:opacity-0:after{content:var(--tw-content);opacity:0}.after\:opacity-100:after{content:var(--tw-content);opacity:1}.after\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-on_surface:hover{--tw-border-opacity: 1;border-color:rgb(44 40 40 / var(--tw-border-opacity, 1))}.hover\:border-white:hover{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.hover\:bg-primary\/90:hover{background-color:#99101de6}.hover\:bg-reverse_primary\/90:hover{background-color:#f6b2b8e6}.hover\:bg-secondary_container\/80:hover{background-color:#ddcbcdcc}.hover\:bg-slate-300\/50:hover{background-color:#cbd5e180}.hover\:bg-teritary\/90:hover{background-color:#f1700de6}.hover\:bg-teritary_surface_container:hover{--tw-bg-opacity: 1;background-color:rgb(255 243 224 / var(--tw-bg-opacity, 1))}.hover\:bg-white\/90:hover{background-color:#ffffffe6}.hover\:opacity-100:hover{opacity:1}.hover\:before\:scale-100:hover:before{content:var(--tw-content);--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.focus\:border-\[3px\]:focus{border-width:3px}.focus\:border-primary:focus{--tw-border-opacity: 1;border-color:rgb(153 16 29 / var(--tw-border-opacity, 1))}.focus\:border-white:focus{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[state\=open\]\:bg-secondary[data-state=open]{--tw-bg-opacity: 1;background-color:rgb(73 95 137 / var(--tw-bg-opacity, 1))}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}@media (min-width: 640px){.sm\:flex{display:flex}.sm\:size-\[128px\]{width:128px;height:128px}.sm\:h-\[350px\]{height:350px}.sm\:max-w-sm{max-width:24rem}.sm\:flex-\[0_0_128px\]{flex:0 0 128px}.sm\:flex-\[0_0_600px\]{flex:0 0 600px}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:p-0{padding:0}.sm\:text-left{text-align:left}}@media (min-width: 768px){.md\:left-1\/2{left:50%}.md\:mx-auto{margin-left:auto;margin-right:auto}.md\:my-20{margin-top:5rem;margin-bottom:5rem}.md\:mb-20{margin-bottom:5rem}.md\:mb-8{margin-bottom:2rem}.md\:mb-\[120px\]{margin-bottom:120px}.md\:ml-1{margin-left:.25rem}.md\:mt-20{margin-top:5rem}.md\:mt-6{margin-top:1.5rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:size-20{width:5rem;height:5rem}.md\:size-\[84px\]{width:84px;height:84px}.md\:size-auto{width:auto;height:auto}.md\:h-\[216px\]{height:216px}.md\:h-\[224px\]{height:224px}.md\:h-\[38px\]{height:38px}.md\:h-\[400px\]{height:400px}.md\:h-\[480px\]{height:480px}.md\:h-\[500px\]{height:500px}.md\:w-1{width:.25rem}.md\:w-fit{width:-moz-fit-content;width:fit-content}.md\:w-full{width:100%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-end{align-items:flex-end}.md\:justify-between{justify-content:space-between}.md\:gap-10{gap:2.5rem}.md\:gap-6{gap:1.5rem}.md\:p-10{padding:2.5rem}.md\:p-6{padding:1.5rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:py-20{padding-top:5rem;padding-bottom:5rem}.md\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.md\:pb-\[120px\]{padding-bottom:120px}.md\:pt-10{padding-top:2.5rem}.md\:pt-20{padding-top:5rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-\[32px\]{font-size:32px}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:mb-8{margin-bottom:2rem}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:h-\[600px\]{height:600px}.lg\:h-\[700px\]{height:700px}.lg\:h-\[88px\]{height:88px}.lg\:max-h-\[600px\]{max-height:600px}.lg\:min-h-\[320px\]{min-height:320px}.lg\:w-1\/2{width:50%}.lg\:w-\[220px\]{width:220px}.lg\:w-\[320px\]{width:320px}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:items-center{align-items:center}.lg\:gap-12{gap:3rem}.lg\:gap-6{gap:1.5rem}.lg\:gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.lg\:gap-y-4{row-gap:1rem}.lg\:px-28{padding-left:7rem;padding-right:7rem}.lg\:px-\[20\%\]{padding-left:20%;padding-right:20%}}@media (min-width: 1280px){.xl\:mb-8{margin-bottom:2rem}.xl\:mr-20{margin-right:5rem}.xl\:hidden{display:none}.xl\:w-\[288px\]{width:288px}.xl\:w-\[392px\]{width:392px}}@media (min-width: 1536px){.\32xl\:w-\[40\%\]{width:40%}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0} diff --git a/dist/assets/ui-library-DUfk0SEZ.js b/dist/assets/ui-library-CZovjNqt.js similarity index 99% rename from dist/assets/ui-library-DUfk0SEZ.js rename to dist/assets/ui-library-CZovjNqt.js index 978e22b..db0b68e 100644 --- a/dist/assets/ui-library-DUfk0SEZ.js +++ b/dist/assets/ui-library-CZovjNqt.js @@ -143,7 +143,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Of]=this[Of]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=Tr(o);s[a]||(XP(r,o),s[a]=!0)}return k.isArray(t)?t.forEach(i):i(t),this}}ft.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);k.reduceDescriptors(ft.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});k.freezeMethods(ft);function Da(e,t){const n=this||Ai,s=t||n,r=ft.from(s.headers);let i=s.data;return k.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function by(e){return!!(e&&e.__CANCEL__)}function mr(e,t,n){ie.call(this,e??"canceled",ie.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(mr,ie,{__CANCEL__:!0});function wy(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new ie("Request failed with status code "+n.status,[ie.ERR_BAD_REQUEST,ie.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function YP(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function JP(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,i=0,o;return t=t!==void 0?t:1e3,function(c){const l=Date.now(),u=s[i];o||(o=l),n[r]=c,s[r]=l;let d=i,f=0;for(;d!==r;)f+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),l-o{n=u,r=null,i&&(clearTimeout(i),i=null),e.apply(null,l)};return[(...l)=>{const u=Date.now(),d=u-n;d>=s?o(l,u):(r=l,i||(i=setTimeout(()=>{i=null,o(r)},s-d)))},()=>r&&o(r)]}const Eo=(e,t,n=3)=>{let s=0;const r=JP(50,250);return eR(i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,c=o-s,l=r(c),u=o<=a;s=o;const d={loaded:o,total:a,progress:a?o/a:void 0,bytes:c,rate:l||void 0,estimated:l&&a&&u?(a-o)/l:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},jf=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Df=e=>(...t)=>k.asap(()=>e(...t)),tR=Ge.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ge.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ge.origin),Ge.navigator&&/(msie|trident)/i.test(Ge.navigator.userAgent)):()=>!0,nR=Ge.hasStandardBrowserEnv?{write(e,t,n,s,r,i){const o=[e+"="+encodeURIComponent(t)];k.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),k.isString(s)&&o.push("path="+s),k.isString(r)&&o.push("domain="+r),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function sR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function rR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Sy(e,t){return e&&!sR(t)?rR(e,t):t}const Mf=e=>e instanceof ft?{...e}:e;function xs(e,t){t=t||{};const n={};function s(l,u,d,f){return k.isPlainObject(l)&&k.isPlainObject(u)?k.merge.call({caseless:f},l,u):k.isPlainObject(u)?k.merge({},u):k.isArray(u)?u.slice():u}function r(l,u,d,f){if(k.isUndefined(u)){if(!k.isUndefined(l))return s(void 0,l,d,f)}else return s(l,u,d,f)}function i(l,u){if(!k.isUndefined(u))return s(void 0,u)}function o(l,u){if(k.isUndefined(u)){if(!k.isUndefined(l))return s(void 0,l)}else return s(void 0,u)}function a(l,u,d){if(d in t)return s(l,u);if(d in e)return s(void 0,l)}const c={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(l,u,d)=>r(Mf(l),Mf(u),d,!0)};return k.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||r,f=d(e[u],t[u],u);k.isUndefined(f)&&d!==a||(n[u]=f)}),n}const _y=e=>{const t=xs({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:i,headers:o,auth:a}=t;t.headers=o=ft.from(o),t.url=yy(Sy(t.baseURL,t.url),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let c;if(k.isFormData(n)){if(Ge.hasStandardBrowserEnv||Ge.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((c=o.getContentType())!==!1){const[l,...u]=c?c.split(";").map(d=>d.trim()).filter(Boolean):[];o.setContentType([l||"multipart/form-data",...u].join("; "))}}if(Ge.hasStandardBrowserEnv&&(s&&k.isFunction(s)&&(s=s(t)),s||s!==!1&&tR(t.url))){const l=r&&i&&nR.read(i);l&&o.set(r,l)}return t},iR=typeof XMLHttpRequest<"u",oR=iR&&function(e){return new Promise(function(n,s){const r=_y(e);let i=r.data;const o=ft.from(r.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:l}=r,u,d,f,g,m;function h(){g&&g(),m&&m(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let y=new XMLHttpRequest;y.open(r.method.toUpperCase(),r.url,!0),y.timeout=r.timeout;function v(){if(!y)return;const w=ft.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:w,config:e,request:y};wy(function(P){n(P),h()},function(P){s(P),h()},S),y=null}"onloadend"in y?y.onloadend=v:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(v)},y.onabort=function(){y&&(s(new ie("Request aborted",ie.ECONNABORTED,e,y)),y=null)},y.onerror=function(){s(new ie("Network Error",ie.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let T=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const S=r.transitional||vy;r.timeoutErrorMessage&&(T=r.timeoutErrorMessage),s(new ie(T,S.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,e,y)),y=null},i===void 0&&o.setContentType(null),"setRequestHeader"in y&&k.forEach(o.toJSON(),function(T,S){y.setRequestHeader(S,T)}),k.isUndefined(r.withCredentials)||(y.withCredentials=!!r.withCredentials),a&&a!=="json"&&(y.responseType=r.responseType),l&&([f,m]=Eo(l,!0),y.addEventListener("progress",f)),c&&y.upload&&([d,g]=Eo(c),y.upload.addEventListener("progress",d),y.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(u=w=>{y&&(s(!w||w.type?new mr(null,e,y):w),y.abort(),y=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const b=YP(r.url);if(b&&Ge.protocols.indexOf(b)===-1){s(new ie("Unsupported protocol "+b+":",ie.ERR_BAD_REQUEST,e));return}y.send(i||null)})},aR=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const i=function(l){if(!r){r=!0,a();const u=l instanceof Error?l:this.reason;s.abort(u instanceof ie?u:new mr(u instanceof Error?u.message:u))}};let o=t&&setTimeout(()=>{o=null,i(new ie(`timeout ${t} of ms exceeded`,ie.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:c}=s;return c.unsubscribe=()=>k.asap(a),c}},cR=function*(e,t){let n=e.byteLength;if(n{const r=lR(e,t);let i=0,o,a=c=>{o||(o=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:l,value:u}=await r.next();if(l){a(),c.close();return}let d=u.byteLength;if(n){let f=i+=d;n(f)}c.enqueue(new Uint8Array(u))}catch(l){throw a(l),l}},cancel(c){return a(c),r.return()}},{highWaterMark:2})},Yo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ty=Yo&&typeof ReadableStream=="function",dR=Yo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Cy=(e,...t)=>{try{return!!e(...t)}catch{return!1}},fR=Ty&&Cy(()=>{let e=!1;const t=new Request(Ge.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Lf=64*1024,bc=Ty&&Cy(()=>k.isReadableStream(new Response("").body)),Ao={stream:bc&&(e=>e.body)};Yo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ao[t]&&(Ao[t]=k.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new ie(`Response type '${t}' is not supported`,ie.ERR_NOT_SUPPORT,s)})})})(new Response);const hR=async e=>{if(e==null)return 0;if(k.isBlob(e))return e.size;if(k.isSpecCompliantForm(e))return(await new Request(Ge.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(k.isArrayBufferView(e)||k.isArrayBuffer(e))return e.byteLength;if(k.isURLSearchParams(e)&&(e=e+""),k.isString(e))return(await dR(e)).byteLength},pR=async(e,t)=>{const n=k.toFiniteNumber(e.getContentLength());return n??hR(t)},mR=Yo&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:i,timeout:o,onDownloadProgress:a,onUploadProgress:c,responseType:l,headers:u,withCredentials:d="same-origin",fetchOptions:f}=_y(e);l=l?(l+"").toLowerCase():"text";let g=aR([r,i&&i.toAbortSignal()],o),m;const h=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let y;try{if(c&&fR&&n!=="get"&&n!=="head"&&(y=await pR(u,s))!==0){let S=new Request(t,{method:"POST",body:s,duplex:"half"}),A;if(k.isFormData(s)&&(A=S.headers.get("content-type"))&&u.setContentType(A),S.body){const[P,E]=jf(y,Eo(Df(c)));s=Ff(S.body,Lf,P,E)}}k.isString(d)||(d=d?"include":"omit");const v="credentials"in Request.prototype;m=new Request(t,{...f,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:v?d:void 0});let b=await fetch(m);const w=bc&&(l==="stream"||l==="response");if(bc&&(a||w&&h)){const S={};["status","statusText","headers"].forEach(O=>{S[O]=b[O]});const A=k.toFiniteNumber(b.headers.get("content-length")),[P,E]=a&&jf(A,Eo(Df(a),!0))||[];b=new Response(Ff(b.body,Lf,P,()=>{E&&E(),h&&h()}),S)}l=l||"text";let T=await Ao[k.findKey(Ao,l)||"text"](b,e);return!w&&h&&h(),await new Promise((S,A)=>{wy(S,A,{data:T,headers:ft.from(b.headers),status:b.status,statusText:b.statusText,config:e,request:m})})}catch(v){throw h&&h(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new ie("Network Error",ie.ERR_NETWORK,e,m),{cause:v.cause||v}):ie.from(v,v&&v.code,e,m)}}),wc={http:kP,xhr:oR,fetch:mR};k.forEach(wc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const If=e=>`- ${e}`,gR=e=>k.isFunction(e)||e===null||e===!1,Ey={getAdapter:e=>{e=k.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let i=0;i`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?`since : `+i.map(If).join(` `):" "+If(i[0]):"as no adapter specified";throw new ie("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return s},adapters:wc};function Ma(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mr(null,e)}function Vf(e){return Ma(e),e.headers=ft.from(e.headers),e.data=Da.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ey.getAdapter(e.adapter||Ai.adapter)(e).then(function(s){return Ma(e),s.data=Da.call(e,e.transformResponse,s),s.headers=ft.from(s.headers),s},function(s){return by(s)||(Ma(e),s&&s.response&&(s.response.data=Da.call(e,e.transformResponse,s.response),s.response.headers=ft.from(s.response.headers))),Promise.reject(s)})}const Ay="1.7.9",Jo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Jo[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Bf={};Jo.transitional=function(t,n,s){function r(i,o){return"[Axios v"+Ay+"] Transitional option '"+i+"'"+o+(s?". "+s:"")}return(i,o,a)=>{if(t===!1)throw new ie(r(o," has been removed"+(n?" in "+n:"")),ie.ERR_DEPRECATED);return n&&!Bf[o]&&(Bf[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};Jo.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function yR(e,t,n){if(typeof e!="object")throw new ie("options must be an object",ie.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const i=s[r],o=t[i];if(o){const a=e[i],c=a===void 0||o(a,i,e);if(c!==!0)throw new ie("option "+i+" must be "+c,ie.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ie("Unknown option "+i,ie.ERR_BAD_OPTION)}}const to={assertOptions:yR,validators:Jo},Ht=to.validators;class fs{constructor(t){this.defaults=t,this.interceptors={request:new Nf,response:new Nf}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?i&&!String(s.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+i):s.stack=i}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=xs(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&to.assertOptions(s,{silentJSONParsing:Ht.transitional(Ht.boolean),forcedJSONParsing:Ht.transitional(Ht.boolean),clarifyTimeoutError:Ht.transitional(Ht.boolean)},!1),r!=null&&(k.isFunction(r)?n.paramsSerializer={serialize:r}:to.assertOptions(r,{encode:Ht.function,serialize:Ht.function},!0)),to.assertOptions(n,{baseUrl:Ht.spelling("baseURL"),withXsrfToken:Ht.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&k.merge(i.common,i[n.method]);i&&k.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=ft.concat(o,i);const a=[];let c=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(c=c&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const l=[];this.interceptors.response.forEach(function(h){l.push(h.fulfilled,h.rejected)});let u,d=0,f;if(!c){const m=[Vf.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,l),f=m.length,u=Promise.resolve(n);d{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](r);s._listeners=null}),this.promise.then=r=>{let i;const o=new Promise(a=>{s.subscribe(a),i=a}).then(r);return o.cancel=function(){s.unsubscribe(i)},o},t(function(i,o,a){s.reason||(s.reason=new mr(i,o,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new nu(function(r){t=r}),cancel:t}}}function vR(e){return function(n){return e.apply(null,n)}}function xR(e){return k.isObject(e)&&e.isAxiosError===!0}const Sc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Sc).forEach(([e,t])=>{Sc[t]=e});function Py(e){const t=new fs(e),n=iy(fs.prototype.request,t);return k.extend(n,fs.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Py(xs(e,r))},n}const Ve=Py(Ai);Ve.Axios=fs;Ve.CanceledError=mr;Ve.CancelToken=nu;Ve.isCancel=by;Ve.VERSION=Ay;Ve.toFormData=Xo;Ve.AxiosError=ie;Ve.Cancel=Ve.CanceledError;Ve.all=function(t){return Promise.all(t)};Ve.spread=vR;Ve.isAxiosError=xR;Ve.mergeConfig=xs;Ve.AxiosHeaders=ft;Ve.formToJSON=e=>xy(k.isHTMLForm(e)?new FormData(e):e);Ve.getAdapter=Ey.getAdapter;Ve.HttpStatusCode=Sc;Ve.default=Ve;const ot=Ve.create({baseURL:"https://turkmentextile.turkmenexpo.com/app/api/v1/"}),v1=async e=>(await ot.post("book_stand_form",e)).status===201,x1=async e=>(await ot.post("become_sponsor_form",e)).status===201,b1=async e=>(await ot.post("contact_form",e)).status===201,bR=async e=>(await ot.post("subscribe_news_form",e)).status===201,wR=async(e,t)=>ot.get(`pages/${t}`,{headers:{"Accept-Language":e}}),SR=async e=>ot.get("stats",{headers:{"Accept-Language":e}}),_R=async e=>ot.get("contact_data",{headers:{"Accept-Language":e}}),TR=async e=>ot.get("industries",{headers:{"Accept-Language":e}}),CR=async e=>ot.get("exhibition_time",{headers:{"Accept-Language":e}}),w1=async e=>ot.get("news",{headers:{"Accept-Language":e}}),S1=async(e,t)=>ot.get(`news/${e}`,{headers:{"Accept-Language":t}}),_1=async e=>ot("participants",{headers:{"Accept-Language":e}}),ER=async e=>ot("photos/category/"+e),AR=async e=>ot("videos/category/"+e),PR=async e=>ot("sponsors_and_partners",{headers:{"Accept-Language":e}}),RR=Ef.object({email:Ef.string().email()}),Ry=({modal:e=!1})=>{var i,o;const[t,n]=x.useState(!1),s=ZT({resolver:FE(RR),defaultValues:{email:""}});async function r(a){try{const c=await bR(a);s.reset(),n(c)}catch(c){console.error("POST subscribe",c)}}return p.jsx("form",{onSubmit:s.handleSubmit(r),className:K("py-8",e?"max-w-[392px] mx-auto":"bg-surface_container"),children:p.jsxs(Ye,{className:K("flex gap-8 justify-between",e?"flex-col w-full":"lg:flex-row flex-col lg:items-center"),children:[p.jsx("h2",{className:"h2 !text-left",children:Na("Подпишитесь на новости:","Subscribe to the news:")}),p.jsxs("div",{className:"relative",children:[p.jsx("input",{...s.register("email"),placeholder:"Email",className:K("input",{"w-full":e,"xl:w-[392px] lg:w-[320px] w-full":!e})}),p.jsx("span",{className:"text-error absolute text-red-600 -bottom-6 text-sm left-0",children:(o=(i=s.formState.errors)==null?void 0:i.email)==null?void 0:o.message})]}),p.jsx(ht,{loading:s.formState.isSubmitting,disabled:t,className:K({"xl:w-[288px] lg:w-[220px] w-full":!e,"w-full":e}),children:t?Na("Отправлено","Submitted"):Na("Подписаться","Subscribe")})]})})},kR=({className:e,title:t})=>p.jsxs(PE,{children:[p.jsx(RE,{className:K("h-14 px-3 flex gap-3 items-center hover:bg-slate-300/50 transition-all",e),children:t}),p.jsx(Zg,{children:p.jsx(Ry,{className:"",modal:!0})})]}),_c=Hg()(e=>({sheet:!1,popover:!1,modal:!1,setModal:t=>e({modal:t}),setSheet:t=>e({sheet:t}),setPopover:t=>e({popover:t})})),Tc=({title:e,dropDownContent:t,color:n,triggerClassName:s})=>{const[r,i]=x.useState(!1),o=_c(a=>a.setSheet);return p.jsxs(zg,{open:r,onOpenChange:()=>i(!r),children:[p.jsxs(Wg,{className:K("flex items-center gap-2",s),children:[e,p.jsx(NR,{color:n})]}),p.jsx(Xl,{className:"w-fit px-0 py-2 cursor-pointer bg-surface_container",children:t&&t.map(a=>a.link?p.jsxs(Ne,{onClick:()=>{i(!1),o(!1)},className:"h-14 px-3 flex gap-3 items-center hover:bg-slate-300/50 transition-all",target:a.blank??"",to:a.link,children:[a.text,a.blank&&p.jsx("img",{src:"/pdf.svg"})]},a.text):a.modal?p.jsx(kR,{title:a.text},a.text):p.jsx("div",{className:"h-14 px-3 flex items-center hover:bg-slate-300/50 transition-all",onClick:()=>{i(!1),o(!1)},children:a.text},a.text))})]})},NR=({color:e="white"})=>p.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.23021 8.01443C4.35919 7.70304 4.66305 7.5 5.00011 7.5H15.0001C15.3372 7.5 15.641 7.70304 15.77 8.01443C15.899 8.32583 15.8277 8.68426 15.5894 8.92259L10.5894 13.9226C10.2639 14.248 9.73629 14.248 9.41085 13.9226L4.41085 8.92259C4.17252 8.68426 4.10122 8.32583 4.23021 8.01443ZM7.01195 9.16667L10.0001 12.1548L12.9883 9.16667H7.01195Z",fill:e})}),_s=({className:e})=>p.jsx(Ye,{className:K("w-full py-20 h-full flex items-center justify-between",e),children:p.jsx(Gh,{className:"animate-spin mx-auto text-primary size-16"})});function OR(e){return Object.prototype.toString.call(e)==="[object Object]"}function Uf(e){return OR(e)||Array.isArray(e)}function jR(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function su(e,t){const n=Object.keys(e),s=Object.keys(t);if(n.length!==s.length)return!1;const r=JSON.stringify(Object.keys(e.breakpoints||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return r!==i?!1:n.every(o=>{const a=e[o],c=t[o];return typeof a=="function"?`${a}`==`${c}`:!Uf(a)||!Uf(c)?a===c:su(a,c)})}function $f(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function DR(e,t){if(e.length!==t.length)return!1;const n=$f(e),s=$f(t);return n.every((r,i)=>{const o=s[i];return su(r,o)})}function ru(e){return typeof e=="number"}function Cc(e){return typeof e=="string"}function ea(e){return typeof e=="boolean"}function zf(e){return Object.prototype.toString.call(e)==="[object Object]"}function Pe(e){return Math.abs(e)}function iu(e){return Math.sign(e)}function Vr(e,t){return Pe(e-t)}function MR(e,t){if(e===0||t===0||Pe(e)<=Pe(t))return 0;const n=Vr(Pe(e),Pe(t));return Pe(n/e)}function FR(e){return Math.round(e*100)/100}function ci(e){return li(e).map(Number)}function Ft(e){return e[Pi(e)]}function Pi(e){return Math.max(0,e.length-1)}function ou(e,t){return t===Pi(e)}function Wf(e,t=0){return Array.from(Array(e),(n,s)=>t+s)}function li(e){return Object.keys(e)}function ky(e,t){return[e,t].reduce((n,s)=>(li(s).forEach(r=>{const i=n[r],o=s[r],a=zf(i)&&zf(o);n[r]=a?ky(i,o):o}),n),{})}function Ec(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function LR(e,t){const n={start:s,center:r,end:i};function s(){return 0}function r(c){return i(c)/2}function i(c){return t-c}function o(c,l){return Cc(e)?n[e](c):e(t,c,l)}return{measure:o}}function ui(){let e=[];function t(r,i,o,a={passive:!0}){let c;if("addEventListener"in r)r.addEventListener(i,o,a),c=()=>r.removeEventListener(i,o,a);else{const l=r;l.addListener(o),c=()=>l.removeListener(o)}return e.push(c),s}function n(){e=e.filter(r=>r())}const s={add:t,clear:n};return s}function IR(e,t,n,s){const r=ui(),i=1e3/60;let o=null,a=0,c=0;function l(){r.add(e,"visibilitychange",()=>{e.hidden&&m()})}function u(){g(),r.clear()}function d(y){if(!c)return;o||(o=y,n(),n());const v=y-o;for(o=y,a+=v;a>=i;)n(),a-=i;const b=a/i;s(b),c&&(c=t.requestAnimationFrame(d))}function f(){c||(c=t.requestAnimationFrame(d))}function g(){t.cancelAnimationFrame(c),o=null,a=0,c=0}function m(){o=null,a=0}return{init:l,destroy:u,start:f,stop:g,update:n,render:s}}function VR(e,t){const n=t==="rtl",s=e==="y",r=s?"y":"x",i=s?"x":"y",o=!s&&n?-1:1,a=u(),c=d();function l(m){const{height:h,width:y}=m;return s?h:y}function u(){return s?"top":n?"right":"left"}function d(){return s?"bottom":n?"left":"right"}function f(m){return m*o}return{scroll:r,cross:i,startEdge:a,endEdge:c,measureSize:l,direction:f}}function bs(e=0,t=0){const n=Pe(e-t);function s(l){return lt}function i(l){return s(l)||r(l)}function o(l){return i(l)?s(l)?e:t:l}function a(l){return n?l-n*Math.ceil((l-t)/n):l}return{length:n,max:t,min:e,constrain:o,reachedAny:i,reachedMax:r,reachedMin:s,removeOffset:a}}function Ny(e,t,n){const{constrain:s}=bs(0,e),r=e+1;let i=o(t);function o(f){return n?Pe((r+f)%r):s(f)}function a(){return i}function c(f){return i=o(f),d}function l(f){return u().set(a()+f)}function u(){return Ny(e,a(),n)}const d={get:a,set:c,add:l,clone:u};return d}function BR(e,t,n,s,r,i,o,a,c,l,u,d,f,g,m,h,y,v,b){const{cross:w,direction:T}=e,S=["INPUT","SELECT","TEXTAREA"],A={passive:!1},P=ui(),E=ui(),O=bs(50,225).constrain(g.measure(20)),D={mouse:300,touch:400},L={mouse:500,touch:600},j=m?43:25;let $=!1,I=0,J=0,X=!1,H=!1,q=!1,re=!1;function de(G){if(!b)return;function fe($e){(ea(b)||b(G,$e))&&Je($e)}const Se=t;P.add(Se,"dragstart",$e=>$e.preventDefault(),A).add(Se,"touchmove",()=>{},A).add(Se,"touchend",()=>{}).add(Se,"touchstart",fe).add(Se,"mousedown",fe).add(Se,"touchcancel",ye).add(Se,"contextmenu",ye).add(Se,"click",Oe,!0)}function ge(){P.clear(),E.clear()}function Be(){const G=re?n:t;E.add(G,"touchmove",ue,A).add(G,"touchend",ye).add(G,"mousemove",ue,A).add(G,"mouseup",ye)}function He(G){const fe=G.nodeName||"";return S.includes(fe)}function qe(){return(m?L:D)[re?"mouse":"touch"]}function Pt(G,fe){const Se=d.add(iu(G)*-1),$e=u.byDistance(G,!m).distance;return m||Pe(G)=2,!(fe&&G.button!==0)&&(He(G.target)||(X=!0,i.pointerDown(G),l.useFriction(0).useDuration(0),r.set(o),Be(),I=i.readPoint(G),J=i.readPoint(G,w),f.emit("pointerDown")))}function ue(G){if(!Ec(G,s)&&G.touches.length>=2)return ye(G);const Se=i.readPoint(G),$e=i.readPoint(G,w),pt=Vr(Se,I),wt=Vr($e,J);if(!H&&!re&&(!G.cancelable||(H=pt>wt,!H)))return ye(G);const _=i.pointerMove(G);pt>h&&(q=!0),l.useFriction(.3).useDuration(.75),a.start(),r.add(T(_)),G.preventDefault()}function ye(G){const Se=u.byDistance(0,!1).index!==d.get(),$e=i.pointerUp(G)*qe(),pt=Pt(T($e),Se),wt=MR($e,pt),_=j-10*wt,R=v+wt/50;H=!1,X=!1,E.clear(),l.useDuration(_).useFriction(R),c.distance(pt,!m),re=!1,f.emit("pointerUp")}function Oe(G){q&&(G.stopPropagation(),G.preventDefault(),q=!1)}function Le(){return X}return{init:de,destroy:ge,pointerDown:Le}}function UR(e,t){let s,r;function i(d){return d.timeStamp}function o(d,f){const m=`client${(f||e.scroll)==="x"?"X":"Y"}`;return(Ec(d,t)?d:d.touches[0])[m]}function a(d){return s=d,r=d,o(d)}function c(d){const f=o(d)-o(r),g=i(d)-i(s)>170;return r=d,g&&(s=d),f}function l(d){if(!s||!r)return 0;const f=o(r)-o(s),g=i(d)-i(s),m=i(d)-i(r)>170,h=f/g;return g&&!m&&Pe(h)>.1?h:0}return{pointerDown:a,pointerMove:c,pointerUp:l,readPoint:o}}function $R(){function e(n){const{offsetTop:s,offsetLeft:r,offsetWidth:i,offsetHeight:o}=n;return{top:s,right:r+i,bottom:s+o,left:r,width:i,height:o}}return{measure:e}}function zR(e){function t(s){return e*(s/100)}return{measure:t}}function WR(e,t,n,s,r,i,o){const a=[e].concat(s);let c,l,u=[],d=!1;function f(y){return r.measureSize(o.measure(y))}function g(y){if(!i)return;l=f(e),u=s.map(f);function v(b){for(const w of b){if(d)return;const T=w.target===e,S=s.indexOf(w.target),A=T?l:u[S],P=f(T?e:s[S]);if(Pe(P-A)>=.5){y.reInit(),t.emit("resize");break}}}c=new ResizeObserver(b=>{(ea(i)||i(y,b))&&v(b)}),n.requestAnimationFrame(()=>{a.forEach(b=>c.observe(b))})}function m(){d=!0,c&&c.disconnect()}return{init:g,destroy:m}}function HR(e,t,n,s,r,i){let o=0,a=0,c=r,l=i,u=e.get(),d=0;function f(){const A=s.get()-e.get(),P=!c;let E=0;return P?(o=0,n.set(s),e.set(s),E=A):(n.set(e),o+=A/c,o*=l,u+=o,e.add(o),E=u-d),a=iu(E),d=u,S}function g(){const A=s.get()-t.get();return Pe(A)<.001}function m(){return c}function h(){return a}function y(){return o}function v(){return w(r)}function b(){return T(i)}function w(A){return c=A,S}function T(A){return l=A,S}const S={direction:h,duration:m,velocity:y,seek:f,settled:g,useBaseFriction:b,useBaseDuration:v,useFriction:T,useDuration:w};return S}function qR(e,t,n,s,r){const i=r.measure(10),o=r.measure(50),a=bs(.1,.99);let c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function u(g){if(!l())return;const m=e.reachedMin(t.get())?"min":"max",h=Pe(e[m]-t.get()),y=n.get()-t.get(),v=a.constrain(h/o);n.subtract(y*v),!g&&Pe(y){const{min:y,max:v}=i,b=i.constrain(m),w=!h,T=ou(n,h);return w?v:T||l(y,b)?y:l(v,b)?v:b}).map(m=>parseFloat(m.toFixed(3)))}function f(){if(t<=e+r)return[i.max];if(s==="keepSnaps")return o;const{min:m,max:h}=a;return o.slice(m,h)}return{snapsContained:c,scrollContainLimit:a}}function KR(e,t,n){const s=t[0],r=n?s-e:Ft(t);return{limit:bs(r,s)}}function GR(e,t,n,s){const i=t.min+.1,o=t.max+.1,{reachedMin:a,reachedMax:c}=bs(i,o);function l(f){return f===1?c(n.get()):f===-1?a(n.get()):!1}function u(f){if(!l(f))return;const g=e*(f*-1);s.forEach(m=>m.add(g))}return{loop:u}}function QR(e){const{max:t,length:n}=e;function s(i){const o=i-t;return n?o/-n:0}return{get:s}}function XR(e,t,n,s,r){const{startEdge:i,endEdge:o}=e,{groupSlides:a}=r,c=d().map(t.measure),l=f(),u=g();function d(){return a(s).map(h=>Ft(h)[o]-h[0][i]).map(Pe)}function f(){return s.map(h=>n[i]-h[i]).map(h=>-Pe(h))}function g(){return a(l).map(h=>h[0]).map((h,y)=>h+c[y])}return{snaps:l,snapsAligned:u}}function YR(e,t,n,s,r,i){const{groupSlides:o}=r,{min:a,max:c}=s,l=u();function u(){const f=o(i),g=!e||t==="keepSnaps";return n.length===1?[i]:g?f:f.slice(a,c).map((m,h,y)=>{const v=!h,b=ou(y,h);if(v){const w=Ft(y[0])+1;return Wf(w)}if(b){const w=Pi(i)-Ft(y)[0]+1;return Wf(w,Ft(y)[0])}return m})}return{slideRegistry:l}}function JR(e,t,n,s,r){const{reachedAny:i,removeOffset:o,constrain:a}=s;function c(m){return m.concat().sort((h,y)=>Pe(h)-Pe(y))[0]}function l(m){const h=e?o(m):a(m),y=t.map((b,w)=>({diff:u(b-h,0),index:w})).sort((b,w)=>Pe(b.diff)-Pe(w.diff)),{index:v}=y[0];return{index:v,distance:h}}function u(m,h){const y=[m,m+n,m-n];if(!e)return m;if(!h)return c(y);const v=y.filter(b=>iu(b)===h);return v.length?c(v):Ft(y)-n}function d(m,h){const y=t[m]-r.get(),v=u(y,h);return{index:m,distance:v}}function f(m,h){const y=r.get()+m,{index:v,distance:b}=l(y),w=!e&&i(y);if(!h||w)return{index:v,distance:m};const T=t[v]-b,S=m+u(T,0);return{index:v,distance:S}}return{byDistance:f,byIndex:d,shortcut:u}}function ek(e,t,n,s,r,i,o){function a(d){const f=d.distance,g=d.index!==t.get();i.add(f),f&&(s.duration()?e.start():(e.update(),e.render(1),e.update())),g&&(n.set(t.get()),t.set(d.index),o.emit("select"))}function c(d,f){const g=r.byDistance(d,f);a(g)}function l(d,f){const g=t.clone().set(d),m=r.byIndex(g.get(),f);a(m)}return{distance:c,index:l}}function tk(e,t,n,s,r,i,o,a){const c={passive:!0,capture:!0};let l=0;function u(g){if(!a)return;function m(h){if(new Date().getTime()-l>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;const b=n.findIndex(w=>w.includes(h));ru(b)&&(r.useDuration(0),s.index(b,0),o.emit("slideFocus"))}i.add(document,"keydown",d,!1),t.forEach((h,y)=>{i.add(h,"focus",v=>{(ea(a)||a(g,v))&&m(y)},c)})}function d(g){g.code==="Tab"&&(l=new Date().getTime())}return{init:u}}function kr(e){let t=e;function n(){return t}function s(c){t=o(c)}function r(c){t+=o(c)}function i(c){t-=o(c)}function o(c){return ru(c)?c:c.get()}return{get:n,set:s,add:r,subtract:i}}function Oy(e,t){const n=e.scroll==="x"?o:a,s=t.style;let r=null,i=!1;function o(f){return`translate3d(${f}px,0px,0px)`}function a(f){return`translate3d(0px,${f}px,0px)`}function c(f){if(i)return;const g=FR(e.direction(f));g!==r&&(s.transform=n(g),r=g)}function l(f){i=!f}function u(){i||(s.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:u,to:c,toggleActive:l}}function nk(e,t,n,s,r,i,o,a,c){const u=ci(r),d=ci(r).reverse(),f=v().concat(b());function g(P,E){return P.reduce((O,D)=>O-r[D],E)}function m(P,E){return P.reduce((O,D)=>g(O,E)>0?O.concat([D]):O,[])}function h(P){return i.map((E,O)=>({start:E-s[O]+.5+P,end:E+t-.5+P}))}function y(P,E,O){const D=h(E);return P.map(L=>{const j=O?0:-n,$=O?n:0,I=O?"end":"start",J=D[L][I];return{index:L,loopPoint:J,slideLocation:kr(-1),translate:Oy(e,c[L]),target:()=>a.get()>J?j:$}})}function v(){const P=o[0],E=m(d,P);return y(E,n,!1)}function b(){const P=t-o[0]-1,E=m(u,P);return y(E,-n,!0)}function w(){return f.every(({index:P})=>{const E=u.filter(O=>O!==P);return g(E,t)<=.1})}function T(){f.forEach(P=>{const{target:E,translate:O,slideLocation:D}=P,L=E();L!==D.get()&&(O.to(L),D.set(L))})}function S(){f.forEach(P=>P.translate.clear())}return{canLoop:w,clear:S,loop:T,loopPoints:f}}function sk(e,t,n){let s,r=!1;function i(c){if(!n)return;function l(u){for(const d of u)if(d.type==="childList"){c.reInit(),t.emit("slidesChanged");break}}s=new MutationObserver(u=>{r||(ea(n)||n(c,u))&&l(u)}),s.observe(e,{childList:!0})}function o(){s&&s.disconnect(),r=!0}return{init:i,destroy:o}}function rk(e,t,n,s){const r={};let i=null,o=null,a,c=!1;function l(){a=new IntersectionObserver(m=>{c||(m.forEach(h=>{const y=t.indexOf(h.target);r[y]=h}),i=null,o=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:s}),t.forEach(m=>a.observe(m))}function u(){a&&a.disconnect(),c=!0}function d(m){return li(r).reduce((h,y)=>{const v=parseInt(y),{isIntersecting:b}=r[v];return(m&&b||!m&&!b)&&h.push(v),h},[])}function f(m=!0){if(m&&i)return i;if(!m&&o)return o;const h=d(m);return m&&(i=h),m||(o=h),h}return{init:l,destroy:u,get:f}}function ik(e,t,n,s,r,i){const{measureSize:o,startEdge:a,endEdge:c}=e,l=n[0]&&r,u=m(),d=h(),f=n.map(o),g=y();function m(){if(!l)return 0;const b=n[0];return Pe(t[a]-b[a])}function h(){if(!l)return 0;const b=i.getComputedStyle(Ft(s));return parseFloat(b.getPropertyValue(`margin-${c}`))}function y(){return n.map((b,w,T)=>{const S=!w,A=ou(T,w);return S?f[w]+u:A?f[w]+d:T[w+1][a]-b[a]}).map(Pe)}return{slideSizes:f,slideSizesWithGaps:g,startGap:u,endGap:d}}function ok(e,t,n,s,r,i,o,a,c){const{startEdge:l,endEdge:u,direction:d}=e,f=ru(n);function g(v,b){return ci(v).filter(w=>w%b===0).map(w=>v.slice(w,w+b))}function m(v){return v.length?ci(v).reduce((b,w,T)=>{const S=Ft(b)||0,A=S===0,P=w===Pi(v),E=r[l]-i[S][l],O=r[l]-i[w][u],D=!s&&A?d(o):0,L=!s&&P?d(a):0,j=Pe(O-L-(E+D));return T&&j>t+c&&b.push(w),P&&b.push(v.length),b},[]).map((b,w,T)=>{const S=Math.max(T[w-1]||0);return v.slice(S,b)}):[]}function h(v){return f?g(v,n):m(v)}return{groupSlides:h}}function ak(e,t,n,s,r,i,o){const{align:a,axis:c,direction:l,startIndex:u,loop:d,duration:f,dragFree:g,dragThreshold:m,inViewThreshold:h,slidesToScroll:y,skipSnaps:v,containScroll:b,watchResize:w,watchSlides:T,watchDrag:S,watchFocus:A}=i,P=2,E=$R(),O=E.measure(t),D=n.map(E.measure),L=VR(c,l),j=L.measureSize(O),$=zR(j),I=LR(a,j),J=!d&&!!b,X=d||!!b,{slideSizes:H,slideSizesWithGaps:q,startGap:re,endGap:de}=ik(L,O,D,n,X,r),ge=ok(L,j,y,d,O,D,re,de,P),{snaps:Be,snapsAligned:He}=XR(L,I,O,D,ge),qe=-Ft(Be)+Ft(q),{snapsContained:Pt,scrollContainLimit:Je}=ZR(j,qe,He,b,P),ue=J?Pt:He,{limit:ye}=KR(qe,ue,d),Oe=Ny(Pi(ue),u,d),Le=Oe.clone(),we=ci(n),G=({dragHandler:Wt,scrollBody:Zn,scrollBounds:yr,options:{loop:Kn}})=>{Kn||yr.constrain(Wt.pointerDown()),Zn.seek()},fe=({scrollBody:Wt,translate:Zn,location:yr,offsetLocation:Kn,previousLocation:ta,scrollLooper:ki,slideLooper:Ky,dragHandler:Gy,animation:Qy,eventHandler:fu,scrollBounds:Xy,options:{loop:hu}},pu)=>{const mu=Wt.settled(),Yy=!Xy.shouldConstrain(),gu=hu?mu:mu&&Yy;gu&&!Gy.pointerDown()&&(Qy.stop(),fu.emit("settle")),gu||fu.emit("scroll");const Jy=yr.get()*pu+ta.get()*(1-pu);Kn.set(Jy),hu&&(ki.loop(Wt.direction()),Ky.loop()),Zn.to(Kn.get())},Se=IR(s,r,()=>G(gr),Wt=>fe(gr,Wt)),$e=.68,pt=ue[Oe.get()],wt=kr(pt),_=kr(pt),R=kr(pt),N=kr(pt),U=HR(wt,R,_,N,f,$e),V=JR(d,ue,qe,ye,N),F=ek(Se,Oe,Le,U,V,N,o),Y=QR(ye),ae=ui(),Ie=rk(t,n,o,h),{slideRegistry:je}=YR(J,b,ue,Je,ge,we),zt=tk(e,n,je,F,U,ae,o,A),gr={ownerDocument:s,ownerWindow:r,eventHandler:o,containerRect:O,slideRects:D,animation:Se,axis:L,dragHandler:BR(L,e,s,r,N,UR(L,r),wt,Se,F,U,V,Oe,o,$,g,m,v,$e,S),eventStore:ae,percentOfView:$,index:Oe,indexPrevious:Le,limit:ye,location:wt,offsetLocation:R,previousLocation:_,options:i,resizeHandler:WR(t,o,r,n,L,w,E),scrollBody:U,scrollBounds:qR(ye,R,N,U,$),scrollLooper:GR(qe,ye,R,[wt,R,_,N]),scrollProgress:Y,scrollSnapList:ue.map(Y.get),scrollSnaps:ue,scrollTarget:V,scrollTo:F,slideLooper:nk(L,j,qe,H,q,Be,ue,R,n),slideFocus:zt,slidesHandler:sk(t,o,T),slidesInView:Ie,slideIndexes:we,slideRegistry:je,slidesToScroll:ge,target:N,translate:Oy(L,t)};return gr}function ck(){let e={},t;function n(l){t=l}function s(l){return e[l]||[]}function r(l){return s(l).forEach(u=>u(t,l)),c}function i(l,u){return e[l]=s(l).concat([u]),c}function o(l,u){return e[l]=s(l).filter(d=>d!==u),c}function a(){e={}}const c={init:n,emit:r,off:o,on:i,clear:a};return c}const lk={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function uk(e){function t(i,o){return ky(i,o||{})}function n(i){const o=i.breakpoints||{},a=li(o).filter(c=>e.matchMedia(c).matches).map(c=>o[c]).reduce((c,l)=>t(c,l),{});return t(i,a)}function s(i){return i.map(o=>li(o.breakpoints||{})).reduce((o,a)=>o.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:s}}function dk(e){let t=[];function n(i,o){return t=o.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(i,e)),o.reduce((a,c)=>Object.assign(a,{[c.name]:c}),{})}function s(){t=t.filter(i=>i.destroy())}return{init:n,destroy:s}}function Po(e,t,n){const s=e.ownerDocument,r=s.defaultView,i=uk(r),o=dk(i),a=ui(),c=ck(),{mergeOptions:l,optionsAtMedia:u,optionsMediaQueries:d}=i,{on:f,off:g,emit:m}=c,h=L;let y=!1,v,b=l(lk,Po.globalOptions),w=l(b),T=[],S,A,P;function E(){const{container:we,slides:G}=w;A=(Cc(we)?e.querySelector(we):we)||e.children[0];const Se=Cc(G)?A.querySelectorAll(G):G;P=[].slice.call(Se||A.children)}function O(we){const G=ak(e,A,P,s,r,we,c);if(we.loop&&!G.slideLooper.canLoop()){const fe=Object.assign({},we,{loop:!1});return O(fe)}return G}function D(we,G){y||(b=l(b,we),w=u(b),T=G||T,E(),v=O(w),d([b,...T.map(({options:fe})=>fe)]).forEach(fe=>a.add(fe,"change",L)),w.active&&(v.translate.to(v.location.get()),v.animation.init(),v.slidesInView.init(),v.slideFocus.init(Le),v.eventHandler.init(Le),v.resizeHandler.init(Le),v.slidesHandler.init(Le),v.options.loop&&v.slideLooper.loop(),A.offsetParent&&P.length&&v.dragHandler.init(Le),S=o.init(Le,T)))}function L(we,G){const fe=ge();j(),D(l({startIndex:fe},we),G),c.emit("reInit")}function j(){v.dragHandler.destroy(),v.eventStore.clear(),v.translate.clear(),v.slideLooper.clear(),v.resizeHandler.destroy(),v.slidesHandler.destroy(),v.slidesInView.destroy(),v.animation.destroy(),o.destroy(),a.clear()}function $(){y||(y=!0,a.clear(),j(),c.emit("destroy"),c.clear())}function I(we,G,fe){!w.active||y||(v.scrollBody.useBaseFriction().useDuration(G===!0?0:w.duration),v.scrollTo.index(we,fe||0))}function J(we){const G=v.index.add(1).get();I(G,we,-1)}function X(we){const G=v.index.add(-1).get();I(G,we,1)}function H(){return v.index.add(1).get()!==ge()}function q(){return v.index.add(-1).get()!==ge()}function re(){return v.scrollSnapList}function de(){return v.scrollProgress.get(v.location.get())}function ge(){return v.index.get()}function Be(){return v.indexPrevious.get()}function He(){return v.slidesInView.get()}function qe(){return v.slidesInView.get(!1)}function Pt(){return S}function Je(){return v}function ue(){return e}function ye(){return A}function Oe(){return P}const Le={canScrollNext:H,canScrollPrev:q,containerNode:ye,internalEngine:Je,destroy:$,off:g,on:f,emit:m,plugins:Pt,previousScrollSnap:Be,reInit:h,rootNode:ue,scrollNext:J,scrollPrev:X,scrollProgress:de,scrollSnapList:re,scrollTo:I,selectedScrollSnap:ge,slideNodes:Oe,slidesInView:He,slidesNotInView:qe};return D(t,n),setTimeout(()=>c.emit("init"),0),Le}Po.globalOptions=void 0;function Hn(e={},t=[]){const n=x.useRef(e),s=x.useRef(t),[r,i]=x.useState(),[o,a]=x.useState(),c=x.useCallback(()=>{r&&r.reInit(n.current,s.current)},[r]);return x.useEffect(()=>{su(n.current,e)||(n.current=e,c())},[e,c]),x.useEffect(()=>{DR(s.current,t)||(s.current=t,c())},[t,c]),x.useEffect(()=>{if(jR()&&o){Po.globalOptions=Hn.globalOptions;const l=Po(o,n.current,s.current);return i(l),()=>l.destroy()}else i(void 0)},[o,i]),[a,r]}Hn.globalOptions=void 0;const fk=[{id:0,title:"Все компании",titleEn:"All companies"},{id:3,title:"Государственные учреждения ",titleEn:"Government Institutions"},{id:1,title:"Местные компании",titleEn:"Local companies"},{id:2,title:"Иностранные компании",titleEn:"Foreign companies"}],T1=({className:e,setState:t,state:n,data:s=fk})=>{const r=Ce(m=>m.lang),i=lo("(min-width: 768px)"),[o,a]=x.useState({left:0,width:0}),[c,l]=Hn({axis:"x",align:"start",containScroll:"trimSnaps"},[]),u=x.useRef([]),d=x.useRef(null),f=x.useCallback(()=>{const m=u.current[n];if(m){if(i)a({left:m.offsetLeft,width:m.offsetWidth});else if(l){const h=l.rootNode(),y=l.containerNode();if(!h||!y)return;const v=y.scrollLeft,b=m.offsetLeft;a({left:b-v,width:m.offsetWidth})}}},[n,i,l]);x.useEffect(()=>{!i&&l||(l==null||l.scrollTo(n),f())},[l,n,f,i]),x.useEffect(()=>{if(l)return f(),l.on("scroll",f),l.on("resize",f),()=>{l.off("scroll",f),l.off("resize",f)}},[l,f]);const g=x.useCallback(m=>{t(m),!i&&l&&l.scrollTo(m)},[l,t,i]);return p.jsxs("div",{ref:d,className:K("relative mx-auto",e),style:{width:"fit-content",maxWidth:"100%"},children:[i?p.jsx("div",{className:"flex",role:"tablist",children:s==null?void 0:s.map((m,h)=>p.jsx("button",{ref:y=>u.current[h]=y,role:"tab","aria-selected":n===h,className:K("shrink-0 text-center relative h-12 mx-4 py-2 text-sm md:text-base whitespace-nowrap transition-all",n===h?"text-primary":"text-on_surface_v"),onClick:()=>g(h),children:r==="ru"?m.title:m.titleEn},m.id))}):p.jsx("div",{ref:c,className:"",role:"tablist",children:p.jsx("div",{className:"flex",children:s==null?void 0:s.map((m,h)=>p.jsx("button",{ref:y=>u.current[h]=y,role:"tab","aria-selected":n===h,className:K("shrink-0 text-center relative after:transition-all after:rounded after:w-full after:h-0.5 after:bg-primary after:opacity-0 after:absolute after:bottom-0 after:left-0 h-12 mx-4 py-2 text-sm md:text-base whitespace-nowrap transition-all",n===h?"text-primary after:opacity-100":"text-on_surface_v"),onClick:()=>g(h),children:r==="ru"?m.title:m.titleEn},m.id))})}),p.jsx("div",{className:"absolute md:block hidden bottom-0 h-[3px] rounded-t-[2px] bg-primary transition-all duration-200",style:o})]})},C1=({className:e,index:t,name:n,image:s,image_country:r,country:i,about:o,arr:a})=>{const c=Ce(l=>l.lang);return p.jsxs(p.Fragment,{children:[p.jsxs("div",{className:K("flex border-b md:hidden py-2 border-outline_v",e),children:[p.jsxs("div",{className:"flex flex-1 flex-col items-start gap-4",children:[p.jsx("div",{className:"flex items-center w-full",children:p.jsxs("div",{className:"flex items-center flex-[0_0_80%] gap-3",children:[p.jsxs("h3",{className:"text-xs normal flex-[0_0_90px]",children:[c==="ru"?"Название":"Company",":"]}),p.jsx("h4",{className:"text-xs flex-[0_0_70%]",children:n})]})}),p.jsx("div",{className:"flex items-center gap-3",children:p.jsx("div",{className:"flex items-center w-full",children:p.jsxs("div",{className:"flex items-center flex-[0_0_80%] gap-3",children:[p.jsxs("h3",{className:"text-xs normal flex-[0_0_90px]",children:[c==="ru"?"Страна":"Country",":"]}),p.jsxs("div",{className:"flex items-center flex-[0_0_50%] gap-2",children:[p.jsx("img",{src:r==null?void 0:r.path,alt:"flag",className:"size-4 flex-[0_0_16px] object-contain"}),p.jsx("h4",{className:"text-xs flex-1",children:i})]})]})})}),p.jsx("div",{className:"flex items-center ",children:p.jsxs("div",{className:"flex items-center flex-[0_0_80%] gap-3",children:[p.jsxs("h3",{className:"text-xs normal flex-[0_0_90px]",children:[c==="ru"?"Сфера":"Industry",":"]}),p.jsx("h4",{className:"text-xs flex-1",children:o})]})})]}),p.jsx("div",{className:"flex-[0_0_88px] size-[88px] bg-white ",children:p.jsx("img",{src:s==null?void 0:s.path,alt:"company",className:"size-full object-contain"})})]},t),p.jsxs("div",{className:K("md:flex hidden p-4 ",a!==t+1&&"border-b border-outline_v"),children:[p.jsxs("div",{className:"flex-[0_0_45.54%] flex gap-8",children:[p.jsx("div",{className:"flex-[0_0_88px] sm:flex-[0_0_128px] size-[88px] bg-white sm:size-[128px]",children:p.jsx("img",{src:s==null?void 0:s.path,alt:"company",className:"size-full object-contain"})}),p.jsx("h3",{className:"text-lg xl:mr-20 mr-10",children:n})]}),p.jsxs("div",{className:"flex-[0_0_19.80%] flex gap-2.5",children:[p.jsx("img",{src:r==null?void 0:r.path,alt:"flag",className:"size-4"}),p.jsx("h4",{className:"text-sm normal",children:i})]}),p.jsx("h3",{className:"text-sm normal md:ml-1 flex-[0_0_34.65%]",children:o})]})]})};var Ri=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ws=typeof window>"u"||"Deno"in globalThis;function Ct(){}function hk(e,t){return typeof e=="function"?e(t):e}function Ac(e){return typeof e=="number"&&e>=0&&e!==1/0}function jy(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Vs(e,t){return typeof e=="function"?e(t):e}function Ot(e,t){return typeof e=="function"?e(t):e}function Hf(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:a}=e;if(o){if(s){if(t.queryHash!==au(o,t.options))return!1}else if(!fi(t.queryKey,o))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||r&&r!==t.state.fetchStatus||i&&!i(t))}function qf(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(di(t.options.mutationKey)!==di(i))return!1}else if(!fi(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function au(e,t){return((t==null?void 0:t.queryKeyHashFn)||di)(e)}function di(e){return JSON.stringify(e,(t,n)=>Rc(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function fi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!fi(e[n],t[n])):!1}function Dy(e,t){if(e===t)return e;const n=Zf(e)&&Zf(t);if(n||Rc(e)&&Rc(t)){const s=n?e:Object.keys(e),r=s.length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{};let c=0;for(let l=0;l{setTimeout(t,e)})}function kc(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Dy(e,t):t}function mk(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function gk(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var cu=Symbol();function My(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===cu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var ts,En,Bs,nh,yk=(nh=class extends Ri{constructor(){super();ne(this,ts);ne(this,En);ne(this,Bs);Z(this,Bs,t=>{if(!ws&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){C(this,En)||this.setEventListener(C(this,Bs))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,En))==null||t.call(this),Z(this,En,void 0))}setEventListener(t){var n;Z(this,Bs,t),(n=C(this,En))==null||n.call(this),Z(this,En,t(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(t){C(this,ts)!==t&&(Z(this,ts,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof C(this,ts)=="boolean"?C(this,ts):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ts=new WeakMap,En=new WeakMap,Bs=new WeakMap,nh),lu=new yk,Us,An,$s,sh,vk=(sh=class extends Ri{constructor(){super();ne(this,Us,!0);ne(this,An);ne(this,$s);Z(this,$s,t=>{if(!ws&&window.addEventListener){const n=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",s)}}})}onSubscribe(){C(this,An)||this.setEventListener(C(this,$s))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,An))==null||t.call(this),Z(this,An,void 0))}setEventListener(t){var n;Z(this,$s,t),(n=C(this,An))==null||n.call(this),Z(this,An,t(this.setOnline.bind(this)))}setOnline(t){C(this,Us)!==t&&(Z(this,Us,t),this.listeners.forEach(s=>{s(t)}))}isOnline(){return C(this,Us)}},Us=new WeakMap,An=new WeakMap,$s=new WeakMap,sh),Ro=new vk;function Nc(){let e,t;const n=new Promise((r,i)=>{e=r,t=i});n.status="pending",n.catch(()=>{});function s(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{s({status:"fulfilled",value:r}),e(r)},n.reject=r=>{s({status:"rejected",reason:r}),t(r)},n}function xk(e){return Math.min(1e3*2**e,3e4)}function Fy(e){return(e??"online")==="online"?Ro.isOnline():!0}var Ly=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Fa(e){return e instanceof Ly}function Iy(e){let t=!1,n=0,s=!1,r;const i=Nc(),o=h=>{var y;s||(f(new Ly(h)),(y=e.abort)==null||y.call(e))},a=()=>{t=!0},c=()=>{t=!1},l=()=>lu.isFocused()&&(e.networkMode==="always"||Ro.isOnline())&&e.canRun(),u=()=>Fy(e.networkMode)&&e.canRun(),d=h=>{var y;s||(s=!0,(y=e.onSuccess)==null||y.call(e,h),r==null||r(),i.resolve(h))},f=h=>{var y;s||(s=!0,(y=e.onError)==null||y.call(e,h),r==null||r(),i.reject(h))},g=()=>new Promise(h=>{var y;r=v=>{(s||l())&&h(v)},(y=e.onPause)==null||y.call(e)}).then(()=>{var h;r=void 0,s||(h=e.onContinue)==null||h.call(e)}),m=()=>{if(s)return;let h;const y=n===0?e.initialPromise:void 0;try{h=y??e.fn()}catch(v){h=Promise.reject(v)}Promise.resolve(h).then(d).catch(v=>{var A;if(s)return;const b=e.retry??(ws?0:3),w=e.retryDelay??xk,T=typeof w=="function"?w(n,v):w,S=b===!0||typeof b=="number"&&nl()?void 0:g()).then(()=>{t?f(v):m()})})};return{promise:i,cancel:o,continue:()=>(r==null||r(),i),cancelRetry:a,continueRetry:c,canStart:u,start:()=>(u()?m():g().then(m),i)}}function bk(){let e=[],t=0,n=a=>{a()},s=a=>{a()},r=a=>setTimeout(a,0);const i=a=>{t?e.push(a):r(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&r(()=>{s(()=>{a.forEach(c=>{n(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||o()}return c},batchCalls:a=>(...c)=>{i(()=>{a(...c)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{s=a},setScheduler:a=>{r=a}}}var We=bk(),ns,rh,Vy=(rh=class{constructor(){ne(this,ns)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ac(this.gcTime)&&Z(this,ns,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ws?1/0:5*60*1e3))}clearGcTimeout(){C(this,ns)&&(clearTimeout(C(this,ns)),Z(this,ns,void 0))}},ns=new WeakMap,rh),zs,Ws,Tt,ss,Ze,hi,rs,kt,dn,ih,wk=(ih=class extends Vy{constructor(t){super();ne(this,kt);ne(this,zs);ne(this,Ws);ne(this,Tt);ne(this,ss);ne(this,Ze);ne(this,hi);ne(this,rs);Z(this,rs,!1),Z(this,hi,t.defaultOptions),this.setOptions(t.options),this.observers=[],Z(this,ss,t.client),Z(this,Tt,C(this,ss).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Z(this,zs,Sk(this.options)),this.state=t.state??C(this,zs),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=C(this,Ze))==null?void 0:t.promise}setOptions(t){this.options={...C(this,hi),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&C(this,Tt).remove(this)}setData(t,n){const s=kc(this.state.data,t,this.options);return he(this,kt,dn).call(this,{data:s,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),s}setState(t,n){he(this,kt,dn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var s,r;const n=(s=C(this,Ze))==null?void 0:s.promise;return(r=C(this,Ze))==null||r.cancel(t),n?n.then(Ct).catch(Ct):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(C(this,zs))}isActive(){return this.observers.some(t=>Ot(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===cu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!jy(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(s=>s.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Ze))==null||n.continue()}onOnline(){var n;const t=this.observers.find(s=>s.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Ze))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),C(this,Tt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(C(this,Ze)&&(C(this,rs)?C(this,Ze).cancel({revert:!0}):C(this,Ze).cancelRetry()),this.scheduleGc()),C(this,Tt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||he(this,kt,dn).call(this,{type:"invalidate"})}fetch(t,n){var c,l,u;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(C(this,Ze))return C(this,Ze).continueRetry(),C(this,Ze).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}const s=new AbortController,r=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(Z(this,rs,!0),s.signal)})},i=()=>{const d=My(this.options,n),f={client:C(this,ss),queryKey:this.queryKey,meta:this.meta};return r(f),Z(this,rs,!1),this.options.persister?this.options.persister(d,f,this):d(f)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:C(this,ss),state:this.state,fetchFn:i};r(o),(c=this.options.behavior)==null||c.onFetch(o,this),Z(this,Ws,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((l=o.fetchOptions)==null?void 0:l.meta))&&he(this,kt,dn).call(this,{type:"fetch",meta:(u=o.fetchOptions)==null?void 0:u.meta});const a=d=>{var f,g,m,h;Fa(d)&&d.silent||he(this,kt,dn).call(this,{type:"error",error:d}),Fa(d)||((g=(f=C(this,Tt).config).onError)==null||g.call(f,d,this),(h=(m=C(this,Tt).config).onSettled)==null||h.call(m,this.state.data,d,this)),this.scheduleGc()};return Z(this,Ze,Iy({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:s.abort.bind(s),onSuccess:d=>{var f,g,m,h;if(d===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(y){a(y);return}(g=(f=C(this,Tt).config).onSuccess)==null||g.call(f,d,this),(h=(m=C(this,Tt).config).onSettled)==null||h.call(m,d,this.state.error,this),this.scheduleGc()},onError:a,onFail:(d,f)=>{he(this,kt,dn).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{he(this,kt,dn).call(this,{type:"pause"})},onContinue:()=>{he(this,kt,dn).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),C(this,Ze).start()}},zs=new WeakMap,Ws=new WeakMap,Tt=new WeakMap,ss=new WeakMap,Ze=new WeakMap,hi=new WeakMap,rs=new WeakMap,kt=new WeakSet,dn=function(t){const n=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...By(s.data,this.options),fetchMeta:t.meta??null};case"success":return{...s,data:t.data,dataUpdateCount:s.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const r=t.error;return Fa(r)&&r.revert&&C(this,Ws)?{...C(this,Ws),fetchStatus:"idle"}:{...s,error:r,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=n(this.state),We.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),C(this,Tt).notify({query:this,type:"updated",action:t})})},ih);function By(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Fy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Sk(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,s=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var qt,oh,_k=(oh=class extends Ri{constructor(t={}){super();ne(this,qt);this.config=t,Z(this,qt,new Map)}build(t,n,s){const r=n.queryKey,i=n.queryHash??au(r,n);let o=this.get(i);return o||(o=new wk({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(o)),o}add(t){C(this,qt).has(t.queryHash)||(C(this,qt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=C(this,qt).get(t.queryHash);n&&(t.destroy(),n===t&&C(this,qt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){We.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return C(this,qt).get(t)}getAll(){return[...C(this,qt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>Hf(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>Hf(t,s)):n}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){We.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){We.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},qt=new WeakMap,oh),Zt,et,is,Kt,Tn,ah,Tk=(ah=class extends Vy{constructor(t){super();ne(this,Kt);ne(this,Zt);ne(this,et);ne(this,is);this.mutationId=t.mutationId,Z(this,et,t.mutationCache),Z(this,Zt,[]),this.state=t.state||Ck(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){C(this,Zt).includes(t)||(C(this,Zt).push(t),this.clearGcTimeout(),C(this,et).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Z(this,Zt,C(this,Zt).filter(n=>n!==t)),this.scheduleGc(),C(this,et).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){C(this,Zt).length||(this.state.status==="pending"?this.scheduleGc():C(this,et).remove(this))}continue(){var t;return((t=C(this,is))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var r,i,o,a,c,l,u,d,f,g,m,h,y,v,b,w,T,S,A,P;Z(this,is,Iy({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(E,O)=>{he(this,Kt,Tn).call(this,{type:"failed",failureCount:E,error:O})},onPause:()=>{he(this,Kt,Tn).call(this,{type:"pause"})},onContinue:()=>{he(this,Kt,Tn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>C(this,et).canRun(this)}));const n=this.state.status==="pending",s=!C(this,is).canStart();try{if(!n){he(this,Kt,Tn).call(this,{type:"pending",variables:t,isPaused:s}),await((i=(r=C(this,et).config).onMutate)==null?void 0:i.call(r,t,this));const O=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,t));O!==this.state.context&&he(this,Kt,Tn).call(this,{type:"pending",context:O,variables:t,isPaused:s})}const E=await C(this,is).start();return await((l=(c=C(this,et).config).onSuccess)==null?void 0:l.call(c,E,t,this.state.context,this)),await((d=(u=this.options).onSuccess)==null?void 0:d.call(u,E,t,this.state.context)),await((g=(f=C(this,et).config).onSettled)==null?void 0:g.call(f,E,null,this.state.variables,this.state.context,this)),await((h=(m=this.options).onSettled)==null?void 0:h.call(m,E,null,t,this.state.context)),he(this,Kt,Tn).call(this,{type:"success",data:E}),E}catch(E){try{throw await((v=(y=C(this,et).config).onError)==null?void 0:v.call(y,E,t,this.state.context,this)),await((w=(b=this.options).onError)==null?void 0:w.call(b,E,t,this.state.context)),await((S=(T=C(this,et).config).onSettled)==null?void 0:S.call(T,void 0,E,this.state.variables,this.state.context,this)),await((P=(A=this.options).onSettled)==null?void 0:P.call(A,void 0,E,t,this.state.context)),E}finally{he(this,Kt,Tn).call(this,{type:"error",error:E})}}finally{C(this,et).runNext(this)}}},Zt=new WeakMap,et=new WeakMap,is=new WeakMap,Kt=new WeakSet,Tn=function(t){const n=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),We.batch(()=>{C(this,Zt).forEach(s=>{s.onMutationUpdate(t)}),C(this,et).notify({mutation:this,type:"updated",action:t})})},ah);function Ck(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hn,Nt,pi,ch,Ek=(ch=class extends Ri{constructor(t={}){super();ne(this,hn);ne(this,Nt);ne(this,pi);this.config=t,Z(this,hn,new Set),Z(this,Nt,new Map),Z(this,pi,0)}build(t,n,s){const r=new Tk({mutationCache:this,mutationId:++Ni(this,pi)._,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){C(this,hn).add(t);const n=zi(t);if(typeof n=="string"){const s=C(this,Nt).get(n);s?s.push(t):C(this,Nt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(C(this,hn).delete(t)){const n=zi(t);if(typeof n=="string"){const s=C(this,Nt).get(n);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&C(this,Nt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=zi(t);if(typeof n=="string"){const s=C(this,Nt).get(n),r=s==null?void 0:s.find(i=>i.state.status==="pending");return!r||r===t}else return!0}runNext(t){var s;const n=zi(t);if(typeof n=="string"){const r=(s=C(this,Nt).get(n))==null?void 0:s.find(i=>i!==t&&i.state.isPaused);return(r==null?void 0:r.continue())??Promise.resolve()}else return Promise.resolve()}clear(){We.batch(()=>{C(this,hn).forEach(t=>{this.notify({type:"removed",mutation:t})}),C(this,hn).clear(),C(this,Nt).clear()})}getAll(){return Array.from(C(this,hn))}find(t){const n={exact:!0,...t};return this.getAll().find(s=>qf(n,s))}findAll(t={}){return this.getAll().filter(n=>qf(t,n))}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return We.batch(()=>Promise.all(t.map(n=>n.continue().catch(Ct))))}},hn=new WeakMap,Nt=new WeakMap,pi=new WeakMap,ch);function zi(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Gf(e){return{onFetch:(t,n)=>{var u,d,f,g,m;const s=t.options,r=(f=(d=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,i=((g=t.state.data)==null?void 0:g.pages)||[],o=((m=t.state.data)==null?void 0:m.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const l=async()=>{let h=!1;const y=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?h=!0:t.signal.addEventListener("abort",()=>{h=!0}),t.signal)})},v=My(t.options,t.fetchOptions),b=async(w,T,S)=>{if(h)return Promise.reject();if(T==null&&w.pages.length)return Promise.resolve(w);const A={client:t.client,queryKey:t.queryKey,pageParam:T,direction:S?"backward":"forward",meta:t.options.meta};y(A);const P=await v(A),{maxPages:E}=t.options,O=S?gk:mk;return{pages:O(w.pages,P,E),pageParams:O(w.pageParams,T,E)}};if(r&&i.length){const w=r==="backward",T=w?Ak:Qf,S={pages:i,pageParams:o},A=T(s,S);a=await b(S,A,w)}else{const w=e??i.length;do{const T=c===0?o[0]??s.initialPageParam:Qf(s,a);if(c>0&&T==null)break;a=await b(a,T),c++}while(c{var h,y;return(y=(h=t.options).persister)==null?void 0:y.call(h,l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=l}}}function Qf(e,{pages:t,pageParams:n}){const s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,n[s],n):void 0}function Ak(e,{pages:t,pageParams:n}){var s;return t.length>0?(s=e.getPreviousPageParam)==null?void 0:s.call(e,t[0],t,n[0],n):void 0}var Re,Pn,Rn,Hs,qs,kn,Zs,Ks,lh,E1=(lh=class{constructor(e={}){ne(this,Re);ne(this,Pn);ne(this,Rn);ne(this,Hs);ne(this,qs);ne(this,kn);ne(this,Zs);ne(this,Ks);Z(this,Re,e.queryCache||new _k),Z(this,Pn,e.mutationCache||new Ek),Z(this,Rn,e.defaultOptions||{}),Z(this,Hs,new Map),Z(this,qs,new Map),Z(this,kn,0)}mount(){Ni(this,kn)._++,C(this,kn)===1&&(Z(this,Zs,lu.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Re).onFocus())})),Z(this,Ks,Ro.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Re).onOnline())})))}unmount(){var e,t;Ni(this,kn)._--,C(this,kn)===0&&((e=C(this,Zs))==null||e.call(this),Z(this,Zs,void 0),(t=C(this,Ks))==null||t.call(this),Z(this,Ks,void 0))}isFetching(e){return C(this,Re).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return C(this,Pn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,Re).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=C(this,Re).build(this,t),s=n.state.data;return s===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Vs(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(s))}getQueriesData(e){return C(this,Re).findAll(e).map(({queryKey:t,state:n})=>{const s=n.data;return[t,s]})}setQueryData(e,t,n){const s=this.defaultQueryOptions({queryKey:e}),r=C(this,Re).get(s.queryHash),i=r==null?void 0:r.state.data,o=hk(t,i);if(o!==void 0)return C(this,Re).build(this,s).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return We.batch(()=>C(this,Re).findAll(e).map(({queryKey:s})=>[s,this.setQueryData(s,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,Re).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=C(this,Re);We.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=C(this,Re),s={type:"active",...e};return We.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries(s,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},s=We.batch(()=>C(this,Re).findAll(e).map(r=>r.cancel(n)));return Promise.all(s).then(Ct).catch(Ct)}invalidateQueries(e,t={}){return We.batch(()=>{if(C(this,Re).findAll(e).forEach(s=>{s.invalidate()}),(e==null?void 0:e.refetchType)==="none")return Promise.resolve();const n={...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"};return this.refetchQueries(n,t)})}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},s=We.batch(()=>C(this,Re).findAll(e).filter(r=>!r.isDisabled()).map(r=>{let i=r.fetch(void 0,n);return n.throwOnError||(i=i.catch(Ct)),r.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(s).then(Ct)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=C(this,Re).build(this,t);return n.isStaleByTime(Vs(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ct).catch(Ct)}fetchInfiniteQuery(e){return e.behavior=Gf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ct).catch(Ct)}ensureInfiniteQueryData(e){return e.behavior=Gf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ro.isOnline()?C(this,Pn).resumePausedMutations():Promise.resolve()}getQueryCache(){return C(this,Re)}getMutationCache(){return C(this,Pn)}getDefaultOptions(){return C(this,Rn)}setDefaultOptions(e){Z(this,Rn,e)}setQueryDefaults(e,t){C(this,Hs).set(di(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...C(this,Hs).values()],n={};return t.forEach(s=>{fi(e,s.queryKey)&&Object.assign(n,s.defaultOptions)}),n}setMutationDefaults(e,t){C(this,qs).set(di(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...C(this,qs).values()];let n={};return t.forEach(s=>{fi(e,s.mutationKey)&&(n={...n,...s.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...C(this,Rn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=au(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===cu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...C(this,Rn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){C(this,Re).clear(),C(this,Pn).clear()}},Re=new WeakMap,Pn=new WeakMap,Rn=new WeakMap,Hs=new WeakMap,qs=new WeakMap,kn=new WeakMap,Zs=new WeakMap,Ks=new WeakMap,lh),ct,pe,mi,tt,os,Gs,Nn,Gt,gi,Qs,Xs,as,cs,On,Ys,be,Nr,Oc,jc,Dc,Mc,Fc,Lc,Ic,Uy,uh,Pk=(uh=class extends Ri{constructor(t,n){super();ne(this,be);ne(this,ct);ne(this,pe);ne(this,mi);ne(this,tt);ne(this,os);ne(this,Gs);ne(this,Nn);ne(this,Gt);ne(this,gi);ne(this,Qs);ne(this,Xs);ne(this,as);ne(this,cs);ne(this,On);ne(this,Ys,new Set);this.options=n,Z(this,ct,t),Z(this,Gt,null),Z(this,Nn,Nc()),this.options.experimental_prefetchInRender||C(this,Nn).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(C(this,pe).addObserver(this),Xf(C(this,pe),this.options)?he(this,be,Nr).call(this):this.updateResult(),he(this,be,Mc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Vc(C(this,pe),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Vc(C(this,pe),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,he(this,be,Fc).call(this),he(this,be,Lc).call(this),C(this,pe).removeObserver(this)}setOptions(t,n){const s=this.options,r=C(this,pe);if(this.options=C(this,ct).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Ot(this.options.enabled,C(this,pe))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");he(this,be,Ic).call(this),C(this,pe).setOptions(this.options),s._defaulted&&!Pc(this.options,s)&&C(this,ct).getQueryCache().notify({type:"observerOptionsUpdated",query:C(this,pe),observer:this});const i=this.hasListeners();i&&Yf(C(this,pe),r,this.options,s)&&he(this,be,Nr).call(this),this.updateResult(n),i&&(C(this,pe)!==r||Ot(this.options.enabled,C(this,pe))!==Ot(s.enabled,C(this,pe))||Vs(this.options.staleTime,C(this,pe))!==Vs(s.staleTime,C(this,pe)))&&he(this,be,Oc).call(this);const o=he(this,be,jc).call(this);i&&(C(this,pe)!==r||Ot(this.options.enabled,C(this,pe))!==Ot(s.enabled,C(this,pe))||o!==C(this,On))&&he(this,be,Dc).call(this,o)}getOptimisticResult(t){const n=C(this,ct).getQueryCache().build(C(this,ct),t),s=this.createResult(n,t);return kk(this,s)&&(Z(this,tt,s),Z(this,Gs,this.options),Z(this,os,C(this,pe).state)),s}getCurrentResult(){return C(this,tt)}trackResult(t,n){const s={};return Object.keys(t).forEach(r=>{Object.defineProperty(s,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),n==null||n(r),t[r])})}),s}trackProp(t){C(this,Ys).add(t)}getCurrentQuery(){return C(this,pe)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=C(this,ct).defaultQueryOptions(t),s=C(this,ct).getQueryCache().build(C(this,ct),n);return s.fetch().then(()=>this.createResult(s,n))}fetch(t){return he(this,be,Nr).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),C(this,tt)))}createResult(t,n){var E;const s=C(this,pe),r=this.options,i=C(this,tt),o=C(this,os),a=C(this,Gs),l=t!==s?t.state:C(this,mi),{state:u}=t;let d={...u},f=!1,g;if(n._optimisticResults){const O=this.hasListeners(),D=!O&&Xf(t,n),L=O&&Yf(t,s,n,r);(D||L)&&(d={...d,...By(u.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:m,errorUpdatedAt:h,status:y}=d;if(n.select&&d.data!==void 0)if(i&&d.data===(o==null?void 0:o.data)&&n.select===C(this,gi))g=C(this,Qs);else try{Z(this,gi,n.select),g=n.select(d.data),g=kc(i==null?void 0:i.data,g,n),Z(this,Qs,g),Z(this,Gt,null)}catch(O){Z(this,Gt,O)}else g=d.data;if(n.placeholderData!==void 0&&g===void 0&&y==="pending"){let O;if(i!=null&&i.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))O=i.data;else if(O=typeof n.placeholderData=="function"?n.placeholderData((E=C(this,Xs))==null?void 0:E.state.data,C(this,Xs)):n.placeholderData,n.select&&O!==void 0)try{O=n.select(O),Z(this,Gt,null)}catch(D){Z(this,Gt,D)}O!==void 0&&(y="success",g=kc(i==null?void 0:i.data,O,n),f=!0)}C(this,Gt)&&(m=C(this,Gt),g=C(this,Qs),h=Date.now(),y="error");const v=d.fetchStatus==="fetching",b=y==="pending",w=y==="error",T=b&&v,S=g!==void 0,P={status:y,fetchStatus:d.fetchStatus,isPending:b,isSuccess:y==="success",isError:w,isInitialLoading:T,isLoading:T,data:g,dataUpdatedAt:d.dataUpdatedAt,error:m,errorUpdatedAt:h,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:v,isRefetching:v&&!b,isLoadingError:w&&!S,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:w&&S,isStale:uu(t,n),refetch:this.refetch,promise:C(this,Nn)};if(this.options.experimental_prefetchInRender){const O=j=>{P.status==="error"?j.reject(P.error):P.data!==void 0&&j.resolve(P.data)},D=()=>{const j=Z(this,Nn,P.promise=Nc());O(j)},L=C(this,Nn);switch(L.status){case"pending":t.queryHash===s.queryHash&&O(L);break;case"fulfilled":(P.status==="error"||P.data!==L.value)&&D();break;case"rejected":(P.status!=="error"||P.error!==L.reason)&&D();break}}return P}updateResult(t){const n=C(this,tt),s=this.createResult(C(this,pe),this.options);if(Z(this,os,C(this,pe).state),Z(this,Gs,this.options),C(this,os).data!==void 0&&Z(this,Xs,C(this,pe)),Pc(s,n))return;Z(this,tt,s);const r={},i=()=>{if(!n)return!0;const{notifyOnChangeProps:o}=this.options,a=typeof o=="function"?o():o;if(a==="all"||!a&&!C(this,Ys).size)return!0;const c=new Set(a??C(this,Ys));return this.options.throwOnError&&c.add("error"),Object.keys(C(this,tt)).some(l=>{const u=l;return C(this,tt)[u]!==n[u]&&c.has(u)})};(t==null?void 0:t.listeners)!==!1&&i()&&(r.listeners=!0),he(this,be,Uy).call(this,{...r,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&he(this,be,Mc).call(this)}},ct=new WeakMap,pe=new WeakMap,mi=new WeakMap,tt=new WeakMap,os=new WeakMap,Gs=new WeakMap,Nn=new WeakMap,Gt=new WeakMap,gi=new WeakMap,Qs=new WeakMap,Xs=new WeakMap,as=new WeakMap,cs=new WeakMap,On=new WeakMap,Ys=new WeakMap,be=new WeakSet,Nr=function(t){he(this,be,Ic).call(this);let n=C(this,pe).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Ct)),n},Oc=function(){he(this,be,Fc).call(this);const t=Vs(this.options.staleTime,C(this,pe));if(ws||C(this,tt).isStale||!Ac(t))return;const s=jy(C(this,tt).dataUpdatedAt,t)+1;Z(this,as,setTimeout(()=>{C(this,tt).isStale||this.updateResult()},s))},jc=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(C(this,pe)):this.options.refetchInterval)??!1},Dc=function(t){he(this,be,Lc).call(this),Z(this,On,t),!(ws||Ot(this.options.enabled,C(this,pe))===!1||!Ac(C(this,On))||C(this,On)===0)&&Z(this,cs,setInterval(()=>{(this.options.refetchIntervalInBackground||lu.isFocused())&&he(this,be,Nr).call(this)},C(this,On)))},Mc=function(){he(this,be,Oc).call(this),he(this,be,Dc).call(this,he(this,be,jc).call(this))},Fc=function(){C(this,as)&&(clearTimeout(C(this,as)),Z(this,as,void 0))},Lc=function(){C(this,cs)&&(clearInterval(C(this,cs)),Z(this,cs,void 0))},Ic=function(){const t=C(this,ct).getQueryCache().build(C(this,ct),this.options);if(t===C(this,pe))return;const n=C(this,pe);Z(this,pe,t),Z(this,mi,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},Uy=function(t){We.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(C(this,tt))}),C(this,ct).getQueryCache().notify({query:C(this,pe),type:"observerResultsUpdated"})})},uh);function Rk(e,t){return Ot(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Xf(e,t){return Rk(e,t)||e.state.data!==void 0&&Vc(e,t,t.refetchOnMount)}function Vc(e,t,n){if(Ot(t.enabled,e)!==!1){const s=typeof n=="function"?n(e):n;return s==="always"||s!==!1&&uu(e,t)}return!1}function Yf(e,t,n,s){return(e!==t||Ot(s.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&uu(e,n)}function uu(e,t){return Ot(t.enabled,e)!==!1&&e.isStaleByTime(Vs(t.staleTime,e))}function kk(e,t){return!Pc(e.getCurrentResult(),t)}var $y=x.createContext(void 0),Nk=e=>{const t=x.useContext($y);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},A1=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx($y.Provider,{value:e,children:t})),zy=x.createContext(!1),Ok=()=>x.useContext(zy);zy.Provider;function jk(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Dk=x.createContext(jk()),Mk=()=>x.useContext(Dk);function Fk(e,t){return typeof e=="function"?e(...t):!!e}function Jf(){}var Lk=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},Ik=e=>{x.useEffect(()=>{e.clearReset()},[e])},Vk=({result:e,errorResetBoundary:t,throwOnError:n,query:s,suspense:r})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(r&&e.data===void 0||Fk(n,[e.error,s])),Bk=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...n)=>Math.max(t(...n),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},Uk=(e,t)=>e.isLoading&&e.isFetching&&!t,$k=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,eh=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function zk(e,t,n){var d,f,g,m,h;const s=Nk(),r=Ok(),i=Mk(),o=s.defaultQueryOptions(e);(f=(d=s.getDefaultOptions().queries)==null?void 0:d._experimental_beforeQuery)==null||f.call(d,o),o._optimisticResults=r?"isRestoring":"optimistic",Bk(o),Lk(o,i),Ik(i);const a=!s.getQueryCache().get(o.queryHash),[c]=x.useState(()=>new t(s,o)),l=c.getOptimisticResult(o),u=!r&&e.subscribed!==!1;if(x.useSyncExternalStore(x.useCallback(y=>{const v=u?c.subscribe(We.batchCalls(y)):Jf;return c.updateResult(),v},[c,u]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),x.useEffect(()=>{c.setOptions(o,{listeners:!1})},[o,c]),$k(o,l))throw eh(o,c,i);if(Vk({result:l,errorResetBoundary:i,throwOnError:o.throwOnError,query:s.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw l.error;if((m=(g=s.getDefaultOptions().queries)==null?void 0:g._experimental_afterQuery)==null||m.call(g,o,l),o.experimental_prefetchInRender&&!ws&&Uk(l,r)){const y=a?eh(o,c,i):(h=s.getQueryCache().get(o.queryHash))==null?void 0:h.promise;y==null||y.catch(Jf).finally(()=>{c.updateResult()})}return o.notifyOnChangeProps?l:c.trackResult(l)}function qn(e,t){return zk(e,Pk)}const Wk=e=>{const{data:t,isPending:n,isError:s}=qn({queryKey:["photos",e],queryFn:()=>ER(e),select:({data:r})=>r.data});return{data:t,isPending:n,isError:s}},Hk=e=>{const{data:t,isPending:n,isError:s}=qn({queryKey:["videos",e],queryFn:()=>AR(e),select:({data:r})=>r.data});return{data:t,isPending:n,isError:s}},P1=({className:e,setIsOpen:t,activeItem:n})=>{var f,g;const[s,r]=Hn({align:"center",loop:!1,dragFree:!1,slidesToScroll:1}),{data:i}=Wk(1),{data:o}=Hk(1);PT();const[a,c]=x.useState(!1),[l,u]=x.useState(!1);x.useEffect(()=>{if(!r)return;const m=()=>{c(r.canScrollPrev()),u(r.canScrollNext())};return r.on("select",m),m(),()=>{r.off("select",m)}},[r]),x.useEffect(()=>{!r||!i||r.scrollTo(n.id,!0)},[r,i,n.id]);const d=n.type==="photo"?(f=i==null?void 0:i.photos)==null?void 0:f.map(m=>{var h;return p.jsx("div",{className:"embla__slide flex-[0_0_100%] h-[350px] md:h-[500px] lg:h-[700px] lg:px-[20%] flex items-center justify-center",children:p.jsx("img",{src:(h=m==null?void 0:m.photo)==null?void 0:h.path,alt:m.photo.file_name,className:"max-h-full max-w-full object-contain"})},m.id)}):(g=o==null?void 0:o.videos)==null?void 0:g.map(m=>{var h;return p.jsx("div",{className:"embla__slide flex-[0_0_100%] h-[350px] md:h-[500px] lg:h-[700px] lg:px-[20%] flex items-center justify-center",children:p.jsx("video",{src:((h=m==null?void 0:m.video)==null?void 0:h.path)??"",controls:!0,autoPlay:!0,muted:!0,className:"max-h-full max-w-full object-contain"})},m.id)});return p.jsxs(Fr.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:K("fixed z-[100] top-0 left-0 pb-40 pt-28 lg:px-28 px-6 overflow-hidden min-h-screen w-full bg-black/90",e),children:[p.jsx(Yc,{onClick:()=>t(!1),className:"absolute top-10 right-6 p-3 md:size-20 size-16 cursor-pointer z-50 text-white hover:scale-110 transition-all duration-300"}),p.jsxs("div",{className:"hidden md:block",children:[p.jsx(Mx,{onClick:()=>a&&(r==null?void 0:r.scrollPrev()),className:K("absolute left-10 top-1/2 -translate-y-1/2 text-white size-20 cursor-pointer hover:scale-110 transition-all duration-300 z-40",!a&&"opacity-20 pointer-events-none")}),p.jsx(Lx,{onClick:()=>l&&(r==null?void 0:r.scrollNext()),className:K("absolute right-10 top-1/2 -translate-y-1/2 text-white size-20 cursor-pointer hover:scale-110 transition-all duration-300 z-40",!l&&"opacity-20 pointer-events-none")})]}),p.jsx("div",{ref:s,className:"embla overflow-hidden",children:p.jsx("div",{className:"embla__container flex",children:d})})]})},dt=e=>e===ut.RU?0:1,Bc=[{title:"Тематические направления выставки",bottom_text:` +`+i):s.stack=i}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=xs(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&to.assertOptions(s,{silentJSONParsing:Ht.transitional(Ht.boolean),forcedJSONParsing:Ht.transitional(Ht.boolean),clarifyTimeoutError:Ht.transitional(Ht.boolean)},!1),r!=null&&(k.isFunction(r)?n.paramsSerializer={serialize:r}:to.assertOptions(r,{encode:Ht.function,serialize:Ht.function},!0)),to.assertOptions(n,{baseUrl:Ht.spelling("baseURL"),withXsrfToken:Ht.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&k.merge(i.common,i[n.method]);i&&k.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=ft.concat(o,i);const a=[];let c=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(c=c&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const l=[];this.interceptors.response.forEach(function(h){l.push(h.fulfilled,h.rejected)});let u,d=0,f;if(!c){const m=[Vf.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,l),f=m.length,u=Promise.resolve(n);d{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](r);s._listeners=null}),this.promise.then=r=>{let i;const o=new Promise(a=>{s.subscribe(a),i=a}).then(r);return o.cancel=function(){s.unsubscribe(i)},o},t(function(i,o,a){s.reason||(s.reason=new mr(i,o,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new nu(function(r){t=r}),cancel:t}}}function vR(e){return function(n){return e.apply(null,n)}}function xR(e){return k.isObject(e)&&e.isAxiosError===!0}const Sc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Sc).forEach(([e,t])=>{Sc[t]=e});function Py(e){const t=new fs(e),n=iy(fs.prototype.request,t);return k.extend(n,fs.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Py(xs(e,r))},n}const Ve=Py(Ai);Ve.Axios=fs;Ve.CanceledError=mr;Ve.CancelToken=nu;Ve.isCancel=by;Ve.VERSION=Ay;Ve.toFormData=Xo;Ve.AxiosError=ie;Ve.Cancel=Ve.CanceledError;Ve.all=function(t){return Promise.all(t)};Ve.spread=vR;Ve.isAxiosError=xR;Ve.mergeConfig=xs;Ve.AxiosHeaders=ft;Ve.formToJSON=e=>xy(k.isHTMLForm(e)?new FormData(e):e);Ve.getAdapter=Ey.getAdapter;Ve.HttpStatusCode=Sc;Ve.default=Ve;const ot=Ve.create({baseURL:"https://turkmentextile.turkmenexpo.com/app/api/v1/"}),v1=async e=>(await ot.post("book_stand_form",e)).status===201,x1=async e=>(await ot.post("become_sponsor_form",e)).status===201,b1=async e=>(await ot.post("contact_form",e)).status===201,bR=async e=>(await ot.post("subscribe_news_form",e)).status===201,wR=async(e,t)=>ot.get(`pages/${t}`,{headers:{"Accept-Language":e}}),SR=async e=>ot.get("stats",{headers:{"Accept-Language":e}}),_R=async e=>ot.get("contact_data",{headers:{"Accept-Language":e}}),TR=async e=>ot.get("industries",{headers:{"Accept-Language":e}}),CR=async e=>ot.get("exhibition_time",{headers:{"Accept-Language":e}}),w1=async e=>ot.get("news",{headers:{"Accept-Language":e}}),S1=async(e,t)=>ot.get(`news/${e}`,{headers:{"Accept-Language":t}}),_1=async e=>ot("participants",{headers:{"Accept-Language":e}}),ER=async e=>ot("photos/category/"+e),AR=async e=>ot("videos/category/"+e),PR=async e=>ot("sponsors_and_partners",{headers:{"Accept-Language":e}}),RR=Ef.object({email:Ef.string().email()}),Ry=({modal:e=!1})=>{var i,o;const[t,n]=x.useState(!1),s=ZT({resolver:FE(RR),defaultValues:{email:""}});async function r(a){try{const c=await bR(a);s.reset(),n(c)}catch(c){console.error("POST subscribe",c)}}return p.jsx("form",{onSubmit:s.handleSubmit(r),className:K("py-8",e?"max-w-[392px] mx-auto":"bg-surface_container"),children:p.jsxs(Ye,{className:K("flex gap-8 justify-between",e?"flex-col w-full":"lg:flex-row flex-col lg:items-center"),children:[p.jsx("h2",{className:"h2 !text-left",children:Na("Подпишитесь на новости:","Subscribe to the news:")}),p.jsxs("div",{className:"relative",children:[p.jsx("input",{...s.register("email"),placeholder:"Email",className:K("input",{"w-full":e,"xl:w-[392px] lg:w-[320px] w-full":!e})}),p.jsx("span",{className:"text-error absolute text-red-600 -bottom-6 text-sm left-0",children:(o=(i=s.formState.errors)==null?void 0:i.email)==null?void 0:o.message})]}),p.jsx(ht,{loading:s.formState.isSubmitting,disabled:t,className:K({"xl:w-[288px] lg:w-[220px] w-full":!e,"w-full":e}),children:t?Na("Отправлено","Submitted"):Na("Подписаться","Subscribe")})]})})},kR=({className:e,title:t})=>p.jsxs(PE,{children:[p.jsx(RE,{className:K("h-14 px-3 flex gap-3 items-center hover:bg-slate-300/50 transition-all",e),children:t}),p.jsx(Zg,{children:p.jsx(Ry,{className:"",modal:!0})})]}),_c=Hg()(e=>({sheet:!1,popover:!1,modal:!1,setModal:t=>e({modal:t}),setSheet:t=>e({sheet:t}),setPopover:t=>e({popover:t})})),Tc=({title:e,dropDownContent:t,color:n,triggerClassName:s})=>{const[r,i]=x.useState(!1),o=_c(a=>a.setSheet);return p.jsxs(zg,{open:r,onOpenChange:()=>i(!r),children:[p.jsxs(Wg,{className:K("flex items-center gap-2",s),children:[e,p.jsx(NR,{color:n})]}),p.jsx(Xl,{className:"w-fit px-0 py-2 cursor-pointer bg-surface_container",children:t&&t.map(a=>a.link?p.jsxs(Ne,{onClick:()=>{i(!1),o(!1)},className:"h-14 px-3 flex gap-3 items-center hover:bg-slate-300/50 transition-all",target:a.blank??"",to:a.link,children:[a.text,a.blank&&p.jsx("img",{src:"/pdf.svg"})]},a.text):a.modal?p.jsx(kR,{title:a.text},a.text):p.jsx("div",{className:"h-14 px-3 flex items-center hover:bg-slate-300/50 transition-all",onClick:()=>{i(!1),o(!1)},children:a.text},a.text))})]})},NR=({color:e="white"})=>p.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.23021 8.01443C4.35919 7.70304 4.66305 7.5 5.00011 7.5H15.0001C15.3372 7.5 15.641 7.70304 15.77 8.01443C15.899 8.32583 15.8277 8.68426 15.5894 8.92259L10.5894 13.9226C10.2639 14.248 9.73629 14.248 9.41085 13.9226L4.41085 8.92259C4.17252 8.68426 4.10122 8.32583 4.23021 8.01443ZM7.01195 9.16667L10.0001 12.1548L12.9883 9.16667H7.01195Z",fill:e})}),_s=({className:e})=>p.jsx(Ye,{className:K("w-full py-20 h-full flex items-center justify-between",e),children:p.jsx(Gh,{className:"animate-spin mx-auto text-primary size-16"})});function OR(e){return Object.prototype.toString.call(e)==="[object Object]"}function Uf(e){return OR(e)||Array.isArray(e)}function jR(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function su(e,t){const n=Object.keys(e),s=Object.keys(t);if(n.length!==s.length)return!1;const r=JSON.stringify(Object.keys(e.breakpoints||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return r!==i?!1:n.every(o=>{const a=e[o],c=t[o];return typeof a=="function"?`${a}`==`${c}`:!Uf(a)||!Uf(c)?a===c:su(a,c)})}function $f(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function DR(e,t){if(e.length!==t.length)return!1;const n=$f(e),s=$f(t);return n.every((r,i)=>{const o=s[i];return su(r,o)})}function ru(e){return typeof e=="number"}function Cc(e){return typeof e=="string"}function ea(e){return typeof e=="boolean"}function zf(e){return Object.prototype.toString.call(e)==="[object Object]"}function Pe(e){return Math.abs(e)}function iu(e){return Math.sign(e)}function Vr(e,t){return Pe(e-t)}function MR(e,t){if(e===0||t===0||Pe(e)<=Pe(t))return 0;const n=Vr(Pe(e),Pe(t));return Pe(n/e)}function FR(e){return Math.round(e*100)/100}function ci(e){return li(e).map(Number)}function Ft(e){return e[Pi(e)]}function Pi(e){return Math.max(0,e.length-1)}function ou(e,t){return t===Pi(e)}function Wf(e,t=0){return Array.from(Array(e),(n,s)=>t+s)}function li(e){return Object.keys(e)}function ky(e,t){return[e,t].reduce((n,s)=>(li(s).forEach(r=>{const i=n[r],o=s[r],a=zf(i)&&zf(o);n[r]=a?ky(i,o):o}),n),{})}function Ec(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function LR(e,t){const n={start:s,center:r,end:i};function s(){return 0}function r(c){return i(c)/2}function i(c){return t-c}function o(c,l){return Cc(e)?n[e](c):e(t,c,l)}return{measure:o}}function ui(){let e=[];function t(r,i,o,a={passive:!0}){let c;if("addEventListener"in r)r.addEventListener(i,o,a),c=()=>r.removeEventListener(i,o,a);else{const l=r;l.addListener(o),c=()=>l.removeListener(o)}return e.push(c),s}function n(){e=e.filter(r=>r())}const s={add:t,clear:n};return s}function IR(e,t,n,s){const r=ui(),i=1e3/60;let o=null,a=0,c=0;function l(){r.add(e,"visibilitychange",()=>{e.hidden&&m()})}function u(){g(),r.clear()}function d(y){if(!c)return;o||(o=y,n(),n());const v=y-o;for(o=y,a+=v;a>=i;)n(),a-=i;const b=a/i;s(b),c&&(c=t.requestAnimationFrame(d))}function f(){c||(c=t.requestAnimationFrame(d))}function g(){t.cancelAnimationFrame(c),o=null,a=0,c=0}function m(){o=null,a=0}return{init:l,destroy:u,start:f,stop:g,update:n,render:s}}function VR(e,t){const n=t==="rtl",s=e==="y",r=s?"y":"x",i=s?"x":"y",o=!s&&n?-1:1,a=u(),c=d();function l(m){const{height:h,width:y}=m;return s?h:y}function u(){return s?"top":n?"right":"left"}function d(){return s?"bottom":n?"left":"right"}function f(m){return m*o}return{scroll:r,cross:i,startEdge:a,endEdge:c,measureSize:l,direction:f}}function bs(e=0,t=0){const n=Pe(e-t);function s(l){return lt}function i(l){return s(l)||r(l)}function o(l){return i(l)?s(l)?e:t:l}function a(l){return n?l-n*Math.ceil((l-t)/n):l}return{length:n,max:t,min:e,constrain:o,reachedAny:i,reachedMax:r,reachedMin:s,removeOffset:a}}function Ny(e,t,n){const{constrain:s}=bs(0,e),r=e+1;let i=o(t);function o(f){return n?Pe((r+f)%r):s(f)}function a(){return i}function c(f){return i=o(f),d}function l(f){return u().set(a()+f)}function u(){return Ny(e,a(),n)}const d={get:a,set:c,add:l,clone:u};return d}function BR(e,t,n,s,r,i,o,a,c,l,u,d,f,g,m,h,y,v,b){const{cross:w,direction:T}=e,S=["INPUT","SELECT","TEXTAREA"],A={passive:!1},P=ui(),E=ui(),O=bs(50,225).constrain(g.measure(20)),D={mouse:300,touch:400},L={mouse:500,touch:600},j=m?43:25;let $=!1,I=0,J=0,X=!1,H=!1,q=!1,re=!1;function de(G){if(!b)return;function fe($e){(ea(b)||b(G,$e))&&Je($e)}const Se=t;P.add(Se,"dragstart",$e=>$e.preventDefault(),A).add(Se,"touchmove",()=>{},A).add(Se,"touchend",()=>{}).add(Se,"touchstart",fe).add(Se,"mousedown",fe).add(Se,"touchcancel",ye).add(Se,"contextmenu",ye).add(Se,"click",Oe,!0)}function ge(){P.clear(),E.clear()}function Be(){const G=re?n:t;E.add(G,"touchmove",ue,A).add(G,"touchend",ye).add(G,"mousemove",ue,A).add(G,"mouseup",ye)}function He(G){const fe=G.nodeName||"";return S.includes(fe)}function qe(){return(m?L:D)[re?"mouse":"touch"]}function Pt(G,fe){const Se=d.add(iu(G)*-1),$e=u.byDistance(G,!m).distance;return m||Pe(G)=2,!(fe&&G.button!==0)&&(He(G.target)||(X=!0,i.pointerDown(G),l.useFriction(0).useDuration(0),r.set(o),Be(),I=i.readPoint(G),J=i.readPoint(G,w),f.emit("pointerDown")))}function ue(G){if(!Ec(G,s)&&G.touches.length>=2)return ye(G);const Se=i.readPoint(G),$e=i.readPoint(G,w),pt=Vr(Se,I),wt=Vr($e,J);if(!H&&!re&&(!G.cancelable||(H=pt>wt,!H)))return ye(G);const _=i.pointerMove(G);pt>h&&(q=!0),l.useFriction(.3).useDuration(.75),a.start(),r.add(T(_)),G.preventDefault()}function ye(G){const Se=u.byDistance(0,!1).index!==d.get(),$e=i.pointerUp(G)*qe(),pt=Pt(T($e),Se),wt=MR($e,pt),_=j-10*wt,R=v+wt/50;H=!1,X=!1,E.clear(),l.useDuration(_).useFriction(R),c.distance(pt,!m),re=!1,f.emit("pointerUp")}function Oe(G){q&&(G.stopPropagation(),G.preventDefault(),q=!1)}function Le(){return X}return{init:de,destroy:ge,pointerDown:Le}}function UR(e,t){let s,r;function i(d){return d.timeStamp}function o(d,f){const m=`client${(f||e.scroll)==="x"?"X":"Y"}`;return(Ec(d,t)?d:d.touches[0])[m]}function a(d){return s=d,r=d,o(d)}function c(d){const f=o(d)-o(r),g=i(d)-i(s)>170;return r=d,g&&(s=d),f}function l(d){if(!s||!r)return 0;const f=o(r)-o(s),g=i(d)-i(s),m=i(d)-i(r)>170,h=f/g;return g&&!m&&Pe(h)>.1?h:0}return{pointerDown:a,pointerMove:c,pointerUp:l,readPoint:o}}function $R(){function e(n){const{offsetTop:s,offsetLeft:r,offsetWidth:i,offsetHeight:o}=n;return{top:s,right:r+i,bottom:s+o,left:r,width:i,height:o}}return{measure:e}}function zR(e){function t(s){return e*(s/100)}return{measure:t}}function WR(e,t,n,s,r,i,o){const a=[e].concat(s);let c,l,u=[],d=!1;function f(y){return r.measureSize(o.measure(y))}function g(y){if(!i)return;l=f(e),u=s.map(f);function v(b){for(const w of b){if(d)return;const T=w.target===e,S=s.indexOf(w.target),A=T?l:u[S],P=f(T?e:s[S]);if(Pe(P-A)>=.5){y.reInit(),t.emit("resize");break}}}c=new ResizeObserver(b=>{(ea(i)||i(y,b))&&v(b)}),n.requestAnimationFrame(()=>{a.forEach(b=>c.observe(b))})}function m(){d=!0,c&&c.disconnect()}return{init:g,destroy:m}}function HR(e,t,n,s,r,i){let o=0,a=0,c=r,l=i,u=e.get(),d=0;function f(){const A=s.get()-e.get(),P=!c;let E=0;return P?(o=0,n.set(s),e.set(s),E=A):(n.set(e),o+=A/c,o*=l,u+=o,e.add(o),E=u-d),a=iu(E),d=u,S}function g(){const A=s.get()-t.get();return Pe(A)<.001}function m(){return c}function h(){return a}function y(){return o}function v(){return w(r)}function b(){return T(i)}function w(A){return c=A,S}function T(A){return l=A,S}const S={direction:h,duration:m,velocity:y,seek:f,settled:g,useBaseFriction:b,useBaseDuration:v,useFriction:T,useDuration:w};return S}function qR(e,t,n,s,r){const i=r.measure(10),o=r.measure(50),a=bs(.1,.99);let c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function u(g){if(!l())return;const m=e.reachedMin(t.get())?"min":"max",h=Pe(e[m]-t.get()),y=n.get()-t.get(),v=a.constrain(h/o);n.subtract(y*v),!g&&Pe(y){const{min:y,max:v}=i,b=i.constrain(m),w=!h,T=ou(n,h);return w?v:T||l(y,b)?y:l(v,b)?v:b}).map(m=>parseFloat(m.toFixed(3)))}function f(){if(t<=e+r)return[i.max];if(s==="keepSnaps")return o;const{min:m,max:h}=a;return o.slice(m,h)}return{snapsContained:c,scrollContainLimit:a}}function KR(e,t,n){const s=t[0],r=n?s-e:Ft(t);return{limit:bs(r,s)}}function GR(e,t,n,s){const i=t.min+.1,o=t.max+.1,{reachedMin:a,reachedMax:c}=bs(i,o);function l(f){return f===1?c(n.get()):f===-1?a(n.get()):!1}function u(f){if(!l(f))return;const g=e*(f*-1);s.forEach(m=>m.add(g))}return{loop:u}}function QR(e){const{max:t,length:n}=e;function s(i){const o=i-t;return n?o/-n:0}return{get:s}}function XR(e,t,n,s,r){const{startEdge:i,endEdge:o}=e,{groupSlides:a}=r,c=d().map(t.measure),l=f(),u=g();function d(){return a(s).map(h=>Ft(h)[o]-h[0][i]).map(Pe)}function f(){return s.map(h=>n[i]-h[i]).map(h=>-Pe(h))}function g(){return a(l).map(h=>h[0]).map((h,y)=>h+c[y])}return{snaps:l,snapsAligned:u}}function YR(e,t,n,s,r,i){const{groupSlides:o}=r,{min:a,max:c}=s,l=u();function u(){const f=o(i),g=!e||t==="keepSnaps";return n.length===1?[i]:g?f:f.slice(a,c).map((m,h,y)=>{const v=!h,b=ou(y,h);if(v){const w=Ft(y[0])+1;return Wf(w)}if(b){const w=Pi(i)-Ft(y)[0]+1;return Wf(w,Ft(y)[0])}return m})}return{slideRegistry:l}}function JR(e,t,n,s,r){const{reachedAny:i,removeOffset:o,constrain:a}=s;function c(m){return m.concat().sort((h,y)=>Pe(h)-Pe(y))[0]}function l(m){const h=e?o(m):a(m),y=t.map((b,w)=>({diff:u(b-h,0),index:w})).sort((b,w)=>Pe(b.diff)-Pe(w.diff)),{index:v}=y[0];return{index:v,distance:h}}function u(m,h){const y=[m,m+n,m-n];if(!e)return m;if(!h)return c(y);const v=y.filter(b=>iu(b)===h);return v.length?c(v):Ft(y)-n}function d(m,h){const y=t[m]-r.get(),v=u(y,h);return{index:m,distance:v}}function f(m,h){const y=r.get()+m,{index:v,distance:b}=l(y),w=!e&&i(y);if(!h||w)return{index:v,distance:m};const T=t[v]-b,S=m+u(T,0);return{index:v,distance:S}}return{byDistance:f,byIndex:d,shortcut:u}}function ek(e,t,n,s,r,i,o){function a(d){const f=d.distance,g=d.index!==t.get();i.add(f),f&&(s.duration()?e.start():(e.update(),e.render(1),e.update())),g&&(n.set(t.get()),t.set(d.index),o.emit("select"))}function c(d,f){const g=r.byDistance(d,f);a(g)}function l(d,f){const g=t.clone().set(d),m=r.byIndex(g.get(),f);a(m)}return{distance:c,index:l}}function tk(e,t,n,s,r,i,o,a){const c={passive:!0,capture:!0};let l=0;function u(g){if(!a)return;function m(h){if(new Date().getTime()-l>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;const b=n.findIndex(w=>w.includes(h));ru(b)&&(r.useDuration(0),s.index(b,0),o.emit("slideFocus"))}i.add(document,"keydown",d,!1),t.forEach((h,y)=>{i.add(h,"focus",v=>{(ea(a)||a(g,v))&&m(y)},c)})}function d(g){g.code==="Tab"&&(l=new Date().getTime())}return{init:u}}function kr(e){let t=e;function n(){return t}function s(c){t=o(c)}function r(c){t+=o(c)}function i(c){t-=o(c)}function o(c){return ru(c)?c:c.get()}return{get:n,set:s,add:r,subtract:i}}function Oy(e,t){const n=e.scroll==="x"?o:a,s=t.style;let r=null,i=!1;function o(f){return`translate3d(${f}px,0px,0px)`}function a(f){return`translate3d(0px,${f}px,0px)`}function c(f){if(i)return;const g=FR(e.direction(f));g!==r&&(s.transform=n(g),r=g)}function l(f){i=!f}function u(){i||(s.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:u,to:c,toggleActive:l}}function nk(e,t,n,s,r,i,o,a,c){const u=ci(r),d=ci(r).reverse(),f=v().concat(b());function g(P,E){return P.reduce((O,D)=>O-r[D],E)}function m(P,E){return P.reduce((O,D)=>g(O,E)>0?O.concat([D]):O,[])}function h(P){return i.map((E,O)=>({start:E-s[O]+.5+P,end:E+t-.5+P}))}function y(P,E,O){const D=h(E);return P.map(L=>{const j=O?0:-n,$=O?n:0,I=O?"end":"start",J=D[L][I];return{index:L,loopPoint:J,slideLocation:kr(-1),translate:Oy(e,c[L]),target:()=>a.get()>J?j:$}})}function v(){const P=o[0],E=m(d,P);return y(E,n,!1)}function b(){const P=t-o[0]-1,E=m(u,P);return y(E,-n,!0)}function w(){return f.every(({index:P})=>{const E=u.filter(O=>O!==P);return g(E,t)<=.1})}function T(){f.forEach(P=>{const{target:E,translate:O,slideLocation:D}=P,L=E();L!==D.get()&&(O.to(L),D.set(L))})}function S(){f.forEach(P=>P.translate.clear())}return{canLoop:w,clear:S,loop:T,loopPoints:f}}function sk(e,t,n){let s,r=!1;function i(c){if(!n)return;function l(u){for(const d of u)if(d.type==="childList"){c.reInit(),t.emit("slidesChanged");break}}s=new MutationObserver(u=>{r||(ea(n)||n(c,u))&&l(u)}),s.observe(e,{childList:!0})}function o(){s&&s.disconnect(),r=!0}return{init:i,destroy:o}}function rk(e,t,n,s){const r={};let i=null,o=null,a,c=!1;function l(){a=new IntersectionObserver(m=>{c||(m.forEach(h=>{const y=t.indexOf(h.target);r[y]=h}),i=null,o=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:s}),t.forEach(m=>a.observe(m))}function u(){a&&a.disconnect(),c=!0}function d(m){return li(r).reduce((h,y)=>{const v=parseInt(y),{isIntersecting:b}=r[v];return(m&&b||!m&&!b)&&h.push(v),h},[])}function f(m=!0){if(m&&i)return i;if(!m&&o)return o;const h=d(m);return m&&(i=h),m||(o=h),h}return{init:l,destroy:u,get:f}}function ik(e,t,n,s,r,i){const{measureSize:o,startEdge:a,endEdge:c}=e,l=n[0]&&r,u=m(),d=h(),f=n.map(o),g=y();function m(){if(!l)return 0;const b=n[0];return Pe(t[a]-b[a])}function h(){if(!l)return 0;const b=i.getComputedStyle(Ft(s));return parseFloat(b.getPropertyValue(`margin-${c}`))}function y(){return n.map((b,w,T)=>{const S=!w,A=ou(T,w);return S?f[w]+u:A?f[w]+d:T[w+1][a]-b[a]}).map(Pe)}return{slideSizes:f,slideSizesWithGaps:g,startGap:u,endGap:d}}function ok(e,t,n,s,r,i,o,a,c){const{startEdge:l,endEdge:u,direction:d}=e,f=ru(n);function g(v,b){return ci(v).filter(w=>w%b===0).map(w=>v.slice(w,w+b))}function m(v){return v.length?ci(v).reduce((b,w,T)=>{const S=Ft(b)||0,A=S===0,P=w===Pi(v),E=r[l]-i[S][l],O=r[l]-i[w][u],D=!s&&A?d(o):0,L=!s&&P?d(a):0,j=Pe(O-L-(E+D));return T&&j>t+c&&b.push(w),P&&b.push(v.length),b},[]).map((b,w,T)=>{const S=Math.max(T[w-1]||0);return v.slice(S,b)}):[]}function h(v){return f?g(v,n):m(v)}return{groupSlides:h}}function ak(e,t,n,s,r,i,o){const{align:a,axis:c,direction:l,startIndex:u,loop:d,duration:f,dragFree:g,dragThreshold:m,inViewThreshold:h,slidesToScroll:y,skipSnaps:v,containScroll:b,watchResize:w,watchSlides:T,watchDrag:S,watchFocus:A}=i,P=2,E=$R(),O=E.measure(t),D=n.map(E.measure),L=VR(c,l),j=L.measureSize(O),$=zR(j),I=LR(a,j),J=!d&&!!b,X=d||!!b,{slideSizes:H,slideSizesWithGaps:q,startGap:re,endGap:de}=ik(L,O,D,n,X,r),ge=ok(L,j,y,d,O,D,re,de,P),{snaps:Be,snapsAligned:He}=XR(L,I,O,D,ge),qe=-Ft(Be)+Ft(q),{snapsContained:Pt,scrollContainLimit:Je}=ZR(j,qe,He,b,P),ue=J?Pt:He,{limit:ye}=KR(qe,ue,d),Oe=Ny(Pi(ue),u,d),Le=Oe.clone(),we=ci(n),G=({dragHandler:Wt,scrollBody:Zn,scrollBounds:yr,options:{loop:Kn}})=>{Kn||yr.constrain(Wt.pointerDown()),Zn.seek()},fe=({scrollBody:Wt,translate:Zn,location:yr,offsetLocation:Kn,previousLocation:ta,scrollLooper:ki,slideLooper:Ky,dragHandler:Gy,animation:Qy,eventHandler:fu,scrollBounds:Xy,options:{loop:hu}},pu)=>{const mu=Wt.settled(),Yy=!Xy.shouldConstrain(),gu=hu?mu:mu&&Yy;gu&&!Gy.pointerDown()&&(Qy.stop(),fu.emit("settle")),gu||fu.emit("scroll");const Jy=yr.get()*pu+ta.get()*(1-pu);Kn.set(Jy),hu&&(ki.loop(Wt.direction()),Ky.loop()),Zn.to(Kn.get())},Se=IR(s,r,()=>G(gr),Wt=>fe(gr,Wt)),$e=.68,pt=ue[Oe.get()],wt=kr(pt),_=kr(pt),R=kr(pt),N=kr(pt),U=HR(wt,R,_,N,f,$e),V=JR(d,ue,qe,ye,N),F=ek(Se,Oe,Le,U,V,N,o),Y=QR(ye),ae=ui(),Ie=rk(t,n,o,h),{slideRegistry:je}=YR(J,b,ue,Je,ge,we),zt=tk(e,n,je,F,U,ae,o,A),gr={ownerDocument:s,ownerWindow:r,eventHandler:o,containerRect:O,slideRects:D,animation:Se,axis:L,dragHandler:BR(L,e,s,r,N,UR(L,r),wt,Se,F,U,V,Oe,o,$,g,m,v,$e,S),eventStore:ae,percentOfView:$,index:Oe,indexPrevious:Le,limit:ye,location:wt,offsetLocation:R,previousLocation:_,options:i,resizeHandler:WR(t,o,r,n,L,w,E),scrollBody:U,scrollBounds:qR(ye,R,N,U,$),scrollLooper:GR(qe,ye,R,[wt,R,_,N]),scrollProgress:Y,scrollSnapList:ue.map(Y.get),scrollSnaps:ue,scrollTarget:V,scrollTo:F,slideLooper:nk(L,j,qe,H,q,Be,ue,R,n),slideFocus:zt,slidesHandler:sk(t,o,T),slidesInView:Ie,slideIndexes:we,slideRegistry:je,slidesToScroll:ge,target:N,translate:Oy(L,t)};return gr}function ck(){let e={},t;function n(l){t=l}function s(l){return e[l]||[]}function r(l){return s(l).forEach(u=>u(t,l)),c}function i(l,u){return e[l]=s(l).concat([u]),c}function o(l,u){return e[l]=s(l).filter(d=>d!==u),c}function a(){e={}}const c={init:n,emit:r,off:o,on:i,clear:a};return c}const lk={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function uk(e){function t(i,o){return ky(i,o||{})}function n(i){const o=i.breakpoints||{},a=li(o).filter(c=>e.matchMedia(c).matches).map(c=>o[c]).reduce((c,l)=>t(c,l),{});return t(i,a)}function s(i){return i.map(o=>li(o.breakpoints||{})).reduce((o,a)=>o.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:s}}function dk(e){let t=[];function n(i,o){return t=o.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(i,e)),o.reduce((a,c)=>Object.assign(a,{[c.name]:c}),{})}function s(){t=t.filter(i=>i.destroy())}return{init:n,destroy:s}}function Po(e,t,n){const s=e.ownerDocument,r=s.defaultView,i=uk(r),o=dk(i),a=ui(),c=ck(),{mergeOptions:l,optionsAtMedia:u,optionsMediaQueries:d}=i,{on:f,off:g,emit:m}=c,h=L;let y=!1,v,b=l(lk,Po.globalOptions),w=l(b),T=[],S,A,P;function E(){const{container:we,slides:G}=w;A=(Cc(we)?e.querySelector(we):we)||e.children[0];const Se=Cc(G)?A.querySelectorAll(G):G;P=[].slice.call(Se||A.children)}function O(we){const G=ak(e,A,P,s,r,we,c);if(we.loop&&!G.slideLooper.canLoop()){const fe=Object.assign({},we,{loop:!1});return O(fe)}return G}function D(we,G){y||(b=l(b,we),w=u(b),T=G||T,E(),v=O(w),d([b,...T.map(({options:fe})=>fe)]).forEach(fe=>a.add(fe,"change",L)),w.active&&(v.translate.to(v.location.get()),v.animation.init(),v.slidesInView.init(),v.slideFocus.init(Le),v.eventHandler.init(Le),v.resizeHandler.init(Le),v.slidesHandler.init(Le),v.options.loop&&v.slideLooper.loop(),A.offsetParent&&P.length&&v.dragHandler.init(Le),S=o.init(Le,T)))}function L(we,G){const fe=ge();j(),D(l({startIndex:fe},we),G),c.emit("reInit")}function j(){v.dragHandler.destroy(),v.eventStore.clear(),v.translate.clear(),v.slideLooper.clear(),v.resizeHandler.destroy(),v.slidesHandler.destroy(),v.slidesInView.destroy(),v.animation.destroy(),o.destroy(),a.clear()}function $(){y||(y=!0,a.clear(),j(),c.emit("destroy"),c.clear())}function I(we,G,fe){!w.active||y||(v.scrollBody.useBaseFriction().useDuration(G===!0?0:w.duration),v.scrollTo.index(we,fe||0))}function J(we){const G=v.index.add(1).get();I(G,we,-1)}function X(we){const G=v.index.add(-1).get();I(G,we,1)}function H(){return v.index.add(1).get()!==ge()}function q(){return v.index.add(-1).get()!==ge()}function re(){return v.scrollSnapList}function de(){return v.scrollProgress.get(v.location.get())}function ge(){return v.index.get()}function Be(){return v.indexPrevious.get()}function He(){return v.slidesInView.get()}function qe(){return v.slidesInView.get(!1)}function Pt(){return S}function Je(){return v}function ue(){return e}function ye(){return A}function Oe(){return P}const Le={canScrollNext:H,canScrollPrev:q,containerNode:ye,internalEngine:Je,destroy:$,off:g,on:f,emit:m,plugins:Pt,previousScrollSnap:Be,reInit:h,rootNode:ue,scrollNext:J,scrollPrev:X,scrollProgress:de,scrollSnapList:re,scrollTo:I,selectedScrollSnap:ge,slideNodes:Oe,slidesInView:He,slidesNotInView:qe};return D(t,n),setTimeout(()=>c.emit("init"),0),Le}Po.globalOptions=void 0;function Hn(e={},t=[]){const n=x.useRef(e),s=x.useRef(t),[r,i]=x.useState(),[o,a]=x.useState(),c=x.useCallback(()=>{r&&r.reInit(n.current,s.current)},[r]);return x.useEffect(()=>{su(n.current,e)||(n.current=e,c())},[e,c]),x.useEffect(()=>{DR(s.current,t)||(s.current=t,c())},[t,c]),x.useEffect(()=>{if(jR()&&o){Po.globalOptions=Hn.globalOptions;const l=Po(o,n.current,s.current);return i(l),()=>l.destroy()}else i(void 0)},[o,i]),[a,r]}Hn.globalOptions=void 0;const fk=[{id:0,title:"Все компании",titleEn:"All companies"},{id:3,title:"Государственные учреждения ",titleEn:"Government Institutions"},{id:1,title:"Местные компании",titleEn:"Local companies"},{id:2,title:"Иностранные компании",titleEn:"Foreign companies"}],T1=({className:e,setState:t,state:n,data:s=fk})=>{const r=Ce(m=>m.lang),i=lo("(min-width: 768px)"),[o,a]=x.useState({left:0,width:0}),[c,l]=Hn({axis:"x",align:"start",containScroll:"trimSnaps"},[]),u=x.useRef([]),d=x.useRef(null),f=x.useCallback(()=>{const m=u.current[n];if(m){if(i)a({left:m.offsetLeft,width:m.offsetWidth});else if(l){const h=l.rootNode(),y=l.containerNode();if(!h||!y)return;const v=y.scrollLeft,b=m.offsetLeft;a({left:b-v,width:m.offsetWidth})}}},[n,i,l]);x.useEffect(()=>{!i&&l||(l==null||l.scrollTo(n),f())},[l,n,f,i]),x.useEffect(()=>{if(l)return f(),l.on("scroll",f),l.on("resize",f),()=>{l.off("scroll",f),l.off("resize",f)}},[l,f]);const g=x.useCallback(m=>{t(m),!i&&l&&l.scrollTo(m)},[l,t,i]);return p.jsxs("div",{ref:d,className:K("relative mx-auto",e),style:{width:"fit-content",maxWidth:"100%"},children:[i?p.jsx("div",{className:"flex",role:"tablist",children:s==null?void 0:s.map((m,h)=>p.jsx("button",{ref:y=>u.current[h]=y,role:"tab","aria-selected":n===h,className:K("shrink-0 text-center relative h-12 mx-4 py-2 text-sm md:text-base whitespace-nowrap transition-all",n===h?"text-primary":"text-on_surface_v"),onClick:()=>g(h),children:r==="ru"?m.title:m.titleEn},m.id))}):p.jsx("div",{ref:c,className:"",role:"tablist",children:p.jsx("div",{className:"flex",children:s==null?void 0:s.map((m,h)=>p.jsx("button",{ref:y=>u.current[h]=y,role:"tab","aria-selected":n===h,className:K("shrink-0 text-center relative after:transition-all after:rounded after:w-full after:h-0.5 after:bg-primary after:opacity-0 after:absolute after:bottom-0 after:left-0 h-12 mx-4 py-2 text-sm md:text-base whitespace-nowrap transition-all",n===h?"text-primary after:opacity-100":"text-on_surface_v"),onClick:()=>g(h),children:r==="ru"?m.title:m.titleEn},m.id))})}),p.jsx("div",{className:"absolute md:block hidden bottom-0 h-[3px] rounded-t-[2px] bg-primary transition-all duration-200",style:o})]})},C1=({className:e,index:t,name:n,image:s,image_country:r,country:i,about:o,arr:a})=>{const c=Ce(l=>l.lang);return p.jsxs(p.Fragment,{children:[p.jsxs("div",{className:K("flex border-b md:hidden py-2 border-outline_v",e),children:[p.jsxs("div",{className:"flex flex-1 flex-col items-start gap-4",children:[p.jsx("div",{className:"flex items-center w-full",children:p.jsxs("div",{className:"flex items-center flex-[0_0_80%] gap-3",children:[p.jsxs("h3",{className:"text-xs normal flex-[0_0_90px]",children:[c==="ru"?"Название":"Company",":"]}),p.jsx("h4",{className:"text-xs flex-[0_0_70%]",children:n})]})}),p.jsx("div",{className:"flex items-center gap-3",children:p.jsx("div",{className:"flex items-center w-full",children:p.jsxs("div",{className:"flex items-center flex-[0_0_80%] gap-3",children:[p.jsxs("h3",{className:"text-xs normal flex-[0_0_90px]",children:[c==="ru"?"Страна":"Country",":"]}),p.jsxs("div",{className:"flex items-center flex-[0_0_50%] gap-2",children:[p.jsx("img",{src:r==null?void 0:r.path,alt:"flag",className:"size-4 flex-[0_0_16px] object-contain"}),p.jsx("h4",{className:"text-xs flex-1",children:i})]})]})})}),p.jsx("div",{className:"flex items-center ",children:p.jsxs("div",{className:"flex items-center flex-[0_0_80%] gap-3",children:[p.jsxs("h3",{className:"text-xs normal flex-[0_0_90px]",children:[c==="ru"?"Сфера":"Industry",":"]}),p.jsx("h4",{className:"text-xs flex-1",children:o})]})})]}),p.jsx("div",{className:"flex-[0_0_88px] size-[88px] bg-white ",children:p.jsx("img",{src:s==null?void 0:s.path,alt:"company",className:"size-full object-contain"})})]},t),p.jsxs("div",{className:K("md:flex hidden p-4 ",a!==t+1&&"border-b border-outline_v"),children:[p.jsxs("div",{className:"flex-[0_0_45.54%] flex gap-8",children:[p.jsx("div",{className:"flex-[0_0_88px] sm:flex-[0_0_128px] size-[88px] bg-white sm:size-[128px]",children:p.jsx("img",{src:s==null?void 0:s.path,alt:"company",className:"size-full object-contain"})}),p.jsx("h3",{className:"text-lg xl:mr-20 mr-10",children:n})]}),p.jsxs("div",{className:"flex-[0_0_19.80%] flex gap-2.5",children:[p.jsx("img",{src:r==null?void 0:r.path,alt:"flag",className:"size-4"}),p.jsx("h4",{className:"text-sm normal",children:i})]}),p.jsx("h3",{className:"text-sm normal md:ml-1 flex-[0_0_34.65%]",children:o})]})]})};var Ri=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ws=typeof window>"u"||"Deno"in globalThis;function Ct(){}function hk(e,t){return typeof e=="function"?e(t):e}function Ac(e){return typeof e=="number"&&e>=0&&e!==1/0}function jy(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Vs(e,t){return typeof e=="function"?e(t):e}function Ot(e,t){return typeof e=="function"?e(t):e}function Hf(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:a}=e;if(o){if(s){if(t.queryHash!==au(o,t.options))return!1}else if(!fi(t.queryKey,o))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||r&&r!==t.state.fetchStatus||i&&!i(t))}function qf(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(di(t.options.mutationKey)!==di(i))return!1}else if(!fi(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function au(e,t){return((t==null?void 0:t.queryKeyHashFn)||di)(e)}function di(e){return JSON.stringify(e,(t,n)=>Rc(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function fi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!fi(e[n],t[n])):!1}function Dy(e,t){if(e===t)return e;const n=Zf(e)&&Zf(t);if(n||Rc(e)&&Rc(t)){const s=n?e:Object.keys(e),r=s.length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{};let c=0;for(let l=0;l{setTimeout(t,e)})}function kc(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Dy(e,t):t}function mk(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function gk(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var cu=Symbol();function My(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===cu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var ts,En,Bs,nh,yk=(nh=class extends Ri{constructor(){super();ne(this,ts);ne(this,En);ne(this,Bs);Z(this,Bs,t=>{if(!ws&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){C(this,En)||this.setEventListener(C(this,Bs))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,En))==null||t.call(this),Z(this,En,void 0))}setEventListener(t){var n;Z(this,Bs,t),(n=C(this,En))==null||n.call(this),Z(this,En,t(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(t){C(this,ts)!==t&&(Z(this,ts,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof C(this,ts)=="boolean"?C(this,ts):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ts=new WeakMap,En=new WeakMap,Bs=new WeakMap,nh),lu=new yk,Us,An,$s,sh,vk=(sh=class extends Ri{constructor(){super();ne(this,Us,!0);ne(this,An);ne(this,$s);Z(this,$s,t=>{if(!ws&&window.addEventListener){const n=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",s)}}})}onSubscribe(){C(this,An)||this.setEventListener(C(this,$s))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,An))==null||t.call(this),Z(this,An,void 0))}setEventListener(t){var n;Z(this,$s,t),(n=C(this,An))==null||n.call(this),Z(this,An,t(this.setOnline.bind(this)))}setOnline(t){C(this,Us)!==t&&(Z(this,Us,t),this.listeners.forEach(s=>{s(t)}))}isOnline(){return C(this,Us)}},Us=new WeakMap,An=new WeakMap,$s=new WeakMap,sh),Ro=new vk;function Nc(){let e,t;const n=new Promise((r,i)=>{e=r,t=i});n.status="pending",n.catch(()=>{});function s(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{s({status:"fulfilled",value:r}),e(r)},n.reject=r=>{s({status:"rejected",reason:r}),t(r)},n}function xk(e){return Math.min(1e3*2**e,3e4)}function Fy(e){return(e??"online")==="online"?Ro.isOnline():!0}var Ly=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Fa(e){return e instanceof Ly}function Iy(e){let t=!1,n=0,s=!1,r;const i=Nc(),o=h=>{var y;s||(f(new Ly(h)),(y=e.abort)==null||y.call(e))},a=()=>{t=!0},c=()=>{t=!1},l=()=>lu.isFocused()&&(e.networkMode==="always"||Ro.isOnline())&&e.canRun(),u=()=>Fy(e.networkMode)&&e.canRun(),d=h=>{var y;s||(s=!0,(y=e.onSuccess)==null||y.call(e,h),r==null||r(),i.resolve(h))},f=h=>{var y;s||(s=!0,(y=e.onError)==null||y.call(e,h),r==null||r(),i.reject(h))},g=()=>new Promise(h=>{var y;r=v=>{(s||l())&&h(v)},(y=e.onPause)==null||y.call(e)}).then(()=>{var h;r=void 0,s||(h=e.onContinue)==null||h.call(e)}),m=()=>{if(s)return;let h;const y=n===0?e.initialPromise:void 0;try{h=y??e.fn()}catch(v){h=Promise.reject(v)}Promise.resolve(h).then(d).catch(v=>{var A;if(s)return;const b=e.retry??(ws?0:3),w=e.retryDelay??xk,T=typeof w=="function"?w(n,v):w,S=b===!0||typeof b=="number"&&nl()?void 0:g()).then(()=>{t?f(v):m()})})};return{promise:i,cancel:o,continue:()=>(r==null||r(),i),cancelRetry:a,continueRetry:c,canStart:u,start:()=>(u()?m():g().then(m),i)}}function bk(){let e=[],t=0,n=a=>{a()},s=a=>{a()},r=a=>setTimeout(a,0);const i=a=>{t?e.push(a):r(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&r(()=>{s(()=>{a.forEach(c=>{n(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||o()}return c},batchCalls:a=>(...c)=>{i(()=>{a(...c)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{s=a},setScheduler:a=>{r=a}}}var We=bk(),ns,rh,Vy=(rh=class{constructor(){ne(this,ns)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ac(this.gcTime)&&Z(this,ns,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ws?1/0:5*60*1e3))}clearGcTimeout(){C(this,ns)&&(clearTimeout(C(this,ns)),Z(this,ns,void 0))}},ns=new WeakMap,rh),zs,Ws,Tt,ss,Ze,hi,rs,kt,dn,ih,wk=(ih=class extends Vy{constructor(t){super();ne(this,kt);ne(this,zs);ne(this,Ws);ne(this,Tt);ne(this,ss);ne(this,Ze);ne(this,hi);ne(this,rs);Z(this,rs,!1),Z(this,hi,t.defaultOptions),this.setOptions(t.options),this.observers=[],Z(this,ss,t.client),Z(this,Tt,C(this,ss).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Z(this,zs,Sk(this.options)),this.state=t.state??C(this,zs),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=C(this,Ze))==null?void 0:t.promise}setOptions(t){this.options={...C(this,hi),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&C(this,Tt).remove(this)}setData(t,n){const s=kc(this.state.data,t,this.options);return he(this,kt,dn).call(this,{data:s,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),s}setState(t,n){he(this,kt,dn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var s,r;const n=(s=C(this,Ze))==null?void 0:s.promise;return(r=C(this,Ze))==null||r.cancel(t),n?n.then(Ct).catch(Ct):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(C(this,zs))}isActive(){return this.observers.some(t=>Ot(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===cu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!jy(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(s=>s.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Ze))==null||n.continue()}onOnline(){var n;const t=this.observers.find(s=>s.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Ze))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),C(this,Tt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(C(this,Ze)&&(C(this,rs)?C(this,Ze).cancel({revert:!0}):C(this,Ze).cancelRetry()),this.scheduleGc()),C(this,Tt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||he(this,kt,dn).call(this,{type:"invalidate"})}fetch(t,n){var c,l,u;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(C(this,Ze))return C(this,Ze).continueRetry(),C(this,Ze).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}const s=new AbortController,r=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(Z(this,rs,!0),s.signal)})},i=()=>{const d=My(this.options,n),f={client:C(this,ss),queryKey:this.queryKey,meta:this.meta};return r(f),Z(this,rs,!1),this.options.persister?this.options.persister(d,f,this):d(f)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:C(this,ss),state:this.state,fetchFn:i};r(o),(c=this.options.behavior)==null||c.onFetch(o,this),Z(this,Ws,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((l=o.fetchOptions)==null?void 0:l.meta))&&he(this,kt,dn).call(this,{type:"fetch",meta:(u=o.fetchOptions)==null?void 0:u.meta});const a=d=>{var f,g,m,h;Fa(d)&&d.silent||he(this,kt,dn).call(this,{type:"error",error:d}),Fa(d)||((g=(f=C(this,Tt).config).onError)==null||g.call(f,d,this),(h=(m=C(this,Tt).config).onSettled)==null||h.call(m,this.state.data,d,this)),this.scheduleGc()};return Z(this,Ze,Iy({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:s.abort.bind(s),onSuccess:d=>{var f,g,m,h;if(d===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(y){a(y);return}(g=(f=C(this,Tt).config).onSuccess)==null||g.call(f,d,this),(h=(m=C(this,Tt).config).onSettled)==null||h.call(m,d,this.state.error,this),this.scheduleGc()},onError:a,onFail:(d,f)=>{he(this,kt,dn).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{he(this,kt,dn).call(this,{type:"pause"})},onContinue:()=>{he(this,kt,dn).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),C(this,Ze).start()}},zs=new WeakMap,Ws=new WeakMap,Tt=new WeakMap,ss=new WeakMap,Ze=new WeakMap,hi=new WeakMap,rs=new WeakMap,kt=new WeakSet,dn=function(t){const n=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...By(s.data,this.options),fetchMeta:t.meta??null};case"success":return{...s,data:t.data,dataUpdateCount:s.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const r=t.error;return Fa(r)&&r.revert&&C(this,Ws)?{...C(this,Ws),fetchStatus:"idle"}:{...s,error:r,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=n(this.state),We.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),C(this,Tt).notify({query:this,type:"updated",action:t})})},ih);function By(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Fy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Sk(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,s=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var qt,oh,_k=(oh=class extends Ri{constructor(t={}){super();ne(this,qt);this.config=t,Z(this,qt,new Map)}build(t,n,s){const r=n.queryKey,i=n.queryHash??au(r,n);let o=this.get(i);return o||(o=new wk({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(o)),o}add(t){C(this,qt).has(t.queryHash)||(C(this,qt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=C(this,qt).get(t.queryHash);n&&(t.destroy(),n===t&&C(this,qt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){We.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return C(this,qt).get(t)}getAll(){return[...C(this,qt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>Hf(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>Hf(t,s)):n}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){We.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){We.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},qt=new WeakMap,oh),Zt,et,is,Kt,Tn,ah,Tk=(ah=class extends Vy{constructor(t){super();ne(this,Kt);ne(this,Zt);ne(this,et);ne(this,is);this.mutationId=t.mutationId,Z(this,et,t.mutationCache),Z(this,Zt,[]),this.state=t.state||Ck(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){C(this,Zt).includes(t)||(C(this,Zt).push(t),this.clearGcTimeout(),C(this,et).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Z(this,Zt,C(this,Zt).filter(n=>n!==t)),this.scheduleGc(),C(this,et).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){C(this,Zt).length||(this.state.status==="pending"?this.scheduleGc():C(this,et).remove(this))}continue(){var t;return((t=C(this,is))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var r,i,o,a,c,l,u,d,f,g,m,h,y,v,b,w,T,S,A,P;Z(this,is,Iy({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(E,O)=>{he(this,Kt,Tn).call(this,{type:"failed",failureCount:E,error:O})},onPause:()=>{he(this,Kt,Tn).call(this,{type:"pause"})},onContinue:()=>{he(this,Kt,Tn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>C(this,et).canRun(this)}));const n=this.state.status==="pending",s=!C(this,is).canStart();try{if(!n){he(this,Kt,Tn).call(this,{type:"pending",variables:t,isPaused:s}),await((i=(r=C(this,et).config).onMutate)==null?void 0:i.call(r,t,this));const O=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,t));O!==this.state.context&&he(this,Kt,Tn).call(this,{type:"pending",context:O,variables:t,isPaused:s})}const E=await C(this,is).start();return await((l=(c=C(this,et).config).onSuccess)==null?void 0:l.call(c,E,t,this.state.context,this)),await((d=(u=this.options).onSuccess)==null?void 0:d.call(u,E,t,this.state.context)),await((g=(f=C(this,et).config).onSettled)==null?void 0:g.call(f,E,null,this.state.variables,this.state.context,this)),await((h=(m=this.options).onSettled)==null?void 0:h.call(m,E,null,t,this.state.context)),he(this,Kt,Tn).call(this,{type:"success",data:E}),E}catch(E){try{throw await((v=(y=C(this,et).config).onError)==null?void 0:v.call(y,E,t,this.state.context,this)),await((w=(b=this.options).onError)==null?void 0:w.call(b,E,t,this.state.context)),await((S=(T=C(this,et).config).onSettled)==null?void 0:S.call(T,void 0,E,this.state.variables,this.state.context,this)),await((P=(A=this.options).onSettled)==null?void 0:P.call(A,void 0,E,t,this.state.context)),E}finally{he(this,Kt,Tn).call(this,{type:"error",error:E})}}finally{C(this,et).runNext(this)}}},Zt=new WeakMap,et=new WeakMap,is=new WeakMap,Kt=new WeakSet,Tn=function(t){const n=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),We.batch(()=>{C(this,Zt).forEach(s=>{s.onMutationUpdate(t)}),C(this,et).notify({mutation:this,type:"updated",action:t})})},ah);function Ck(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hn,Nt,pi,ch,Ek=(ch=class extends Ri{constructor(t={}){super();ne(this,hn);ne(this,Nt);ne(this,pi);this.config=t,Z(this,hn,new Set),Z(this,Nt,new Map),Z(this,pi,0)}build(t,n,s){const r=new Tk({mutationCache:this,mutationId:++Ni(this,pi)._,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){C(this,hn).add(t);const n=zi(t);if(typeof n=="string"){const s=C(this,Nt).get(n);s?s.push(t):C(this,Nt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(C(this,hn).delete(t)){const n=zi(t);if(typeof n=="string"){const s=C(this,Nt).get(n);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&C(this,Nt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=zi(t);if(typeof n=="string"){const s=C(this,Nt).get(n),r=s==null?void 0:s.find(i=>i.state.status==="pending");return!r||r===t}else return!0}runNext(t){var s;const n=zi(t);if(typeof n=="string"){const r=(s=C(this,Nt).get(n))==null?void 0:s.find(i=>i!==t&&i.state.isPaused);return(r==null?void 0:r.continue())??Promise.resolve()}else return Promise.resolve()}clear(){We.batch(()=>{C(this,hn).forEach(t=>{this.notify({type:"removed",mutation:t})}),C(this,hn).clear(),C(this,Nt).clear()})}getAll(){return Array.from(C(this,hn))}find(t){const n={exact:!0,...t};return this.getAll().find(s=>qf(n,s))}findAll(t={}){return this.getAll().filter(n=>qf(t,n))}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return We.batch(()=>Promise.all(t.map(n=>n.continue().catch(Ct))))}},hn=new WeakMap,Nt=new WeakMap,pi=new WeakMap,ch);function zi(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Gf(e){return{onFetch:(t,n)=>{var u,d,f,g,m;const s=t.options,r=(f=(d=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,i=((g=t.state.data)==null?void 0:g.pages)||[],o=((m=t.state.data)==null?void 0:m.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const l=async()=>{let h=!1;const y=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?h=!0:t.signal.addEventListener("abort",()=>{h=!0}),t.signal)})},v=My(t.options,t.fetchOptions),b=async(w,T,S)=>{if(h)return Promise.reject();if(T==null&&w.pages.length)return Promise.resolve(w);const A={client:t.client,queryKey:t.queryKey,pageParam:T,direction:S?"backward":"forward",meta:t.options.meta};y(A);const P=await v(A),{maxPages:E}=t.options,O=S?gk:mk;return{pages:O(w.pages,P,E),pageParams:O(w.pageParams,T,E)}};if(r&&i.length){const w=r==="backward",T=w?Ak:Qf,S={pages:i,pageParams:o},A=T(s,S);a=await b(S,A,w)}else{const w=e??i.length;do{const T=c===0?o[0]??s.initialPageParam:Qf(s,a);if(c>0&&T==null)break;a=await b(a,T),c++}while(c{var h,y;return(y=(h=t.options).persister)==null?void 0:y.call(h,l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=l}}}function Qf(e,{pages:t,pageParams:n}){const s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,n[s],n):void 0}function Ak(e,{pages:t,pageParams:n}){var s;return t.length>0?(s=e.getPreviousPageParam)==null?void 0:s.call(e,t[0],t,n[0],n):void 0}var Re,Pn,Rn,Hs,qs,kn,Zs,Ks,lh,E1=(lh=class{constructor(e={}){ne(this,Re);ne(this,Pn);ne(this,Rn);ne(this,Hs);ne(this,qs);ne(this,kn);ne(this,Zs);ne(this,Ks);Z(this,Re,e.queryCache||new _k),Z(this,Pn,e.mutationCache||new Ek),Z(this,Rn,e.defaultOptions||{}),Z(this,Hs,new Map),Z(this,qs,new Map),Z(this,kn,0)}mount(){Ni(this,kn)._++,C(this,kn)===1&&(Z(this,Zs,lu.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Re).onFocus())})),Z(this,Ks,Ro.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Re).onOnline())})))}unmount(){var e,t;Ni(this,kn)._--,C(this,kn)===0&&((e=C(this,Zs))==null||e.call(this),Z(this,Zs,void 0),(t=C(this,Ks))==null||t.call(this),Z(this,Ks,void 0))}isFetching(e){return C(this,Re).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return C(this,Pn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,Re).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=C(this,Re).build(this,t),s=n.state.data;return s===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Vs(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(s))}getQueriesData(e){return C(this,Re).findAll(e).map(({queryKey:t,state:n})=>{const s=n.data;return[t,s]})}setQueryData(e,t,n){const s=this.defaultQueryOptions({queryKey:e}),r=C(this,Re).get(s.queryHash),i=r==null?void 0:r.state.data,o=hk(t,i);if(o!==void 0)return C(this,Re).build(this,s).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return We.batch(()=>C(this,Re).findAll(e).map(({queryKey:s})=>[s,this.setQueryData(s,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,Re).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=C(this,Re);We.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=C(this,Re),s={type:"active",...e};return We.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries(s,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},s=We.batch(()=>C(this,Re).findAll(e).map(r=>r.cancel(n)));return Promise.all(s).then(Ct).catch(Ct)}invalidateQueries(e,t={}){return We.batch(()=>{if(C(this,Re).findAll(e).forEach(s=>{s.invalidate()}),(e==null?void 0:e.refetchType)==="none")return Promise.resolve();const n={...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"};return this.refetchQueries(n,t)})}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},s=We.batch(()=>C(this,Re).findAll(e).filter(r=>!r.isDisabled()).map(r=>{let i=r.fetch(void 0,n);return n.throwOnError||(i=i.catch(Ct)),r.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(s).then(Ct)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=C(this,Re).build(this,t);return n.isStaleByTime(Vs(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ct).catch(Ct)}fetchInfiniteQuery(e){return e.behavior=Gf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ct).catch(Ct)}ensureInfiniteQueryData(e){return e.behavior=Gf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ro.isOnline()?C(this,Pn).resumePausedMutations():Promise.resolve()}getQueryCache(){return C(this,Re)}getMutationCache(){return C(this,Pn)}getDefaultOptions(){return C(this,Rn)}setDefaultOptions(e){Z(this,Rn,e)}setQueryDefaults(e,t){C(this,Hs).set(di(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...C(this,Hs).values()],n={};return t.forEach(s=>{fi(e,s.queryKey)&&Object.assign(n,s.defaultOptions)}),n}setMutationDefaults(e,t){C(this,qs).set(di(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...C(this,qs).values()];let n={};return t.forEach(s=>{fi(e,s.mutationKey)&&(n={...n,...s.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...C(this,Rn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=au(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===cu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...C(this,Rn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){C(this,Re).clear(),C(this,Pn).clear()}},Re=new WeakMap,Pn=new WeakMap,Rn=new WeakMap,Hs=new WeakMap,qs=new WeakMap,kn=new WeakMap,Zs=new WeakMap,Ks=new WeakMap,lh),ct,pe,mi,tt,os,Gs,Nn,Gt,gi,Qs,Xs,as,cs,On,Ys,be,Nr,Oc,jc,Dc,Mc,Fc,Lc,Ic,Uy,uh,Pk=(uh=class extends Ri{constructor(t,n){super();ne(this,be);ne(this,ct);ne(this,pe);ne(this,mi);ne(this,tt);ne(this,os);ne(this,Gs);ne(this,Nn);ne(this,Gt);ne(this,gi);ne(this,Qs);ne(this,Xs);ne(this,as);ne(this,cs);ne(this,On);ne(this,Ys,new Set);this.options=n,Z(this,ct,t),Z(this,Gt,null),Z(this,Nn,Nc()),this.options.experimental_prefetchInRender||C(this,Nn).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(C(this,pe).addObserver(this),Xf(C(this,pe),this.options)?he(this,be,Nr).call(this):this.updateResult(),he(this,be,Mc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Vc(C(this,pe),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Vc(C(this,pe),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,he(this,be,Fc).call(this),he(this,be,Lc).call(this),C(this,pe).removeObserver(this)}setOptions(t,n){const s=this.options,r=C(this,pe);if(this.options=C(this,ct).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Ot(this.options.enabled,C(this,pe))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");he(this,be,Ic).call(this),C(this,pe).setOptions(this.options),s._defaulted&&!Pc(this.options,s)&&C(this,ct).getQueryCache().notify({type:"observerOptionsUpdated",query:C(this,pe),observer:this});const i=this.hasListeners();i&&Yf(C(this,pe),r,this.options,s)&&he(this,be,Nr).call(this),this.updateResult(n),i&&(C(this,pe)!==r||Ot(this.options.enabled,C(this,pe))!==Ot(s.enabled,C(this,pe))||Vs(this.options.staleTime,C(this,pe))!==Vs(s.staleTime,C(this,pe)))&&he(this,be,Oc).call(this);const o=he(this,be,jc).call(this);i&&(C(this,pe)!==r||Ot(this.options.enabled,C(this,pe))!==Ot(s.enabled,C(this,pe))||o!==C(this,On))&&he(this,be,Dc).call(this,o)}getOptimisticResult(t){const n=C(this,ct).getQueryCache().build(C(this,ct),t),s=this.createResult(n,t);return kk(this,s)&&(Z(this,tt,s),Z(this,Gs,this.options),Z(this,os,C(this,pe).state)),s}getCurrentResult(){return C(this,tt)}trackResult(t,n){const s={};return Object.keys(t).forEach(r=>{Object.defineProperty(s,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),n==null||n(r),t[r])})}),s}trackProp(t){C(this,Ys).add(t)}getCurrentQuery(){return C(this,pe)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=C(this,ct).defaultQueryOptions(t),s=C(this,ct).getQueryCache().build(C(this,ct),n);return s.fetch().then(()=>this.createResult(s,n))}fetch(t){return he(this,be,Nr).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),C(this,tt)))}createResult(t,n){var E;const s=C(this,pe),r=this.options,i=C(this,tt),o=C(this,os),a=C(this,Gs),l=t!==s?t.state:C(this,mi),{state:u}=t;let d={...u},f=!1,g;if(n._optimisticResults){const O=this.hasListeners(),D=!O&&Xf(t,n),L=O&&Yf(t,s,n,r);(D||L)&&(d={...d,...By(u.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:m,errorUpdatedAt:h,status:y}=d;if(n.select&&d.data!==void 0)if(i&&d.data===(o==null?void 0:o.data)&&n.select===C(this,gi))g=C(this,Qs);else try{Z(this,gi,n.select),g=n.select(d.data),g=kc(i==null?void 0:i.data,g,n),Z(this,Qs,g),Z(this,Gt,null)}catch(O){Z(this,Gt,O)}else g=d.data;if(n.placeholderData!==void 0&&g===void 0&&y==="pending"){let O;if(i!=null&&i.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))O=i.data;else if(O=typeof n.placeholderData=="function"?n.placeholderData((E=C(this,Xs))==null?void 0:E.state.data,C(this,Xs)):n.placeholderData,n.select&&O!==void 0)try{O=n.select(O),Z(this,Gt,null)}catch(D){Z(this,Gt,D)}O!==void 0&&(y="success",g=kc(i==null?void 0:i.data,O,n),f=!0)}C(this,Gt)&&(m=C(this,Gt),g=C(this,Qs),h=Date.now(),y="error");const v=d.fetchStatus==="fetching",b=y==="pending",w=y==="error",T=b&&v,S=g!==void 0,P={status:y,fetchStatus:d.fetchStatus,isPending:b,isSuccess:y==="success",isError:w,isInitialLoading:T,isLoading:T,data:g,dataUpdatedAt:d.dataUpdatedAt,error:m,errorUpdatedAt:h,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:v,isRefetching:v&&!b,isLoadingError:w&&!S,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:w&&S,isStale:uu(t,n),refetch:this.refetch,promise:C(this,Nn)};if(this.options.experimental_prefetchInRender){const O=j=>{P.status==="error"?j.reject(P.error):P.data!==void 0&&j.resolve(P.data)},D=()=>{const j=Z(this,Nn,P.promise=Nc());O(j)},L=C(this,Nn);switch(L.status){case"pending":t.queryHash===s.queryHash&&O(L);break;case"fulfilled":(P.status==="error"||P.data!==L.value)&&D();break;case"rejected":(P.status!=="error"||P.error!==L.reason)&&D();break}}return P}updateResult(t){const n=C(this,tt),s=this.createResult(C(this,pe),this.options);if(Z(this,os,C(this,pe).state),Z(this,Gs,this.options),C(this,os).data!==void 0&&Z(this,Xs,C(this,pe)),Pc(s,n))return;Z(this,tt,s);const r={},i=()=>{if(!n)return!0;const{notifyOnChangeProps:o}=this.options,a=typeof o=="function"?o():o;if(a==="all"||!a&&!C(this,Ys).size)return!0;const c=new Set(a??C(this,Ys));return this.options.throwOnError&&c.add("error"),Object.keys(C(this,tt)).some(l=>{const u=l;return C(this,tt)[u]!==n[u]&&c.has(u)})};(t==null?void 0:t.listeners)!==!1&&i()&&(r.listeners=!0),he(this,be,Uy).call(this,{...r,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&he(this,be,Mc).call(this)}},ct=new WeakMap,pe=new WeakMap,mi=new WeakMap,tt=new WeakMap,os=new WeakMap,Gs=new WeakMap,Nn=new WeakMap,Gt=new WeakMap,gi=new WeakMap,Qs=new WeakMap,Xs=new WeakMap,as=new WeakMap,cs=new WeakMap,On=new WeakMap,Ys=new WeakMap,be=new WeakSet,Nr=function(t){he(this,be,Ic).call(this);let n=C(this,pe).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Ct)),n},Oc=function(){he(this,be,Fc).call(this);const t=Vs(this.options.staleTime,C(this,pe));if(ws||C(this,tt).isStale||!Ac(t))return;const s=jy(C(this,tt).dataUpdatedAt,t)+1;Z(this,as,setTimeout(()=>{C(this,tt).isStale||this.updateResult()},s))},jc=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(C(this,pe)):this.options.refetchInterval)??!1},Dc=function(t){he(this,be,Lc).call(this),Z(this,On,t),!(ws||Ot(this.options.enabled,C(this,pe))===!1||!Ac(C(this,On))||C(this,On)===0)&&Z(this,cs,setInterval(()=>{(this.options.refetchIntervalInBackground||lu.isFocused())&&he(this,be,Nr).call(this)},C(this,On)))},Mc=function(){he(this,be,Oc).call(this),he(this,be,Dc).call(this,he(this,be,jc).call(this))},Fc=function(){C(this,as)&&(clearTimeout(C(this,as)),Z(this,as,void 0))},Lc=function(){C(this,cs)&&(clearInterval(C(this,cs)),Z(this,cs,void 0))},Ic=function(){const t=C(this,ct).getQueryCache().build(C(this,ct),this.options);if(t===C(this,pe))return;const n=C(this,pe);Z(this,pe,t),Z(this,mi,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},Uy=function(t){We.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(C(this,tt))}),C(this,ct).getQueryCache().notify({query:C(this,pe),type:"observerResultsUpdated"})})},uh);function Rk(e,t){return Ot(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Xf(e,t){return Rk(e,t)||e.state.data!==void 0&&Vc(e,t,t.refetchOnMount)}function Vc(e,t,n){if(Ot(t.enabled,e)!==!1){const s=typeof n=="function"?n(e):n;return s==="always"||s!==!1&&uu(e,t)}return!1}function Yf(e,t,n,s){return(e!==t||Ot(s.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&uu(e,n)}function uu(e,t){return Ot(t.enabled,e)!==!1&&e.isStaleByTime(Vs(t.staleTime,e))}function kk(e,t){return!Pc(e.getCurrentResult(),t)}var $y=x.createContext(void 0),Nk=e=>{const t=x.useContext($y);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},A1=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx($y.Provider,{value:e,children:t})),zy=x.createContext(!1),Ok=()=>x.useContext(zy);zy.Provider;function jk(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Dk=x.createContext(jk()),Mk=()=>x.useContext(Dk);function Fk(e,t){return typeof e=="function"?e(...t):!!e}function Jf(){}var Lk=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},Ik=e=>{x.useEffect(()=>{e.clearReset()},[e])},Vk=({result:e,errorResetBoundary:t,throwOnError:n,query:s,suspense:r})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(r&&e.data===void 0||Fk(n,[e.error,s])),Bk=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...n)=>Math.max(t(...n),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},Uk=(e,t)=>e.isLoading&&e.isFetching&&!t,$k=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,eh=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function zk(e,t,n){var d,f,g,m,h;const s=Nk(),r=Ok(),i=Mk(),o=s.defaultQueryOptions(e);(f=(d=s.getDefaultOptions().queries)==null?void 0:d._experimental_beforeQuery)==null||f.call(d,o),o._optimisticResults=r?"isRestoring":"optimistic",Bk(o),Lk(o,i),Ik(i);const a=!s.getQueryCache().get(o.queryHash),[c]=x.useState(()=>new t(s,o)),l=c.getOptimisticResult(o),u=!r&&e.subscribed!==!1;if(x.useSyncExternalStore(x.useCallback(y=>{const v=u?c.subscribe(We.batchCalls(y)):Jf;return c.updateResult(),v},[c,u]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),x.useEffect(()=>{c.setOptions(o,{listeners:!1})},[o,c]),$k(o,l))throw eh(o,c,i);if(Vk({result:l,errorResetBoundary:i,throwOnError:o.throwOnError,query:s.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw l.error;if((m=(g=s.getDefaultOptions().queries)==null?void 0:g._experimental_afterQuery)==null||m.call(g,o,l),o.experimental_prefetchInRender&&!ws&&Uk(l,r)){const y=a?eh(o,c,i):(h=s.getQueryCache().get(o.queryHash))==null?void 0:h.promise;y==null||y.catch(Jf).finally(()=>{c.updateResult()})}return o.notifyOnChangeProps?l:c.trackResult(l)}function qn(e,t){return zk(e,Pk)}const Wk=e=>{const{data:t,isPending:n,status:s}=qn({queryKey:["photos",e],queryFn:()=>ER(e),select:({data:r})=>r.data});return{data:t,isPending:n,status:s}},Hk=e=>{const{data:t,isPending:n,isError:s}=qn({queryKey:["videos",e],queryFn:()=>AR(e),select:({data:r})=>r.data});return{data:t,isPending:n,isError:s}},P1=({className:e,setIsOpen:t,activeItem:n})=>{var f,g;const[s,r]=Hn({align:"center",loop:!1,dragFree:!1,slidesToScroll:1}),{data:i}=Wk(1),{data:o}=Hk(1);PT();const[a,c]=x.useState(!1),[l,u]=x.useState(!1);x.useEffect(()=>{if(!r)return;const m=()=>{c(r.canScrollPrev()),u(r.canScrollNext())};return r.on("select",m),m(),()=>{r.off("select",m)}},[r]),x.useEffect(()=>{!r||!i||r.scrollTo(n.id,!0)},[r,i,n.id]);const d=n.type==="photo"?(f=i==null?void 0:i.photos)==null?void 0:f.map(m=>{var h;return p.jsx("div",{className:"embla__slide flex-[0_0_100%] h-[350px] md:h-[500px] lg:h-[700px] lg:px-[20%] flex items-center justify-center",children:p.jsx("img",{src:(h=m==null?void 0:m.photo)==null?void 0:h.path,alt:m.photo.file_name,className:"max-h-full max-w-full object-contain"})},m.id)}):(g=o==null?void 0:o.videos)==null?void 0:g.map(m=>{var h;return p.jsx("div",{className:"embla__slide flex-[0_0_100%] h-[80vh] lg:px-[20%] flex items-center justify-center",children:p.jsx("video",{src:((h=m==null?void 0:m.video)==null?void 0:h.path)??"",controls:!0,autoPlay:!0,muted:!0,className:"max-h-full max-w-full object-contain"})},m.id)});return p.jsxs(Fr.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:K("fixed z-[100] top-0 left-0 pb-40 pt-20 lg:px-28 px-6 overflow-hidden min-h-screen w-full bg-black/90",e),children:[p.jsx(Yc,{onClick:()=>t(!1),className:"absolute top-6 right-6 p-3 md:size-20 size-16 cursor-pointer z-50 text-white hover:scale-110 transition-all duration-300"}),p.jsxs("div",{className:"hidden md:block",children:[p.jsx(Mx,{onClick:()=>a&&(r==null?void 0:r.scrollPrev()),className:K("absolute left-10 top-1/2 -translate-y-1/2 text-white size-20 cursor-pointer hover:scale-110 transition-all duration-300 z-40",!a&&"opacity-20 pointer-events-none")}),p.jsx(Lx,{onClick:()=>l&&(r==null?void 0:r.scrollNext()),className:K("absolute right-10 top-1/2 -translate-y-1/2 text-white size-20 cursor-pointer hover:scale-110 transition-all duration-300 z-40",!l&&"opacity-20 pointer-events-none")})]}),p.jsx("div",{ref:s,className:"embla overflow-hidden",children:p.jsx("div",{className:"embla__container flex",children:d})})]})},dt=e=>e===ut.RU?0:1,Bc=[{title:"Тематические направления выставки",bottom_text:` Участники смогут продемонстрировать свои инновационные решения, наладить взаимовыгодные партнерства и выйти на новые рынки.`,data:[{title:"Текстильные машины и оборудование",img:"/theme/1.svg"},{title:"Одежда, обувь, кожаные изделия",img:"/theme/2.svg"},{title:"Переработка натуральных волокон",img:"/theme/3.svg"},{title:"Домашний текстиль и эко-текстиль",img:"/theme/4.svg"},{title:"Запасные части и вспомогательные материалы",img:"/theme/5.svg"},{title:"Химические средства и красители",img:"/theme/6.svg"},{title:"Аксессуары и швейная фурнитура",img:"/theme/7.svg"},{title:"Мода и дизайн",img:"/theme/8.svg"}]},{title:"Thematic areas of the exhibition",bottom_text:` Participants will be able to showcase innovative solutions, establish mutually beneficial partnerships, and enter new markets.`,data:[{title:"Textile machinery and equipment",img:"/theme/1.svg"},{title:"Clothing, footwear, leather goods",img:"/theme/2.svg"},{title:"Natural fibre processing",img:"/theme/3.svg"},{title:"Home textiles and eco-textiles",img:"/theme/4.svg"},{title:"Spare parts and auxiliary materials",img:"/theme/5.svg"},{title:"Chemicals and dyes",img:"/theme/6.svg"},{title:"Accessories and sewing supplies",img:"/theme/7.svg"},{title:"Fashion and design",img:"/theme/8.svg"}]}],Wy=()=>{const e=Ce(s=>s.lang),{data:t,isPending:n}=qn({queryKey:["industries",e],queryFn:()=>TR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},R1=({className:e})=>{const t=Ce(r=>r.lang),{data:n,isPending:s}=Wy();return p.jsx("section",{className:K("relative w-full bg-[#FDEDEE] -z-10 py-10",e),children:p.jsx(Ye,{children:s?p.jsx(_s,{}):p.jsxs(p.Fragment,{children:[p.jsx("h3",{className:"h2 mb-4",children:Bc[dt(t)].title}),p.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:n==null?void 0:n.map((r,i)=>p.jsx(cp,{...r},i))}),p.jsxs("div",{className:"flex items-center gap-3 mt-8 text-on_surface_v text-lg",children:[p.jsx("div",{className:"md:w-1 w-4 md:h-[38px] h-40 bg-teritary_08"}),p.jsx("p",{className:"text-18",children:Bc[dt(t)].bottom_text})]})]})})})},Hy=[{title:"Время выставки",data:[{name:"Монтаж выставки",date:"12 Мая – 10 Июня 2025 года"},{name:"Работа",date:"11–13 Июня 2025 года"},{name:"Демонтаж",date:"13–14 Июня 2025 года"}]},{title:"Exhibition time",data:[{name:"Exhibition assembly",date:"12 May — 10 June 2025"},{name:"Exhibition days",date:"11–13 June 2025"},{name:"Exhibition dismantling",date:"13–14 June 2025"}]}],qy=()=>{const e=Ce(s=>s.lang),{data:t,isPending:n}=qn({queryKey:["exhibiton-time",e],queryFn:()=>CR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},k1=({className:e})=>{const t=Ce(r=>r.lang),{data:n,isPending:s}=qy();return p.jsx("section",{className:K("bg-surface_container py-10 md:py-20",e),children:p.jsx(Ye,{children:s?p.jsx(_s,{}):p.jsxs(p.Fragment,{children:[p.jsx("h2",{className:"h2 mb-6",children:Hy[dt(t)].title}),p.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:n==null?void 0:n.map((r,i)=>x.createElement(lp,{bottomClassName:"!bg-white rounded-b-[2px]",...r,key:i,className:"w-full"}))})]})})})},th=[{title:"Место проведения",data:["Выставочный центр Торгово-промышленной палаты Туркменистана – это современная площадка для проведения международных выставок, конференций, форумов и деловых встреч","Центр оснащен передовыми техническими решениями, включая мультимедийное оборудование, системы звукоусиления и освещения, конференц-залы с синхронным переводом, а также удобные зоны для переговоров. Просторные выставочные павильоны обеспечивают комфортные условия для демонстрации продукции и услуг. "]},{title:"Venue",data:["The Exhibition Centre of the Chamber of Commerce and Industry of Turkmenistan is a modern venue designed for international exhibitions, conferences, forums, and business meetings.","The centre is equipped with cutting-edge technical solutions, including multimedia equipment, sound and lighting systems, conference rooms with simultaneous translation, and comfortable areas for negotiations. Spacious exhibition pavilions provide ideal conditions for showcasing products and services."]}],N1=({className:e})=>{const t=Ce(n=>n.lang);return p.jsx("section",{className:K("gap-6 relative overflow-hidden",e),children:p.jsxs(Ye,{className:"md:py-20 py-10 grid-cols-1 lg:grid-cols-2 lg:gap-12 gap-0 grid",children:[p.jsxs("div",{className:"flex-[0_0_50%]",children:[p.jsx("h3",{className:"h2 mb-6",children:th[dt(t)].title}),p.jsx("div",{className:"text-lg flex flex-col gap-6 text-on_surface_v normal mb-10",children:th[dt(t)].data.map(n=>p.jsx("p",{children:n},n))})]}),p.jsx("div",{className:"h-full max-size-[600px] flex-[0_0_50%]",children:p.jsx("img",{src:"/about-place.jpg",alt:"",className:"size-full object-contain"})})]})})},Wi=[{title:"Приглашение к участию",p:"Министерство текстильной промышленности Туркменистана приглашает бизнес-сообщество со всего мира присоединиться к этому уникальному событию, которое станет важным шагом к укреплению позиций Туркменистана в международной экономической арене.",button1:"Забронировать стенд",button2:"B2B | B2G встречи"},{title:"Invitation to Participate",p:"Ministry of Textile Industry of Turkmenistan invites the global business community to join this unique event, which will be a significant step toward strengthening Turkmenistan’s position on the global economic stage",button1:"Book a stand",button2:"B2B | B2G meetings"}],O1=({className:e})=>{const t=Ce(n=>n.lang);return p.jsxs("section",{className:K("md:py-20 py-10 relative overflow-hidden",e),children:[p.jsx("img",{src:"/CTA.png",className:"absolute top-0 left-0 size-full -z-10 object-cover"}),p.jsxs(Ye,{children:[p.jsx("h3",{className:"h2 text-center !text-on_primary mb-6",children:Wi[dt(t)].title}),p.jsx("p",{className:"text-center md:text-lg text-sm text-primary_03 max-w-[828px] px-5 mx-auto mb-10",children:Wi[dt(t)].p}),p.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-6",children:[p.jsx(Ne,{to:"/stend-form",className:"w-full",children:p.jsx(ht,{className:"bg-reverse_primary w-full text-primary hover:bg-reverse_primary/90",children:Wi[dt(t)].button1})}),p.jsx(Ne,{to:"/B2B-B2GS",className:"w-full",children:p.jsx(ht,{className:"bg-reverse_primary w-full hover:bg-reverse_primary/90 text-primary",children:Wi[dt(t)].button2})})]})]})]})},Zy=e=>{const t=Ce(r=>r.lang),{data:n,isPending:s}=qn({queryKey:["static-words",t,e],queryFn:()=>wR(t,e),select:({data:r})=>r.data});return{data:n,isPending:s}},j1=()=>{var f,g,m,h,y,v,b,w;const e=Ce(T=>T.lang),{t}=yi("about"),{data:n,isPending:s}=Zy("2"),r=(f=n==null?void 0:n.find(T=>T.key==="about_1"))==null?void 0:f.text,i=(g=n==null?void 0:n.find(T=>T.key==="about_2"))==null?void 0:g.text,o=(m=n==null?void 0:n.find(T=>T.key==="about_3"))==null?void 0:m.text,a=(h=n==null?void 0:n.find(T=>T.key==="about_4"))==null?void 0:h.text,c=(y=n==null?void 0:n.find(T=>T.key==="about_5"))==null?void 0:y.list,l=(v=n==null?void 0:n.find(T=>T.key==="about_6"))==null?void 0:v.text,u=(b=n==null?void 0:n.find(T=>T.key==="about_7"))==null?void 0:b.text,d=(w=n==null?void 0:n.find(T=>T.key==="about_8"))==null?void 0:w.list;return s?p.jsx(_s,{}):p.jsxs(Ye,{className:"flex flex-col md:my-20 my-10 gap-16",children:[p.jsxs("div",{className:"flex flex-col gap-6",children:[p.jsx("h2",{className:"h2",children:r}),p.jsx("div",{className:"flex flex-col p gap-3",dangerouslySetInnerHTML:{__html:i??""}})]}),p.jsxs("div",{className:"flex flex-col gap-6",children:[p.jsx("h3",{className:"h2",children:o}),p.jsx("h4",{className:"p",children:a}),p.jsx("ol",{type:"1",className:"list-decimal pl-8 flex flex-col gap-3 ",children:c==null?void 0:c.map((T,S)=>p.jsx("li",{className:"p",children:e==="ru"?T.text_ru:T.text_en},S))})]}),p.jsxs("div",{className:"flex flex-col gap-6",children:[p.jsx("h2",{className:"h2",children:l}),p.jsx("h3",{className:"p",children:u}),p.jsx("ul",{className:"list-disc pl-8 flex flex-col gap-3 p",children:d==null?void 0:d.map((T,S)=>p.jsxs("li",{children:[" ",e==="ru"?T.text_ru:T.text_en]},S))})]}),p.jsx(Ne,{className:"w-fit mx-auto",to:"/become-sponsor",children:p.jsx(ht,{children:t("main.button")})})]})},qk=[{lang:ut.RU,data:[{title:"План выставки",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf",blank:!0},{title:"Забронировать стенд",link:"/stend-form"},{title:"Список участников",link:"/participants"},{title:"B2B | B2G встречи",link:"/B2B-B2G"}]},{lang:ut.EN,data:[{title:"Floor Plan",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf",blank:!0},{title:"Book a stand",link:"/stend-form"},{title:"List of participants",link:"/participants"},{title:"B2B | B2G meetings",link:"/B2B-B2G"}]}],D1=()=>{const[e]=Hn(),t=Ce(o=>o.lang),{t:n}=yi("home"),s=lo("(min-width: 1024px)"),r=lo("(min-width: 768px)");function i(){return n(s?"banners.lg":r?"banners.md":"banners.sm")}return p.jsxs("section",{className:"flex flex-col gap-5",children:[p.jsx("div",{ref:e,className:"embla",children:p.jsx("div",{className:"embla__container",children:p.jsx("div",{className:"embla__slide",children:p.jsx("img",{src:i(),alt:"",className:"size-full object-cover lg:max-h-[600px] lg:min-h-[320px]"})})})}),p.jsx(Ye,{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 items-center gap-6 text-2xl",children:qk[dt(t)].data.map(({title:o,link:a,blank:c})=>p.jsx(Ne,{target:c?"_blank":"",to:a,className:"w-full",children:p.jsx(ht,{size:"lg",variant:"teritary",className:"w-full drop-shadow-sm shadow-md text-xl bg-teritary text-on_teritary hover:bg-teritary/90",children:o})},o))})]})},Zk=()=>{const e=Ce(s=>s.lang),{data:t,isPending:n}=qn({queryKey:["home-contacts",e],queryFn:()=>_R(e),select:({data:s})=>s.data});return{data:t,isPending:n}},M1=({className:e})=>{const t=Ce(i=>i.lang),{data:n,isPending:s}=qy(),{data:r}=Zk();return s?p.jsx(_s,{}):p.jsx("section",{className:K("bg-surface_high pt-10 pb-20",e),children:p.jsxs(Ye,{children:[p.jsx("h2",{className:"h2 mb-6",children:Hy[dt(t)].title}),p.jsxs("div",{className:"flex flex-col gap-6",children:[p.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:n==null?void 0:n.map((i,o)=>x.createElement(lp,{...i,key:o,className:"w-full"}))}),p.jsx("div",{className:"md:p-10 pt-16 flex flex-col md:flex-row items-center gap-6",children:r==null?void 0:r.map((i,o)=>x.createElement(Jb,{...i,key:o,className:"w-full"}))}),p.jsx(Ne,{to:"/stend-form",className:"md:w-fit w-full mx-auto",children:p.jsx(ht,{className:"w-full",children:t===ut.RU?"Забронируйте стенд":"Book a stand"})})]})]})})},Kk=[{h2:"Выставка-ярмарка «TurkmenTextile Expo-2025» в Ашхабаде",p:`Международная выставка-ярмарка, которая объединит мировых лидеров отрасли, инновационных производителей и творческих дизайнеров. Наша миссия – укрепить позиции Туркменистана как ключевого центра текстильной и модной индустрии. diff --git a/dist/index.html b/dist/index.html index c0d919a..bd245c5 100644 --- a/dist/index.html +++ b/dist/index.html @@ -66,10 +66,10 @@ })(window, document, "script", "dataLayer", "GTM-NK394LVK"); Turkmen Textile - + - - + +