turkmen-textile-front/dist/assets/ui-library-_5RJ9fWZ.js

160 lines
472 KiB
JavaScript
Raw Normal View History

2025-06-11 05:58:22 +00:00
var Ku=e=>{throw TypeError(e)};var va=(e,t,n)=>t.has(e)||Ku("Cannot "+n);var T=(e,t,n)=>(va(e,t,"read from private field"),n?n.call(e):t.get(e)),ne=(e,t,n)=>t.has(e)?Ku("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,s)=>(va(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n),pe=(e,t,n)=>(va(e,t,"access private method"),n);var Bi=(e,t,n,s)=>({set _(r){K(e,t,r,n)},get _(){return T(e,t,s)}});import{r as Sx,a as g,R as ul,b as dl,c as Zh,L as Ce,d as $i,e as de}from"./react-vendor-CE_Ks92h.js";var xa={exports:{}},Ar={};/**
2025-05-29 15:18:08 +00:00
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/var Gu;function _x(){if(Gu)return Ar;Gu=1;var e=Sx(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(a,c,l){var u,d={},h=null,y=null;l!==void 0&&(h=""+l),c.key!==void 0&&(h=""+c.key),c.ref!==void 0&&(y=c.ref);for(u in c)s.call(c,u)&&!i.hasOwnProperty(u)&&(d[u]=c[u]);if(a&&a.defaultProps)for(u in c=a.defaultProps,c)d[u]===void 0&&(d[u]=c[u]);return{$$typeof:t,type:a,key:h,ref:y,props:d,_owner:r.current}}return Ar.Fragment=n,Ar.jsx=o,Ar.jsxs=o,Ar}var Qu;function Cx(){return Qu||(Qu=1,xa.exports=_x()),xa.exports}var f=Cx();function yt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function Xu(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Kh(...e){return t=>{let n=!1;const s=e.map(r=>{const i=Xu(r,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let r=0;r<s.length;r++){const i=s[r];typeof i=="function"?i():Xu(e[r],null)}}}}function zt(...e){return g.useCallback(Kh(...e),e)}function Ex(e,t){const n=g.createContext(t),s=i=>{const{children:o,...a}=i,c=g.useMemo(()=>a,Object.values(a));return f.jsx(n.Provider,{value:c,children:o})};s.displayName=e+"Provider";function r(i){const o=g.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[s,r]}function fl(e,t=[]){let n=[];function s(i,o){const a=g.createContext(o),c=n.length;n=[...n,o];const l=d=>{var x;const{scope:h,children:y,...m}=d,p=((x=h==null?void 0:h[e])==null?void 0:x[c])||a,v=g.useMemo(()=>m,Object.values(m));return f.jsx(p.Provider,{value:v,children:y})};l.displayName=i+"Provider";function u(d,h){var p;const y=((p=h==null?void 0:h[e])==null?void 0:p[c])||a,m=g.useContext(y);if(m)return m;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[l,u]}const r=()=>{const i=n.map(o=>g.createContext(o));return function(a){const c=(a==null?void 0:a[e])||i;return g.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return r.scopeName=e,[s,Tx(r,...t)]}function Tx(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const s=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(i){const o=s.reduce((a,{useScope:c,scopeName:l})=>{const d=c(i)[`__scope${l}`];return{...a,...d}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}var xs=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},Ax=ul.useId||(()=>{}),Rx=0;function to(e){const[t,n]=g.useState(Ax());return xs(()=>{n(s=>s??String(Rx++))},[e]),t?`radix-${t}`:""}function Bn(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...n)=>{var s;return(s=t.current)==null?void 0:s.call(t,...n)},[])}function Gh({prop:e,defaultProp:t,onChange:n=()=>{}}){const[s,r]=Px({defaultProp:t,onChange:n}),i=e!==void 0,o=i?e:s,a=Bn(n),c=g.useCallback(l=>{if(i){const d=typeof l=="function"?l(e):l;d!==e&&a(d)}else r(l)},[i,e,r,a]);return[o,c]}function Px({defaultProp:e,onChange:t}){const n=g.useState(e),[s]=n,r=g.useRef(s),i=Bn(t);return g.useEffect(()=>{r.current!==s&&(i(s),r.current=s)},[s,r,i]),n}var mr=g.forwardRef((e,t)=>{const{children:n,...s}=e,r=g.Children.toArray(n),i=r.find(jx);if(i){const o=i.props.children,a=r.map(c=>c===i?g.Children.count(o)>1?g.Children.only(null):g.isValidElement(o)?o.props.children:null:c);return f.jsx(Ja,{...s,ref:t,children:g.isValidElement(o)?g.cloneElement(o,void 0,a):null})}return f.jsx(Ja,{...s,ref:t,children:n})});mr.displayName="Slot";var Ja=g.forwardRef((e,t)=>{const{children:n,...s}=e;if(g.isValidElement(n)){const r=Ox(n);return g.cloneElement(n,{...kx(s,n.props),ref:t?Kh(t,r):r})}return g.Children.count(n)>1?g.Children.only(null):null});Ja.displayName="SlotClone";var Nx=({children:e})=>f.jsx(f.Fragment,{children:e});function jx(e){return g.isValidElement(e)&&e.type===Nx}function kx(e,t){const n={...t};for(const s in t){const r=e[s
.`.concat(nb,` {
2025-05-29 15:18:08 +00:00
overflow: hidden `).concat(s,`;
padding-right: `).concat(a,"px ").concat(s,`;
}
2025-06-11 05:58:22 +00:00
body[`).concat(Us,`] {
2025-05-29 15:18:08 +00:00
overflow: hidden `).concat(s,`;
overscroll-behavior: contain;
`).concat([t&&"position: relative ".concat(s,";"),n==="margin"&&`
padding-left: `.concat(r,`px;
padding-top: `).concat(i,`px;
padding-right: `).concat(o,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(a,"px ").concat(s,`;
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(s,";")].filter(Boolean).join(""),`
}
2025-06-11 05:58:22 +00:00
.`).concat(no,` {
2025-05-29 15:18:08 +00:00
right: `).concat(a,"px ").concat(s,`;
}
2025-06-11 05:58:22 +00:00
.`).concat(so,` {
2025-05-29 15:18:08 +00:00
margin-right: `).concat(a,"px ").concat(s,`;
}
2025-06-11 05:58:22 +00:00
.`).concat(no," .").concat(no,` {
2025-05-29 15:18:08 +00:00
right: 0 `).concat(s,`;
}
2025-06-11 05:58:22 +00:00
.`).concat(so," .").concat(so,` {
2025-05-29 15:18:08 +00:00
margin-right: 0 `).concat(s,`;
}
2025-06-11 05:58:22 +00:00
body[`).concat(Us,`] {
`).concat(sb,": ").concat(a,`px;
2025-05-29 15:18:08 +00:00
}
2025-06-11 05:58:22 +00:00
`)},od=function(){var e=parseInt(document.body.getAttribute(Us)||"0",10);return isFinite(e)?e:0},Sb=function(){g.useEffect(function(){return document.body.setAttribute(Us,(od()+1).toString()),function(){var e=od()-1;e<=0?document.body.removeAttribute(Us):document.body.setAttribute(Us,e.toString())}},[])},_b=function(e){var t=e.noRelative,n=e.noImportant,s=e.gapMode,r=s===void 0?"margin":s;Sb();var i=g.useMemo(function(){return xb(r)},[r]);return g.createElement(bb,{styles:wb(i,!t,r,n?"":"!important")})},tc=!1;if(typeof window<"u")try{var zi=Object.defineProperty({},"passive",{get:function(){return tc=!0,!0}});window.addEventListener("test",zi,zi),window.removeEventListener("test",zi,zi)}catch{tc=!1}var js=tc?{passive:!1}:!1,Cb=function(e){return e.tagName==="TEXTAREA"},rp=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Cb(e)&&n[t]==="visible")},Eb=function(e){return rp(e,"overflowY")},Tb=function(e){return rp(e,"overflowX")},ad=function(e,t){var n=t.ownerDocument,s=t;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var r=ip(e,s);if(r){var i=op(e,s),o=i[1],a=i[2];if(o>a)return!0}s=s.parentNode}while(s&&s!==n.body);return!1},Ab=function(e){var t=e.scrollTop,n=e.scrollHeight,s=e.clientHeight;return[t,n,s]},Rb=function(e){var t=e.scrollLeft,n=e.scrollWidth,s=e.clientWidth;return[t,n,s]},ip=function(e,t){return e==="v"?Eb(t):Tb(t)},op=function(e,t){return e==="v"?Ab(t):Rb(t)},Pb=function(e,t){return e==="h"&&t==="rtl"?-1:1},Nb=function(e,t,n,s,r){var i=Pb(e,window.getComputedStyle(t).direction),o=i*s,a=n.target,c=t.contains(a),l=!1,u=o>0,d=0,h=0;do{var y=op(e,a),m=y[0],p=y[1],v=y[2],x=p-v-i*m;(m||x)&&ip(e,a)&&(d+=x,h+=m),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(u&&Math.abs(d)<1||!u&&Math.abs(h)<1)&&(l=!0),l},Wi=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},cd=function(e){return[e.deltaX,e.deltaY]},ld=function(e){return e&&"current"in e?e.current:e},jb=function(e,t){return e[0]===t[0]&&e[1]===t[1]},kb=function(e){return`
2025-05-29 15:18:08 +00:00
.block-interactivity-`.concat(e,` {pointer-events: none;}
.allow-interactivity-`).concat(e,` {pointer-events: all;}
2025-06-11 05:58:22 +00:00
`)},Ob=0,ks=[];function Mb(e){var t=g.useRef([]),n=g.useRef([0,0]),s=g.useRef(),r=g.useState(Ob++)[0],i=g.useState(sp)[0],o=g.useRef(e);g.useEffect(function(){o.current=e},[e]),g.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var p=tb([e.lockRef.current],(e.shards||[]).map(ld),!0).filter(Boolean);return p.forEach(function(v){return v.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),p.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var a=g.useCallback(function(p,v){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!o.current.allowPinchZoom;var x=Wi(p),b=n.current,w="deltaX"in p?p.deltaX:b[0]-x[0],_="deltaY"in p?p.deltaY:b[1]-x[1],S,A=p.target,E=Math.abs(w)>Math.abs(_)?"h":"v";if("touches"in p&&E==="h"&&A.type==="range")return!1;var R=ad(E,A);if(!R)return!0;if(R?S=E:(S=E==="v"?"h":"v",R=ad(E,A)),!R)return!1;if(!s.current&&"changedTouches"in p&&(w||_)&&(s.current=S),!S)return!0;var N=s.current||S;return Nb(N,v,p,N==="h"?w:_)},[]),c=g.useCallback(function(p){var v=p;if(!(!ks.length||ks[ks.length-1]!==i)){var x="deltaY"in v?cd(v):Wi(v),b=t.current.filter(function(S){return S.name===v.type&&(S.target===v.target||v.target===S.shadowParent)&&jb(S.delta,x)})[0];if(b&&b.should){v.cancelable&&v.preventDefault();return}if(!b){var w=(o.current.shards||[]).map(ld).filter(Boolean).filter(function(S){return S.contains(v.target)}),_=w.length>0?a(v,w[0]):!o.current.noIsolation;_&&v.cancelable&&v.preventDefault()}}},[]),l=g.useCallback(function(p,v,x,b){var w={name:p,delta:v,target:x,should:b,shadowParent:Db(x)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(_){return _!==w})},1)},[]),u=g.useCallback(function(p){n.current=Wi(p),s.current=void 0},[]),d=g.useCallback(function(p){l(p.type,cd(p),p.target,a(p,e.lockRef.current))},[]),h=g.useCallback(function(p){l(p.type,Wi(p),p.target,a(p,e.lockRef.current))},[]);g.useEffect(function(){return ks.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",c,js),document.addEventListener("touchmove",c,js),document.addEventListener("touchstart",u,js),function(){ks=ks.filter(function(p){return p!==i}),document.removeEventListener("wheel",c,js),document.removeEventListener("touchmove",c,js),document.removeEventListener("touchstart",u,js)}},[]);var y=e.removeScrollBar,m=e.inert;return g.createElement(g.Fragment,null,m?g.createElement(i,{styles:kb(r)}):null,y?g.createElement(_b,{gapMode:e.gapMode}):null)}function Db(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Ib=ub(np,Mb);var gl=g.forwardRef(function(e,t){return g.createElement(Wo,en({},e,{ref:t,sideCar:Ib}))});gl.classNames=Wo.classNames;var Lb=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Os=new WeakMap,Hi=new WeakMap,qi={},Ta=0,ap=function(e){return e&&(e.host||ap(e.parentNode))},Fb=function(e,t){return t.map(function(n){if(e.contains(n))return n;var s=ap(n);return s&&e.contains(s)?s:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Vb=function(e,t,n,s){var r=Fb(t,Array.isArray(e)?e:[e]);qi[n]||(qi[n]=new WeakMap);var i=qi[n],o=[],a=new Set,c=new Set(r),l=function(d){!d||a.has(d)||(a.add(d),l(d.parentNode))};r.forEach(l);var u=function(d){!d||c.has(d)||Array.prototype.forEach.call(d.children,function(h){if(a.has(h))u(h);else try{var y=h.getAttribute(s),m=y!==null&&y!=="false",p=(Os.get(h)||0)+1,v=(i.get(h)||0)+1;Os.set(h,p),i.set(h,v),o.push(h),p===1&&m&&Hi.set(h,!0),v===1&&h.setAttribute(n,"true"),m||h.setAttribute(s,"true")}catch(x){console.error("aria-hidden: cannot operate on ",h,x)}})};return u(t),a.clear(),Ta++,function(){o.forEach(function(d){var h=Os.get(d)-1,y=i.get(d)-1;Os.set(d,h),i.set(d,y),h||(Hi.has(d)||d.removeAttribute(s),Hi.delete(d)),y||d.remo
2025-05-29 15:18:08 +00:00
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
2025-06-11 05:58:22 +00:00
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return g.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},qb="DialogDescriptionWarning",Zb=({contentRef:e,descriptionId:t})=>{const s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Cp(qb).contentName}}.`;return g.useEffect(()=>{var i;const r=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(s))},[s,e,t]),null},Ep=up,Tp=fp,Ap=pp,Ho=mp,qo=gp,Zo=vp,Ko=bp,wl=Sp;function Rp(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=Rp(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function Pp(){for(var e,t,n=0,s="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=Rp(e))&&(s&&(s+=" "),s+=t);return s}const ud=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,dd=Pp,Go=(e,t)=>n=>{var s;if((t==null?void 0:t.variants)==null)return dd(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:i}=t,o=Object.keys(r).map(l=>{const u=n==null?void 0:n[l],d=i==null?void 0:i[l];if(u===null)return null;const h=ud(u)||ud(d);return r[l][h]}),a=n&&Object.entries(n).reduce((l,u)=>{let[d,h]=u;return h===void 0||(l[d]=h),l},{}),c=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((l,u)=>{let{class:d,className:h,...y}=u;return Object.entries(y).every(m=>{let[p,v]=m;return Array.isArray(v)?v.includes({...i,...a}[p]):{...i,...a}[p]===v})?[...l,d,h]:l},[]);return dd(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const Kb=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Np=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim();/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/var Gb={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const Qb=g.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:r="",children:i,iconNode:o,...a},c)=>g.createElement("svg",{ref:c,...Gb,width:t,height:t,stroke:e,strokeWidth:s?Number(n)*24/Number(t):n,className:Np("lucide",r),...a},[...o.map(([l,u])=>g.createElement(l,u)),...Array.isArray(i)?i:[i]]));/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const St=(e,t)=>{const n=g.forwardRef(({className:s,...r},i)=>g.createElement(Qb,{ref:i,iconNode:t,className:Np(`lucide-${Kb(e)}`,s),...r}));return n.displayName=`${e}`,n};/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const Xb=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Yb=St("ArrowRight",Xb);/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const Jb=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],ew=St("ArrowUpRight",Jb);/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const tw=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],nw=St("ChevronDown",tw);/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const sw=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],nc=St("ChevronLeft",sw);/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const rw=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],jp=St("ChevronRight",rw);/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const iw=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],ow=St("Facebook",iw);/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const aw=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],kp=St("LoaderCircle",aw);/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const cw=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],_k=St("Loader",cw);/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const lw=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],uw=St("MapPin",lw);/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const dw=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],Ck=St("Play",dw);/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const fw=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],hw=St("Smartphone",fw);/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const pw=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]],mw=St("Upload",pw);/**
2025-05-29 15:18:08 +00:00
* @license lucide-react v0.473.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
2025-06-11 05:58:22 +00:00
*/const gw=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Sl=St("X",gw),_l="-",yw=e=>{const t=xw(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:o=>{const a=o.split(_l);return a[0]===""&&a.length!==1&&a.shift(),Op(a,t)||vw(o)},getConflictingClassGroupIds:(o,a)=>{const c=n[o]||[];return a&&s[o]?[...c,...s[o]]:c}}},Op=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],s=t.nextPart.get(n),r=s?Op(e.slice(1),s):void 0;if(r)return r;if(t.validators.length===0)return;const i=e.join(_l);return(o=t.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},fd=/^\[(.+)\]$/,vw=e=>{if(fd.test(e)){const t=fd.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},xw=e=>{const{theme:t,prefix:n}=e,s={nextPart:new Map,validators:[]};return ww(Object.entries(e.classGroups),n).forEach(([i,o])=>{sc(o,s,i,t)}),s},sc=(e,t,n,s)=>{e.forEach(r=>{if(typeof r=="string"){const i=r===""?t:hd(t,r);i.classGroupId=n;return}if(typeof r=="function"){if(bw(r)){sc(r(s),t,n,s);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([i,o])=>{sc(o,hd(t,i),n,s)})})},hd=(e,t)=>{let n=e;return t.split(_l).forEach(s=>{n.nextPart.has(s)||n.nextPart.set(s,{nextPart:new Map,validators:[]}),n=n.nextPart.get(s)}),n},bw=e=>e.isThemeGetter,ww=(e,t)=>t?e.map(([n,s])=>{const r=s.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,a])=>[t+o,a])):i);return[n,r]}):e,Sw=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,s=new Map;const r=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,s=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=s.get(i))!==void 0)return r(i,o),o},set(i,o){n.has(i)?n.set(i,o):r(i,o)}}},Mp="!",_w=e=>{const{separator:t,experimentalParseClassName:n}=e,s=t.length===1,r=t[0],i=t.length,o=a=>{const c=[];let l=0,u=0,d;for(let v=0;v<a.length;v++){let x=a[v];if(l===0){if(x===r&&(s||a.slice(v,v+i)===t)){c.push(a.slice(u,v)),u=v+i;continue}if(x==="/"){d=v;continue}}x==="["?l++:x==="]"&&l--}const h=c.length===0?a:a.substring(u),y=h.startsWith(Mp),m=y?h.substring(1):h,p=d&&d>u?d-u:void 0;return{modifiers:c,hasImportantModifier:y,baseClassName:m,maybePostfixModifierPosition:p}};return n?a=>n({className:a,parseClassName:o}):o},Cw=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(s=>{s[0]==="["?(t.push(...n.sort(),s),n=[]):n.push(s)}),t.push(...n.sort()),t},Ew=e=>({cache:Sw(e.cacheSize),parseClassName:_w(e),...yw(e)}),Tw=/\s+/,Aw=(e,t)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:r}=t,i=[],o=e.trim().split(Tw);let a="";for(let c=o.length-1;c>=0;c-=1){const l=o[c],{modifiers:u,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:y}=n(l);let m=!!y,p=s(m?h.substring(0,y):h);if(!p){if(!m){a=l+(a.length>0?" "+a:a);continue}if(p=s(h),!p){a=l+(a.length>0?" "+a:a);continue}m=!1}const v=Cw(u).join(":"),x=d?v+Mp:v,b=x+p;if(i.includes(b))continue;i.push(b);const w=r(p,m);for(let _=0;_<w.length;++_){const S=w[_];i.push(x+S)}a=l+(a.length>0?" "+a:a)}return a};function Rw(){let e=0,t,n,s="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Dp(t))&&(s&&(s+=" "),s+=n);return s}const Dp=e=>{if(typeof e=="string")return e;let t,n="";for(let s=0;s<e.length;s++)e[s]&&(t=Dp(e[s]))&&(n&&(n+=" "),n+=t);return n};function Pw(e,...t){let n,s,r,i=o;function o(c){const l=t.reduce((u,d)=>d(u),e());return n=Ew(l),s=n.cache.get,r=n.cache.set,i=a,a(c)}function a(c){const l=s(c);if(l)return l;const u=Aw(c,n);return r(c,u),u}return function(){return i(Rw.apply(null,arguments))}}const _e=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Ip=/^\[(?:([a-z-]+):)?(.+)\]$/i,Nw=/^\d+\/\d+$/,jw=new Set(["px","full","screen"]),kw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ow=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Mw=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Dw=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Iw=/^(url|image|image-set|cross-fade
2025-05-29 15:18:08 +00:00
[data-motion-pop-id="${s}"] {
position: absolute !important;
width: ${a}px !important;
height: ${c}px !important;
${h}px !important;
top: ${l}px !important;
}
2025-06-11 05:58:22 +00:00
`),()=>{document.head.removeChild(y)}},[t]),f.jsx(w0,{isPresent:t,childRef:r,sizeRef:i,children:g.cloneElement(e,{ref:r})})}const _0=({children:e,initial:t,isPresent:n,onExitComplete:s,custom:r,presenceAffectsLayout:i,mode:o,anchorX:a})=>{const c=El(C0),l=g.useId(),u=g.useCallback(h=>{c.set(h,!0);for(const y of c.values())if(!y)return;s&&s()},[c,s]),d=g.useMemo(()=>({id:l,initial:t,isPresent:n,custom:r,onExitComplete:u,register:h=>(c.set(h,!1),()=>c.delete(h))}),i?[Math.random(),u]:[n,u]);return g.useMemo(()=>{c.forEach((h,y)=>c.set(y,!1))},[n]),g.useEffect(()=>{!n&&!c.size&&s&&s()},[n]),o==="popLayout"&&(e=f.jsx(S0,{isPresent:n,anchorX:a,children:e})),f.jsx(Qo.Provider,{value:d,children:e})};function C0(){return new Map}function Zp(e=!0){const t=g.useContext(Qo);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:s,register:r}=t,i=g.useId();g.useEffect(()=>{e&&r(i)},[e]);const o=g.useCallback(()=>e&&s&&s(i),[i,s,e]);return!n&&s?[!1,o]:[!0]}const Zi=e=>e.key||"";function gd(e){const t=[];return g.Children.forEach(e,n=>{g.isValidElement(n)&&t.push(n)}),t}const Al=typeof window<"u",Kp=Al?g.useLayoutEffect:g.useEffect,Tk=({children:e,custom:t,initial:n=!0,onExitComplete:s,presenceAffectsLayout:r=!0,mode:i="sync",propagate:o=!1,anchorX:a="left"})=>{const[c,l]=Zp(o),u=g.useMemo(()=>gd(e),[e]),d=o&&!c?[]:u.map(Zi),h=g.useRef(!0),y=g.useRef(u),m=El(()=>new Map),[p,v]=g.useState(u),[x,b]=g.useState(u);Kp(()=>{h.current=!1,y.current=u;for(let S=0;S<x.length;S++){const A=Zi(x[S]);d.includes(A)?m.delete(A):m.get(A)!==!0&&m.set(A,!1)}},[x,d.length,d.join("-")]);const w=[];if(u!==p){let S=[...u];for(let A=0;A<x.length;A++){const E=x[A],R=Zi(E);d.includes(R)||(S.splice(A,0,E),w.push(E))}i==="wait"&&w.length&&(S=w),b(gd(S)),v(u);return}const{forceRender:_}=g.useContext(Cl);return f.jsx(f.Fragment,{children:x.map(S=>{const A=Zi(S),E=o&&!c?!1:u===x||d.includes(A),R=()=>{if(m.has(A))m.set(A,!0);else return;let N=!0;m.forEach(M=>{M||(N=!1)}),N&&(_==null||_(),b(y.current),o&&(l==null||l()),s&&s())};return f.jsx(_0,{isPresent:E,initial:!h.current||n?void 0:!1,custom:E?void 0:t,presenceAffectsLayout:r,mode:i,onExitComplete:E?void 0:R,anchorX:a,children:S},A)})})},vt=e=>e;let ac=vt;const E0={skipAnimations:!1,useManualTiming:!1};function T0(e){let t=new Set,n=new Set,s=!1,r=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(l){i.has(l)&&(c.schedule(l),e()),l(o)}const c={schedule:(l,u=!1,d=!1)=>{const y=d&&s?t:n;return u&&i.add(l),y.has(l)||y.add(l),l},cancel:l=>{n.delete(l),i.delete(l)},process:l=>{if(o=l,s){r=!0;return}s=!0,[t,n]=[n,t],t.forEach(a),t.clear(),s=!1,r&&(r=!1,c.process(l))}};return c}const Ki=["read","resolveKeyframes","update","preRender","render","postRender"],A0=40;function Gp(e,t){let n=!1,s=!0;const r={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=Ki.reduce((x,b)=>(x[b]=T0(i),x),{}),{read:a,resolveKeyframes:c,update:l,preRender:u,render:d,postRender:h}=o,y=()=>{const x=performance.now();n=!1,r.delta=s?1e3/60:Math.max(Math.min(x-r.timestamp,A0),1),r.timestamp=x,r.isProcessing=!0,a.process(r),c.process(r),l.process(r),u.process(r),d.process(r),h.process(r),r.isProcessing=!1,n&&t&&(s=!1,e(y))},m=()=>{n=!0,s=!0,r.isProcessing||e(y)};return{schedule:Ki.reduce((x,b)=>{const w=o[b];return x[b]=(_,S=!1,A=!1)=>(n||m(),w.schedule(_,S,A)),x},{}),cancel:x=>{for(let b=0;b<Ki.length;b++)o[Ki[b]].cancel(x)},state:r,steps:o}}const{schedule:Ee,cancel:$n,state:We,steps:Ra}=Gp(typeof requestAnimationFrame<"u"?requestAnimationFrame:vt,!0),Qp=g.createContext({strict:!1}),yd={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},or={};for(const e in yd)or[e]={isEnabled:t=>yd[e].some(n=>!!t[n])};function R0(e){for(const t in e)or[t]={...or[t],..
`).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!n||t[n]&&dN[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},lh=Symbol("internals");function Or(e){return e&&String(e).trim().toLowerCase()}function uo(e){return e===!1||e==null?e:j.isArray(e)?e.map(uo):String(e)}function hN(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const pN=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ga(e,t,n,s,r){if(j.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!j.isString(t)){if(j.isString(s))return t.indexOf(s)!==-1;if(j.isRegExp(s))return s.test(t)}}function mN(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function gN(e,t){const n=j.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,i,o){return this[s].call(this,t,r,i,o)},configurable:!0})})}class ft{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function i(a,c,l){const u=Or(c);if(!u)throw new Error("header name must be a non-empty string");const d=j.findKey(r,u);(!d||r[d]===void 0||l===!0||l===void 0&&r[d]!==!1)&&(r[d||c]=uo(a))}const o=(a,c)=>j.forEach(a,(l,u)=>i(l,u,c));if(j.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(j.isString(t)&&(t=t.trim())&&!pN(t))o(fN(t),n);else if(j.isHeaders(t))for(const[a,c]of t.entries())i(c,a,s);else t!=null&&i(n,t,s);return this}get(t,n){if(t=Or(t),t){const s=j.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return hN(r);if(j.isFunction(n))return n.call(this,r,s);if(j.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Or(t),t){const s=j.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||Ga(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function i(o){if(o=Or(o),o){const a=j.findKey(s,o);a&&(!n||Ga(s,s[a],a,n))&&(delete s[a],r=!0)}}return j.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const i=n[s];(!t||Ga(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,s={};return j.forEach(this,(r,i)=>{const o=j.findKey(s,i);if(o){n[o]=uo(r),delete n[i];return}const a=t?mN(i):String(i).trim();a!==i&&delete n[i],n[a]=uo(r),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return j.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&j.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}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[lh]=this[lh]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=Or(o);s[a]||(gN(r,o),s[a]=!0)}return j.isArray(t)?t.forEach(i):i(t),this}}ft.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(ft.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});j.freezeMethods(ft);function Qa(e,t){const n=this||Di,s=t||n,r=ft.from(s.headers);let i=s.data;return j.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function rv(e){return!!(e&&e.__CANCEL__)}function Cr(e,t,n){ie.call(this,e??"canceled",ie.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(Cr,ie,{__CANCEL__:!0});function iv(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 yN(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function vN(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,h=0;for(;d!==r;)h+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),l-o<t)return;const y=u&&l-u;return y?Math.round(h*1e3/y):void 0}}function xN(e,t){let n=0,s=1e3/t,r,i;const o=(l,u=Date.now())=>{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 Lo=(e,t,n=3)=>{let s=0;const r=vN(50,250);return xN(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)},uh=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},dh=e=>(...t)=>j.asap(()=>e(...t)),bN=Xe.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Xe.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Xe.origin),Xe.navigator&&/(msie|trident)/i.test(Xe.navigator.userAgent)):()=>!0,wN=Xe.hasStandardBrowserEnv?{write(e,t,n,s,r,i){const o=[e+"="+encodeURIComponent(t)];j.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),j.isString(s)&&o.push("path="+s),j.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 SN(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function _N(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ov(e,t){return e&&!SN(t)?_N(e,t):t}const fh=e=>e instanceof ft?{...e}:e;function Es(e,t){t=t||{};const n={};function s(l,u,d,h){return j.isPlainObject(l)&&j.isPlainObject(u)?j.merge.call({caseless:h},l,u):j.isPlainObject(u)?j.merge({},u):j.isArray(u)?u.slice():u}function r(l,u,d,h){if(j.isUndefined(u)){if(!j.isUndefined(l))return s(void 0,l,d,h)}else return s(l,u,d,h)}function i(l,u){if(!j.isUndefined(u))return s(void 0,u)}function o(l,u){if(j.isUndefined(u)){if(!j.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
`+i.map(mh).join(`
`):" "+mh(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:Fc};function Xa(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Cr(null,e)}function gh(e){return Xa(e),e.headers=ft.from(e.headers),e.data=Qa.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),uv.getAdapter(e.adapter||Di.adapter)(e).then(function(s){return Xa(e),s.data=Qa.call(e,e.transformResponse,s),s.headers=ft.from(s.headers),s},function(s){return rv(s)||(Xa(e),s&&s.response&&(s.response.data=Qa.call(e,e.transformResponse,s.response),s.response.headers=ft.from(s.response.headers))),Promise.reject(s)})}const dv="1.7.9",pa={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{pa[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const yh={};pa.transitional=function(t,n,s){function r(i,o){return"[Axios v"+dv+"] 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&&!yh[o]&&(yh[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}};pa.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function IN(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 fo={assertOptions:IN,validators:pa},Kt=fo.validators;class vs{constructor(t){this.defaults=t,this.interceptors={request:new ch,response:new ch}}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=Es(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&fo.assertOptions(s,{silentJSONParsing:Kt.transitional(Kt.boolean),forcedJSONParsing:Kt.transitional(Kt.boolean),clarifyTimeoutError:Kt.transitional(Kt.boolean)},!1),r!=null&&(j.isFunction(r)?n.paramsSerializer={serialize:r}:fo.assertOptions(r,{encode:Kt.function,serialize:Kt.function},!0)),fo.assertOptions(n,{baseUrl:Kt.spelling("baseURL"),withXsrfToken:Kt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&j.merge(i.common,i[n.method]);i&&j.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(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(c=c&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const l=[];this.interceptors.response.forEach(function(p){l.push(p.fulfilled,p.rejected)});let u,d=0,h;if(!c){const m=[gh.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,l),h=m.length,u=Promise.resolve(n);d<h;)u=u.then(m[d++],m[d++]);return u}h=a.length;let y=n;for(d=0;d<h;){const m=a[d++],p=a[d++];try{y=m(y)}catch(v){p.call(this,v);break}}try{u=gh.call(this,y)}catch(m){return Promise.reject(m)}for(d=0,h=l.length;d<h;)u=u.then(l[d++],l[d++]);return u}getUri(t){t=Es(this.defaults,t);const n=ov(t.baseURL,t.url);return tv(n,t.params,t.paramsSerializer)}}j.forEach(["delete","get","head","options"],function(t){vs.prototype[t]=function(n,s){return this.request(Es(s||{},{method:t,url:n,data:(s||{}).data}))}});j.forEach(["post","put","patch"],function(t){function n(s){return function(i,o,a){return this.request(Es(a||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}vs.prototype[t]=n(),vs.prototype[t+"Form"]=n(!0)});class Au{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const s=this;this.promise.then(r=>{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 Cr(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 Au(function(r){t=r}),cancel:t}}}function LN(e){return function(n){return e.apply(null,n)}}function FN(e){return j.isObject(e)&&e.isAxiosError===!0}const Vc={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,VariantA
2025-05-29 15:18:08 +00:00
Участники смогут продемонстрировать свои инновационные решения, наладить взаимовыгодные партнерства и выйти на новые рынки.`,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:`
2025-06-11 05:58:22 +00:00
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"}]}],fx=()=>{const e=Te(s=>s.lang),{data:t,isPending:n}=Tn({queryKey:["industries",e],queryFn:()=>zN(e),select:({data:s})=>s.data});return{data:t,isPending:n}},Zk=({className:e})=>{const t=Te(r=>r.lang),{data:n,isPending:s}=fx();return f.jsx("section",{className:V("relative w-full bg-[#FDEDEE] -z-10 py-10",e),children:f.jsx(qe,{children:s?f.jsx(Yn,{}):f.jsxs(f.Fragment,{children:[f.jsx("h3",{className:"h2 mb-4",children:ll[gt(t)].title}),f.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:n==null?void 0:n.map((r,i)=>f.jsx(Hp,{...r},i))}),f.jsxs("div",{className:"flex items-center gap-3 mt-8 text-on_surface_v text-lg",children:[f.jsx("div",{className:"md:w-1 w-4 md:h-[38px] h-40 bg-teritary_08"}),f.jsx("p",{className:"text-18",children:ll[gt(t)].bottom_text})]})]})})})},hx=[{title:"Время выставки",data:[{name:"Монтаж выставки",date:"12 Мая 10 Июня 2025 года"},{name:"Работа",date:"1113 Июня 2025 года"},{name:"Демонтаж",date:"1314 Июня 2025 года"}]},{title:"Exhibition time",data:[{name:"Exhibition assembly",date:"12 May — 10 June 2025"},{name:"Exhibition days",date:"1113 June 2025"},{name:"Exhibition dismantling",date:"1314 June 2025"}]}],px=()=>{const e=Te(s=>s.lang),{data:t,isPending:n}=Tn({queryKey:["exhibiton-time",e],queryFn:()=>WN(e),select:({data:s})=>s.data});return{data:t,isPending:n}},Kk=({className:e})=>{const t=Te(r=>r.lang),{data:n,isPending:s}=px();return f.jsx("section",{className:V("bg-surface_container py-10 md:py-20",e),children:f.jsx(qe,{children:s?f.jsx(Yn,{}):f.jsxs(f.Fragment,{children:[f.jsx("h2",{className:"h2 mb-6",children:hx[gt(t)].title}),f.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:n==null?void 0:n.map((r,i)=>g.createElement(qp,{bottomClassName:"!bg-white rounded-b-[2px]",...r,key:i,className:"w-full"}))})]})})})},Lh=[{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."]}],Gk=({className:e})=>{const t=Te(n=>n.lang);return f.jsx("section",{className:V("gap-6 relative overflow-hidden",e),children:f.jsxs(qe,{className:"md:py-2
2025-05-29 15:18:08 +00:00
Наша миссия укрепить позиции Туркменистана как ключевого центра текстильной и модной индустрии.
`,p_2:`Выставка станет платформой для изучения устойчивых практик, современных технологий и дизайнерских решений, вдохновляя на развитие индустрии.
«Turkmentextile Expo-2025» это платформа, соединяющий традиции и инновации, производителей и потребителей, Туркменистан и весь мир!`,data:[{nums:"10,000 m²",text:"Выставочной площади"},{nums:"10000+",text:"Ожидаемых посетителей "},{nums:"100+",text:"Экспонентов из более чем 30 стран"},{nums:"80%",text:"Участников топ-менеджмента"}],button:"Подробнее о выставке"},{h2:"TurkmenTextile Expo-2025 in Ashgabat",p:`An international exhibition will unite global industry leaders, innovative manufacturers, and creative designers.
Our mission is to strengthen Turkmenistan's position as a key hub for the textile and fashion industry.
2025-06-11 05:58:22 +00:00
`,p_2:"The exhibition will serve as a platform to explore sustainable practices, modern technologies, and design solutions, inspiring the development of the industry.",data:[{nums:"10,000 m²",text:"Exhibition area"},{nums:"10000+",text:"Expected visitors "},{nums:"100+",text:"Exhibitors from over 30 countries"},{nums:"80%",text:"Participants are top-management"}],button:"More about the exhibition"}],hk=()=>{const e=Te(s=>s.lang),{data:t,isPending:n}=Tn({queryKey:["stats",e],queryFn:()=>$N(e),select:({data:s})=>s.data});return{data:t,isPending:n}},eO=()=>{var c,l;const[e]=En(),t=Te(u=>u.lang),{data:n,isPending:s}=mx("1"),{data:r}=hk(),i=(c=n==null?void 0:n.find(u=>u.key==="index_1"))==null?void 0:c.text,o=(l=n==null?void 0:n.find(u=>u.key==="index_2"))==null?void 0:l.text,a=gt(t);return s?f.jsx(Yn,{}):f.jsx("section",{className:"py-20",children:f.jsxs(qe,{className:"flex flex-col gap-6",children:[f.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 items-center",children:[f.jsxs("div",{className:"flex flex-col gap-6",children:[f.jsx("h2",{className:"h2 text-left",children:i}),f.jsx("div",{dangerouslySetInnerHTML:{__html:o||""},className:"md:text-base flex flex-col gap-6 text-sm normal text-left text-[#454545]"}),f.jsx(Ce,{to:"/about",className:"w-fit",children:f.jsx(ot,{variant:"outline",children:fk[a].button})})]}),f.jsx("video",{src:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/video/Textile2025.mp4",muted:!0,controls:!0,autoPlay:!0,loop:!0,className:"w-full h-auto"})]}),f.jsx("div",{ref:e,className:"embla overflow-hidden",children:f.jsx("div",{className:"flex embla__container items-center gap-6",children:r==null?void 0:r.map(u=>f.jsx(v0,{...u,className:"embla__slide flex-[0_0_288px]"},u.text))})})]})})},tO=()=>{const e=Te(s=>s.lang),{data:t,isPending:n}=fx();return n?f.jsx(Yn,{}):f.jsx("section",{className:"",children:f.jsxs(qe,{children:[f.jsx("h2",{className:"h2 mb-10 text-center",children:ll[gt(e)].title}),f.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:t==null?void 0:t.map((s,r)=>f.jsx(Hp,{...s},r))})]})})},pk=[{data:[{img:"/offer-1.png",title:"Гостиницы, трансфер, визы",btnText:"Скачать путеводитель",text:"По вопросам размещения в гостиницах, визовой поддержки, транспортного и экскурсионного обслуживания Вы можете ознакомиться с путеводителем",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_ru.pdf"},{img:"/offer-2.png",title:"Ознакомьтесь с планом выставки TurkmenTextile Expo 2025",btnText:"Скачать план выставки",text:"Как выбрать лучшее место на выставке? Вы всегда должны помнить, что удачное расположение выставочной экспозиции повышает Ваши шансы привлечь внимание Ваших потенциальных клиентов",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf"}]},{data:[{img:"/offer-2.png",title:"Hotels, transfer, visas;",btnText:"Download Travel Guide",text:"For inquiries regarding hotel accommodations, visa support, transportation, and tour services, please refer to the travel guide;",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_eng.pdf"},{img:"/offer-2.png",title:"Explore “TurkmenTextile Expo-2025” plan;",btnText:"Download exhibition plan.",text:"How to choose the best location at the exhibition? A prime spot increases your chances to attract potential clients;",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf"}]}],nO=()=>{const[e,t]=En({align:"start"}),[n,s]=g.useState(0),r=Te(o=>o.lang),i=g.useCallback(o=>{t&&t.scrollTo(o)},[t]);return g.useEffect(()=>{if(!t)return;const o=()=>{s(t.selectedScrollSnap())};return t.on("select",o