droplinked-editor-configs 1.9.12 → 1.9.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -62459,11 +62459,11 @@ const xI = ({ links: e, linkTextClass: t, isDynamic: r = !1, textColorParagraphs
62459
62459
  const { shopDesign: { foreground: t } } = st(), r = (n) => ZLe.find(
62460
62460
  (o) => o.key.replace("URL", "").toLowerCase() === n.toLowerCase()
62461
62461
  );
62462
- return /* @__PURE__ */ p.jsx("div", { className: "flex flex-wrap gap-2", children: (e ?? []).filter((n) => !!n.links?.url && !!n.links?.channel).map((n, o) => {
62462
+ return /* @__PURE__ */ p.jsx("div", { className: "flex flex-wrap gap-2", children: (e ?? []).filter((n) => !!n.links?.channel).map((n, o) => {
62463
62463
  const { channel: i, url: s } = n.links, a = r(i);
62464
62464
  if (!a) return null;
62465
62465
  const l = a.icon;
62466
- let c = s;
62466
+ let c = s || "";
62467
62467
  return V7(c) ? c = F6(c) : c = `${a.link}${c.replace(/^\//, "")}`, /* @__PURE__ */ p.jsx(
62468
62468
  "a",
62469
62469
  {
@@ -510,7 +510,7 @@ list should be an Array.`),A.length===0)return new y(0);if(A.length===1)return A
510
510
  * This source code is licensed under the ISC license.
511
511
  * See the LICENSE file in the root directory of this source tree.
512
512
  *)
513
- */const yIe=xh();function Je(){const e=yIe(r=>r.appState.data.shopDefaultData.shopDesign);return{isDarkTheme:b8(e.backgroundBody),shopDesign:e}}const C4=e=>({secondaryText:e?"#7B7B7B":"#B1B1B1",dotColor:e?"#292929":"#DEDEDE",chipBackground:e?"#1C1C1C":"#F9F9F9",chipBorder:e?"#292929":"#F2f2f2",chipText:e?"#fff":"#000",tableOfContentBorderColor:e?"#141414":"#F2F2F2"}),bIe=e=>(e instanceof Date?e:new Date(e)).toLocaleDateString("en-US",{month:"short",day:"2-digit",year:"numeric"}),xIe=({category:e,updatedAt:t,isDarkTheme:r})=>{const{secondaryText:n,dotColor:o}=C4(r),s=bIe(t);return p.jsxs("div",{className:"flex items-center text-sm text-gray-600",children:[e&&p.jsxs("div",{className:"flex items-center min-w-0 flex-shrink overflow-hidden",children:[p.jsx(ct,{className:"font-medium text-system-link truncate",children:e}),p.jsx("div",{className:"mx-2 w-1 h-1 rounded-full flex-shrink-0",style:{background:o}})]}),p.jsx(ct,{className:"whitespace-nowrap flex-shrink-0",style:{color:n},children:s})]})},wIe=({title:e,isFeatured:t})=>{const r=t?"text-xl sm:text-2xl md:text-[28px] font-bold line-clamp-2 overflow-hidden":"text-base sm:text-lg font-bold line-clamp-1 sm:line-clamp-2 overflow-hidden";return p.jsx(ct,{className:r,children:e})},CIe=({summary:e,isFeatured:t,summaryColor:r})=>{const n=t?"line-clamp-2 sm:line-clamp-3":"line-clamp-1 sm:line-clamp-2",o=t?"text-sm md:text-base":"text-xs md:text-sm";return p.jsx(ct,{className:`${o} ${n} overflow-hidden`,style:{color:r},children:e})},hq=({tag:e,isDarkTheme:t,variant:r="pill",className:n=""})=>{const{chipBackground:o,chipBorder:s,chipText:i}=C4(t),a=r==="pill"?"rounded-full px-3 py-1 text-xs":"rounded-[4px] w-max px-3 py-1 text-xs";return p.jsx(ct,{className:`${a} select-none ${n}`,style:{backgroundColor:o,border:`1px solid ${s}`,color:i},children:e})},kIe=({tag:e,isDarkTheme:t})=>p.jsx(hq,{tag:e,isDarkTheme:t,variant:"pill"}),SIe=({count:e,isDarkTheme:t,direction:r})=>e<=0?null:p.jsx(hq,{tag:`+${e}`,isDarkTheme:t,className:r==="row"?"hidden sm:inline-block":""}),_Ie=({tags:e,visibleTagsCount:t,isDarkTheme:r,direction:n})=>{if(!e||e.length===0)return null;const o=e.slice(0,t),s=e.length>t?e.length-t:0;return p.jsxs("div",{className:"flex flex-wrap gap-2 mt-auto",children:[o.map((i,a)=>p.jsx(kIe,{tag:i,isDarkTheme:r},a)),p.jsx(SIe,{count:s,isDarkTheme:r,direction:n})]})},EIe=({category:e,updatedAt:t,title:r,summary:n,tags:o,isFeatured:s,direction:i,isDarkTheme:a,visibleTagsCount:l})=>{const{secondaryText:c}=C4(a),u=i==="row"?"md:w-1/2 md:pl-6 w-full":"w-full";return p.jsxs("div",{className:`${u} flex-1 flex flex-col gap-2 p-4`,children:[p.jsx(xIe,{category:e,updatedAt:t,isDarkTheme:a}),p.jsx(wIe,{title:r,isFeatured:s}),p.jsx(CIe,{summary:n,isFeatured:s,summaryColor:c}),p.jsx(_Ie,{tags:o,visibleTagsCount:l,isDarkTheme:a,direction:i})]})},PIe=({image:e,title:t,isFeatured:r,direction:n})=>{const o=r?"h-[196px] sm:h-[280px] md:h-[320px] lg:h-[356px] xl:h-[472px]":n==="row"?"md:h-full h-[220px]":"h-[220px]",s=n==="row"?"w-full md:w-1/2":"w-full";return p.jsx("div",{"data-testid":"blog-image-wrapper",className:`${s} ${o} overflow-hidden`,children:p.jsx("img",{src:e,alt:t,className:`w-full h-full object-cover ${r?"rounded-t-lg":""}`})})};function TIe(){const[e,t]=g.useState(4);return g.useEffect(()=>{const r=()=>{const n=window.innerWidth;n<1024?t(1):n<1280?t(2):t(3)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]),e}function DIe(e){const{shopDesign:{foreground:t},isDarkTheme:r}=Je(),n=TIe(),{image:o,category:s,updatedAt:i,title:a,summary:l,tags:c,isFeatured:u,direction:d,slug:f}=e,h=d==="column"?u?"h-auto":"h-auto md:h-[450px]":"";return p.jsx("div",{className:`overflow-hidden rounded-lg ${h}`,style:{backgroundColor:d==="row"||u?t:"transparent",border:d==="row"||u?"unset":`1px solid ${t}`},children:p.jsxs("div",{className:`flex h-full flex-col ${d==="row"&&"md:flex-row h-auto md:h-[186px] lg:h-[226px]"}`,children:[p.jsx(PIe,{image:o,title:a,isFeatured:u,direction:d}),p.jsx(EIe,{category:s,updatedAt:i,title:a,summary:l,tags:c,isFeatured:u,direction:d,isDarkTheme:r,visibleTagsCount:n})]})})}function jn({children:e,props:t,mini:r}){return p.jsx(xe,{width:{base:"90%",md:"90%"},maxWidth:r?"700px":"100%",...t,children:e})}const mq=window.location.hostname==="localhost"||window.location.hostname.startsWith("dev."),MIe=mq?"https://apiv3dev.droplinked.com":"https://apiv3.droplinked.com",v1=Gt.create({baseURL:MIe,headers:{"Content-Type":"application/json"}}),gq=e=>v1.get(`blogs/public/shops/${e}`).then(t=>t.data),vq=g.createContext(null),In=()=>{const e=g.useContext(vq);if(!e)throw new Error("useAppStoreContext must be used within an AppStoreProvider");return e};function yq({appStoreData:e,children:t}){return p.jsx(vq.Provider,{value:e,children:t})}var Ch=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(n){var o=this,s=n||function(){};return this.listeners.push(s),this.onSubscribe(),function(){o.listeners=o.listeners.filter(function(i){return i!==s}),o.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}(),y1=typeof window>"u";function Jr(){}function OIe(e,t){return typeof e=="function"?e(t):e}function k4(e){return typeof e=="number"&&e>=0&&e!==1/0}function b1(e){return Array.isArray(e)?e:[e]}function bq(e,t){return Math.max(e+(t||0)-Date.now(),0)}function kh(e,t,r){return C1(e)?typeof t=="function"?Ke({},r,{queryKey:e,queryFn:t}):Ke({},t,{queryKey:e}):e}function pa(e,t,r){return C1(e)?[Ke({},t,{queryKey:e}),r]:[e||{},t]}function AIe(e,t){if(e===!0&&t===!0||e==null&&t==null)return"all";if(e===!1&&t===!1)return"none";var r=e??!t;return r?"active":"inactive"}function xq(e,t){var r=e.active,n=e.exact,o=e.fetching,s=e.inactive,i=e.predicate,a=e.queryKey,l=e.stale;if(C1(a)){if(n){if(t.queryHash!==S4(a,t.options))return!1}else if(!x1(t.queryKey,a))return!1}var c=AIe(r,s);if(c==="none")return!1;if(c!=="all"){var u=t.isActive();if(c==="active"&&!u||c==="inactive"&&u)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||typeof o=="boolean"&&t.isFetching()!==o||i&&!i(t))}function wq(e,t){var r=e.exact,n=e.fetching,o=e.predicate,s=e.mutationKey;if(C1(s)){if(!t.options.mutationKey)return!1;if(r){if(Cl(t.options.mutationKey)!==Cl(s))return!1}else if(!x1(t.options.mutationKey,s))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||o&&!o(t))}function S4(e,t){var r=t?.queryKeyHashFn||Cl;return r(e)}function Cl(e){var t=b1(e);return jIe(t)}function jIe(e){return JSON.stringify(e,function(t,r){return _4(r)?Object.keys(r).sort().reduce(function(n,o){return n[o]=r[o],n},{}):r})}function x1(e,t){return Cq(b1(e),b1(t))}function Cq(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(function(r){return!Cq(e[r],t[r])}):!1}function w1(e,t){if(e===t)return e;var r=Array.isArray(e)&&Array.isArray(t);if(r||_4(e)&&_4(t)){for(var n=r?e.length:Object.keys(e).length,o=r?t:Object.keys(t),s=o.length,i=r?[]:{},a=0,l=0;l<s;l++){var c=r?l:o[l];i[c]=w1(e[c],t[c]),i[c]===e[c]&&a++}return n===s&&a===n?e:i}return t}function IIe(e,t){if(e&&!t||t&&!e)return!1;for(var r in e)if(e[r]!==t[r])return!1;return!0}function _4(e){if(!kq(e))return!1;var t=e.constructor;if(typeof t>"u")return!0;var r=t.prototype;return!(!kq(r)||!r.hasOwnProperty("isPrototypeOf"))}function kq(e){return Object.prototype.toString.call(e)==="[object Object]"}function C1(e){return typeof e=="string"||Array.isArray(e)}function $Ie(e){return new Promise(function(t){setTimeout(t,e)})}function Sq(e){Promise.resolve().then(e).catch(function(t){return setTimeout(function(){throw t})})}function _q(){if(typeof AbortController=="function")return new AbortController}var LIe=function(e){Ni(t,e);function t(){var n;return n=e.call(this)||this,n.setup=function(o){var s;if(!y1&&((s=window)!=null&&s.addEventListener)){var i=function(){return o()};return window.addEventListener("visibilitychange",i,!1),window.addEventListener("focus",i,!1),function(){window.removeEventListener("visibilitychange",i),window.removeEventListener("focus",i)}}},n}var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){if(!this.hasListeners()){var o;(o=this.cleanup)==null||o.call(this),this.cleanup=void 0}},r.setEventListener=function(o){var s,i=this;this.setup=o,(s=this.cleanup)==null||s.call(this),this.cleanup=o(function(a){typeof a=="boolean"?i.setFocused(a):i.onFocus()})},r.setFocused=function(o){this.focused=o,o&&this.onFocus()},r.onFocus=function(){this.listeners.forEach(function(o){o()})},r.isFocused=function(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)},t}(Ch),Sh=new LIe,FIe=function(e){Ni(t,e);function t(){var n;return n=e.call(this)||this,n.setup=function(o){var s;if(!y1&&((s=window)!=null&&s.addEventListener)){var i=function(){return o()};return window.addEventListener("online",i,!1),window.addEventListener("offline",i,!1),function(){window.removeEventListener("online",i),window.removeEventListener("offline",i)}}},n}var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){if(!this.hasListeners()){var o;(o=this.cleanup)==null||o.call(this),this.cleanup=void 0}},r.setEventListener=function(o){var s,i=this;this.setup=o,(s=this.cleanup)==null||s.call(this),this.cleanup=o(function(a){typeof a=="boolean"?i.setOnline(a):i.onOnline()})},r.setOnline=function(o){this.online=o,o&&this.onOnline()},r.onOnline=function(){this.listeners.forEach(function(o){o()})},r.isOnline=function(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine},t}(Ch),k1=new FIe;function NIe(e){return Math.min(1e3*Math.pow(2,e),3e4)}function S1(e){return typeof e?.cancel=="function"}var Eq=function(t){this.revert=t?.revert,this.silent=t?.silent};function _1(e){return e instanceof Eq}var Pq=function(t){var r=this,n=!1,o,s,i,a;this.abort=t.abort,this.cancel=function(f){return o?.(f)},this.cancelRetry=function(){n=!0},this.continueRetry=function(){n=!1},this.continue=function(){return s?.()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(f,h){i=f,a=h});var l=function(h){r.isResolved||(r.isResolved=!0,t.onSuccess==null||t.onSuccess(h),s?.(),i(h))},c=function(h){r.isResolved||(r.isResolved=!0,t.onError==null||t.onError(h),s?.(),a(h))},u=function(){return new Promise(function(h){s=h,r.isPaused=!0,t.onPause==null||t.onPause()}).then(function(){s=void 0,r.isPaused=!1,t.onContinue==null||t.onContinue()})},d=function f(){if(!r.isResolved){var h;try{h=t.fn()}catch(m){h=Promise.reject(m)}o=function(v){if(!r.isResolved&&(c(new Eq(v)),r.abort==null||r.abort(),S1(h)))try{h.cancel()}catch{}},r.isTransportCancelable=S1(h),Promise.resolve(h).then(l).catch(function(m){var v,y;if(!r.isResolved){var b=(v=t.retry)!=null?v:3,x=(y=t.retryDelay)!=null?y:NIe,w=typeof x=="function"?x(r.failureCount,m):x,k=b===!0||typeof b=="number"&&r.failureCount<b||typeof b=="function"&&b(r.failureCount,m);if(n||!k){c(m);return}r.failureCount++,t.onFail==null||t.onFail(r.failureCount,m),$Ie(w).then(function(){if(!Sh.isFocused()||!k1.isOnline())return u()}).then(function(){n?c(m):f()})}})}};d()},RIe=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(r){r()},this.batchNotifyFn=function(r){r()}}var t=e.prototype;return t.batch=function(n){var o;this.transactions++;try{o=n()}finally{this.transactions--,this.transactions||this.flush()}return o},t.schedule=function(n){var o=this;this.transactions?this.queue.push(n):Sq(function(){o.notifyFn(n)})},t.batchCalls=function(n){var o=this;return function(){for(var s=arguments.length,i=new Array(s),a=0;a<s;a++)i[a]=arguments[a];o.schedule(function(){n.apply(void 0,i)})}},t.flush=function(){var n=this,o=this.queue;this.queue=[],o.length&&Sq(function(){n.batchNotifyFn(function(){o.forEach(function(s){n.notifyFn(s)})})})},t.setNotifyFunction=function(n){this.notifyFn=n},t.setBatchNotifyFunction=function(n){this.batchNotifyFn=n},e}(),nr=new RIe,Tq=console;function E1(){return Tq}function BIe(e){Tq=e}var VIe=function(){function e(r){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=r.defaultOptions,this.setOptions(r.options),this.observers=[],this.cache=r.cache,this.queryKey=r.queryKey,this.queryHash=r.queryHash,this.initialState=r.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=r.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(n){var o;this.options=Ke({},this.defaultOptions,n),this.meta=n?.meta,this.cacheTime=Math.max(this.cacheTime||0,(o=this.options.cacheTime)!=null?o:300*1e3)},t.setDefaultOptions=function(n){this.defaultOptions=n},t.scheduleGc=function(){var n=this;this.clearGcTimeout(),k4(this.cacheTime)&&(this.gcTimeout=setTimeout(function(){n.optionalRemove()},this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(n,o){var s,i,a=this.state.data,l=OIe(n,a);return(s=(i=this.options).isDataEqual)!=null&&s.call(i,a,l)?l=a:this.options.structuralSharing!==!1&&(l=w1(a,l)),this.dispatch({data:l,type:"success",dataUpdatedAt:o?.updatedAt}),l},t.setState=function(n,o){this.dispatch({type:"setState",state:n,setStateOptions:o})},t.cancel=function(n){var o,s=this.promise;return(o=this.retryer)==null||o.cancel(n),s?s.then(Jr).catch(Jr):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some(function(n){return n.options.enabled!==!1})},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(function(n){return n.getCurrentResult().isStale})},t.isStaleByTime=function(n){return n===void 0&&(n=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!bq(this.state.dataUpdatedAt,n)},t.onFocus=function(){var n,o=this.observers.find(function(s){return s.shouldFetchOnWindowFocus()});o&&o.refetch(),(n=this.retryer)==null||n.continue()},t.onOnline=function(){var n,o=this.observers.find(function(s){return s.shouldFetchOnReconnect()});o&&o.refetch(),(n=this.retryer)==null||n.continue()},t.addObserver=function(n){this.observers.indexOf(n)===-1&&(this.observers.push(n),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:n}))},t.removeObserver=function(n){this.observers.indexOf(n)!==-1&&(this.observers=this.observers.filter(function(o){return o!==n}),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:n}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(n,o){var s=this,i,a,l;if(this.state.isFetching){if(this.state.dataUpdatedAt&&o?.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var c;return(c=this.retryer)==null||c.continueRetry(),this.promise}}if(n&&this.setOptions(n),!this.options.queryFn){var u=this.observers.find(function(x){return x.options.queryFn});u&&this.setOptions(u.options)}var d=b1(this.queryKey),f=_q(),h={queryKey:d,pageParam:void 0,meta:this.meta};Object.defineProperty(h,"signal",{enumerable:!0,get:function(){if(f)return s.abortSignalConsumed=!0,f.signal}});var m=function(){return s.options.queryFn?(s.abortSignalConsumed=!1,s.options.queryFn(h)):Promise.reject("Missing queryFn")},v={fetchOptions:o,options:this.options,queryKey:d,state:this.state,fetchFn:m,meta:this.meta};if((i=this.options.behavior)!=null&&i.onFetch){var y;(y=this.options.behavior)==null||y.onFetch(v)}if(this.revertState=this.state,!this.state.isFetching||this.state.fetchMeta!==((a=v.fetchOptions)==null?void 0:a.meta)){var b;this.dispatch({type:"fetch",meta:(b=v.fetchOptions)==null?void 0:b.meta})}return this.retryer=new Pq({fn:v.fetchFn,abort:f==null||(l=f.abort)==null?void 0:l.bind(f),onSuccess:function(w){s.setData(w),s.cache.config.onSuccess==null||s.cache.config.onSuccess(w,s),s.cacheTime===0&&s.optionalRemove()},onError:function(w){_1(w)&&w.silent||s.dispatch({type:"error",error:w}),_1(w)||(s.cache.config.onError==null||s.cache.config.onError(w,s),E1().error(w)),s.cacheTime===0&&s.optionalRemove()},onFail:function(){s.dispatch({type:"failed"})},onPause:function(){s.dispatch({type:"pause"})},onContinue:function(){s.dispatch({type:"continue"})},retry:v.options.retry,retryDelay:v.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(n){var o=this;this.state=this.reducer(this.state,n),nr.batch(function(){o.observers.forEach(function(s){s.onQueryUpdate(n)}),o.cache.notify({query:o,type:"queryUpdated",action:n})})},t.getDefaultState=function(n){var o=typeof n.initialData=="function"?n.initialData():n.initialData,s=typeof n.initialData<"u",i=s?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0,a=typeof o<"u";return{data:o,dataUpdateCount:0,dataUpdatedAt:a?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:a?"success":"idle"}},t.reducer=function(n,o){var s,i;switch(o.type){case"failed":return Ke({},n,{fetchFailureCount:n.fetchFailureCount+1});case"pause":return Ke({},n,{isPaused:!0});case"continue":return Ke({},n,{isPaused:!1});case"fetch":return Ke({},n,{fetchFailureCount:0,fetchMeta:(s=o.meta)!=null?s:null,isFetching:!0,isPaused:!1},!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return Ke({},n,{data:o.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:(i=o.dataUpdatedAt)!=null?i:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var a=o.error;return _1(a)&&a.revert&&this.revertState?Ke({},this.revertState):Ke({},n,{error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return Ke({},n,{isInvalidated:!0});case"setState":return Ke({},n,o.state);default:return n}},e}(),zIe=function(e){Ni(t,e);function t(n){var o;return o=e.call(this)||this,o.config=n||{},o.queries=[],o.queriesMap={},o}var r=t.prototype;return r.build=function(o,s,i){var a,l=s.queryKey,c=(a=s.queryHash)!=null?a:S4(l,s),u=this.get(c);return u||(u=new VIe({cache:this,queryKey:l,queryHash:c,options:o.defaultQueryOptions(s),state:i,defaultOptions:o.getQueryDefaults(l),meta:s.meta}),this.add(u)),u},r.add=function(o){this.queriesMap[o.queryHash]||(this.queriesMap[o.queryHash]=o,this.queries.push(o),this.notify({type:"queryAdded",query:o}))},r.remove=function(o){var s=this.queriesMap[o.queryHash];s&&(o.destroy(),this.queries=this.queries.filter(function(i){return i!==o}),s===o&&delete this.queriesMap[o.queryHash],this.notify({type:"queryRemoved",query:o}))},r.clear=function(){var o=this;nr.batch(function(){o.queries.forEach(function(s){o.remove(s)})})},r.get=function(o){return this.queriesMap[o]},r.getAll=function(){return this.queries},r.find=function(o,s){var i=pa(o,s),a=i[0];return typeof a.exact>"u"&&(a.exact=!0),this.queries.find(function(l){return xq(a,l)})},r.findAll=function(o,s){var i=pa(o,s),a=i[0];return Object.keys(a).length>0?this.queries.filter(function(l){return xq(a,l)}):this.queries},r.notify=function(o){var s=this;nr.batch(function(){s.listeners.forEach(function(i){i(o)})})},r.onFocus=function(){var o=this;nr.batch(function(){o.queries.forEach(function(s){s.onFocus()})})},r.onOnline=function(){var o=this;nr.batch(function(){o.queries.forEach(function(s){s.onOnline()})})},t}(Ch),HIe=function(){function e(r){this.options=Ke({},r.defaultOptions,r.options),this.mutationId=r.mutationId,this.mutationCache=r.mutationCache,this.observers=[],this.state=r.state||WIe(),this.meta=r.meta}var t=e.prototype;return t.setState=function(n){this.dispatch({type:"setState",state:n})},t.addObserver=function(n){this.observers.indexOf(n)===-1&&this.observers.push(n)},t.removeObserver=function(n){this.observers=this.observers.filter(function(o){return o!==n})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(Jr).catch(Jr)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var n=this,o,s=this.state.status==="loading",i=Promise.resolve();return s||(this.dispatch({type:"loading",variables:this.options.variables}),i=i.then(function(){n.mutationCache.config.onMutate==null||n.mutationCache.config.onMutate(n.state.variables,n)}).then(function(){return n.options.onMutate==null?void 0:n.options.onMutate(n.state.variables)}).then(function(a){a!==n.state.context&&n.dispatch({type:"loading",context:a,variables:n.state.variables})})),i.then(function(){return n.executeMutation()}).then(function(a){o=a,n.mutationCache.config.onSuccess==null||n.mutationCache.config.onSuccess(o,n.state.variables,n.state.context,n)}).then(function(){return n.options.onSuccess==null?void 0:n.options.onSuccess(o,n.state.variables,n.state.context)}).then(function(){return n.options.onSettled==null?void 0:n.options.onSettled(o,null,n.state.variables,n.state.context)}).then(function(){return n.dispatch({type:"success",data:o}),o}).catch(function(a){return n.mutationCache.config.onError==null||n.mutationCache.config.onError(a,n.state.variables,n.state.context,n),E1().error(a),Promise.resolve().then(function(){return n.options.onError==null?void 0:n.options.onError(a,n.state.variables,n.state.context)}).then(function(){return n.options.onSettled==null?void 0:n.options.onSettled(void 0,a,n.state.variables,n.state.context)}).then(function(){throw n.dispatch({type:"error",error:a}),a})})},t.executeMutation=function(){var n=this,o;return this.retryer=new Pq({fn:function(){return n.options.mutationFn?n.options.mutationFn(n.state.variables):Promise.reject("No mutationFn found")},onFail:function(){n.dispatch({type:"failed"})},onPause:function(){n.dispatch({type:"pause"})},onContinue:function(){n.dispatch({type:"continue"})},retry:(o=this.options.retry)!=null?o:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(n){var o=this;this.state=UIe(this.state,n),nr.batch(function(){o.observers.forEach(function(s){s.onMutationUpdate(n)}),o.mutationCache.notify(o)})},e}();function WIe(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function UIe(e,t){switch(t.type){case"failed":return Ke({},e,{failureCount:e.failureCount+1});case"pause":return Ke({},e,{isPaused:!0});case"continue":return Ke({},e,{isPaused:!1});case"loading":return Ke({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return Ke({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return Ke({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return Ke({},e,t.state);default:return e}}var qIe=function(e){Ni(t,e);function t(n){var o;return o=e.call(this)||this,o.config=n||{},o.mutations=[],o.mutationId=0,o}var r=t.prototype;return r.build=function(o,s,i){var a=new HIe({mutationCache:this,mutationId:++this.mutationId,options:o.defaultMutationOptions(s),state:i,defaultOptions:s.mutationKey?o.getMutationDefaults(s.mutationKey):void 0,meta:s.meta});return this.add(a),a},r.add=function(o){this.mutations.push(o),this.notify(o)},r.remove=function(o){this.mutations=this.mutations.filter(function(s){return s!==o}),o.cancel(),this.notify(o)},r.clear=function(){var o=this;nr.batch(function(){o.mutations.forEach(function(s){o.remove(s)})})},r.getAll=function(){return this.mutations},r.find=function(o){return typeof o.exact>"u"&&(o.exact=!0),this.mutations.find(function(s){return wq(o,s)})},r.findAll=function(o){return this.mutations.filter(function(s){return wq(o,s)})},r.notify=function(o){var s=this;nr.batch(function(){s.listeners.forEach(function(i){i(o)})})},r.onFocus=function(){this.resumePausedMutations()},r.onOnline=function(){this.resumePausedMutations()},r.resumePausedMutations=function(){var o=this.mutations.filter(function(s){return s.state.isPaused});return nr.batch(function(){return o.reduce(function(s,i){return s.then(function(){return i.continue().catch(Jr)})},Promise.resolve())})},t}(Ch);function E4(){return{onFetch:function(t){t.fetchFn=function(){var r,n,o,s,i,a,l=(r=t.fetchOptions)==null||(n=r.meta)==null?void 0:n.refetchPage,c=(o=t.fetchOptions)==null||(s=o.meta)==null?void 0:s.fetchMore,u=c?.pageParam,d=c?.direction==="forward",f=c?.direction==="backward",h=((i=t.state.data)==null?void 0:i.pages)||[],m=((a=t.state.data)==null?void 0:a.pageParams)||[],v=_q(),y=v?.signal,b=m,x=!1,w=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},k=function($,W,L,F){return b=F?[W].concat(b):[].concat(b,[W]),F?[L].concat($):[].concat($,[L])},_=function($,W,L,F){if(x)return Promise.reject("Cancelled");if(typeof L>"u"&&!W&&$.length)return Promise.resolve($);var U={queryKey:t.queryKey,signal:y,pageParam:L,meta:t.meta},K=w(U),j=Promise.resolve(K).then(function(J){return k($,L,J,F)});if(S1(K)){var z=j;z.cancel=K.cancel}return j},E;if(!h.length)E=_([]);else if(d){var T=typeof u<"u",C=T?u:P4(t.options,h);E=_(h,T,C)}else if(f){var P=typeof u<"u",S=P?u:Dq(t.options,h);E=_(h,P,S,!0)}else(function(){b=[];var R=typeof t.options.getNextPageParam>"u",$=l&&h[0]?l(h[0],0,h):!0;E=$?_([],R,m[0]):Promise.resolve(k([],m[0],h[0]));for(var W=function(U){E=E.then(function(K){var j=l&&h[U]?l(h[U],U,h):!0;if(j){var z=R?m[U]:P4(t.options,K);return _(K,R,z)}return Promise.resolve(k(K,m[U],h[U]))})},L=1;L<h.length;L++)W(L)})();var M=E.then(function(R){return{pages:R,pageParams:b}}),O=M;return O.cancel=function(){x=!0,v?.abort(),S1(E)&&E.cancel()},M}}}}function P4(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function Dq(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}function YIe(e,t){if(e.getNextPageParam&&Array.isArray(t)){var r=P4(e,t);return typeof r<"u"&&r!==null&&r!==!1}}function GIe(e,t){if(e.getPreviousPageParam&&Array.isArray(t)){var r=Dq(e,t);return typeof r<"u"&&r!==null&&r!==!1}}var Mq=function(){function e(r){r===void 0&&(r={}),this.queryCache=r.queryCache||new zIe,this.mutationCache=r.mutationCache||new qIe,this.defaultOptions=r.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var n=this;this.unsubscribeFocus=Sh.subscribe(function(){Sh.isFocused()&&k1.isOnline()&&(n.mutationCache.onFocus(),n.queryCache.onFocus())}),this.unsubscribeOnline=k1.subscribe(function(){Sh.isFocused()&&k1.isOnline()&&(n.mutationCache.onOnline(),n.queryCache.onOnline())})},t.unmount=function(){var n,o;(n=this.unsubscribeFocus)==null||n.call(this),(o=this.unsubscribeOnline)==null||o.call(this)},t.isFetching=function(n,o){var s=pa(n,o),i=s[0];return i.fetching=!0,this.queryCache.findAll(i).length},t.isMutating=function(n){return this.mutationCache.findAll(Ke({},n,{fetching:!0})).length},t.getQueryData=function(n,o){var s;return(s=this.queryCache.find(n,o))==null?void 0:s.state.data},t.getQueriesData=function(n){return this.getQueryCache().findAll(n).map(function(o){var s=o.queryKey,i=o.state,a=i.data;return[s,a]})},t.setQueryData=function(n,o,s){var i=kh(n),a=this.defaultQueryOptions(i);return this.queryCache.build(this,a).setData(o,s)},t.setQueriesData=function(n,o,s){var i=this;return nr.batch(function(){return i.getQueryCache().findAll(n).map(function(a){var l=a.queryKey;return[l,i.setQueryData(l,o,s)]})})},t.getQueryState=function(n,o){var s;return(s=this.queryCache.find(n,o))==null?void 0:s.state},t.removeQueries=function(n,o){var s=pa(n,o),i=s[0],a=this.queryCache;nr.batch(function(){a.findAll(i).forEach(function(l){a.remove(l)})})},t.resetQueries=function(n,o,s){var i=this,a=pa(n,o,s),l=a[0],c=a[1],u=this.queryCache,d=Ke({},l,{active:!0});return nr.batch(function(){return u.findAll(l).forEach(function(f){f.reset()}),i.refetchQueries(d,c)})},t.cancelQueries=function(n,o,s){var i=this,a=pa(n,o,s),l=a[0],c=a[1],u=c===void 0?{}:c;typeof u.revert>"u"&&(u.revert=!0);var d=nr.batch(function(){return i.queryCache.findAll(l).map(function(f){return f.cancel(u)})});return Promise.all(d).then(Jr).catch(Jr)},t.invalidateQueries=function(n,o,s){var i,a,l,c=this,u=pa(n,o,s),d=u[0],f=u[1],h=Ke({},d,{active:(i=(a=d.refetchActive)!=null?a:d.active)!=null?i:!0,inactive:(l=d.refetchInactive)!=null?l:!1});return nr.batch(function(){return c.queryCache.findAll(d).forEach(function(m){m.invalidate()}),c.refetchQueries(h,f)})},t.refetchQueries=function(n,o,s){var i=this,a=pa(n,o,s),l=a[0],c=a[1],u=nr.batch(function(){return i.queryCache.findAll(l).map(function(f){return f.fetch(void 0,Ke({},c,{meta:{refetchPage:l?.refetchPage}}))})}),d=Promise.all(u).then(Jr);return c?.throwOnError||(d=d.catch(Jr)),d},t.fetchQuery=function(n,o,s){var i=kh(n,o,s),a=this.defaultQueryOptions(i);typeof a.retry>"u"&&(a.retry=!1);var l=this.queryCache.build(this,a);return l.isStaleByTime(a.staleTime)?l.fetch(a):Promise.resolve(l.state.data)},t.prefetchQuery=function(n,o,s){return this.fetchQuery(n,o,s).then(Jr).catch(Jr)},t.fetchInfiniteQuery=function(n,o,s){var i=kh(n,o,s);return i.behavior=E4(),this.fetchQuery(i)},t.prefetchInfiniteQuery=function(n,o,s){return this.fetchInfiniteQuery(n,o,s).then(Jr).catch(Jr)},t.cancelMutations=function(){var n=this,o=nr.batch(function(){return n.mutationCache.getAll().map(function(s){return s.cancel()})});return Promise.all(o).then(Jr).catch(Jr)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(n){return this.mutationCache.build(this,n).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(n){this.defaultOptions=n},t.setQueryDefaults=function(n,o){var s=this.queryDefaults.find(function(i){return Cl(n)===Cl(i.queryKey)});s?s.defaultOptions=o:this.queryDefaults.push({queryKey:n,defaultOptions:o})},t.getQueryDefaults=function(n){var o;return n?(o=this.queryDefaults.find(function(s){return x1(n,s.queryKey)}))==null?void 0:o.defaultOptions:void 0},t.setMutationDefaults=function(n,o){var s=this.mutationDefaults.find(function(i){return Cl(n)===Cl(i.mutationKey)});s?s.defaultOptions=o:this.mutationDefaults.push({mutationKey:n,defaultOptions:o})},t.getMutationDefaults=function(n){var o;return n?(o=this.mutationDefaults.find(function(s){return x1(n,s.mutationKey)}))==null?void 0:o.defaultOptions:void 0},t.defaultQueryOptions=function(n){if(n?._defaulted)return n;var o=Ke({},this.defaultOptions.queries,this.getQueryDefaults(n?.queryKey),n,{_defaulted:!0});return!o.queryHash&&o.queryKey&&(o.queryHash=S4(o.queryKey,o)),o},t.defaultQueryObserverOptions=function(n){return this.defaultQueryOptions(n)},t.defaultMutationOptions=function(n){return n?._defaulted?n:Ke({},this.defaultOptions.mutations,this.getMutationDefaults(n?.mutationKey),n,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),Oq=function(e){Ni(t,e);function t(n,o){var s;return s=e.call(this)||this,s.client=n,s.options=o,s.trackedProps=[],s.selectError=null,s.bindMethods(),s.setOptions(o),s}var r=t.prototype;return r.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},r.onSubscribe=function(){this.listeners.length===1&&(this.currentQuery.addObserver(this),Aq(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},r.onUnsubscribe=function(){this.listeners.length||this.destroy()},r.shouldFetchOnReconnect=function(){return T4(this.currentQuery,this.options,this.options.refetchOnReconnect)},r.shouldFetchOnWindowFocus=function(){return T4(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},r.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},r.setOptions=function(o,s){var i=this.options,a=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(o),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=i.queryKey),this.updateQuery();var l=this.hasListeners();l&&jq(this.currentQuery,a,this.options,i)&&this.executeFetch(),this.updateResult(s),l&&(this.currentQuery!==a||this.options.enabled!==i.enabled||this.options.staleTime!==i.staleTime)&&this.updateStaleTimeout();var c=this.computeRefetchInterval();l&&(this.currentQuery!==a||this.options.enabled!==i.enabled||c!==this.currentRefetchInterval)&&this.updateRefetchInterval(c)},r.getOptimisticResult=function(o){var s=this.client.defaultQueryObserverOptions(o),i=this.client.getQueryCache().build(this.client,s);return this.createResult(i,s)},r.getCurrentResult=function(){return this.currentResult},r.trackResult=function(o,s){var i=this,a={},l=function(u){i.trackedProps.includes(u)||i.trackedProps.push(u)};return Object.keys(o).forEach(function(c){Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:function(){return l(c),o[c]}})}),(s.useErrorBoundary||s.suspense)&&l("error"),a},r.getNextResult=function(o){var s=this;return new Promise(function(i,a){var l=s.subscribe(function(c){c.isFetching||(l(),c.isError&&o?.throwOnError?a(c.error):i(c))})})},r.getCurrentQuery=function(){return this.currentQuery},r.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},r.refetch=function(o){return this.fetch(Ke({},o,{meta:{refetchPage:o?.refetchPage}}))},r.fetchOptimistic=function(o){var s=this,i=this.client.defaultQueryObserverOptions(o),a=this.client.getQueryCache().build(this.client,i);return a.fetch().then(function(){return s.createResult(a,i)})},r.fetch=function(o){var s=this;return this.executeFetch(o).then(function(){return s.updateResult(),s.currentResult})},r.executeFetch=function(o){this.updateQuery();var s=this.currentQuery.fetch(this.options,o);return o?.throwOnError||(s=s.catch(Jr)),s},r.updateStaleTimeout=function(){var o=this;if(this.clearStaleTimeout(),!(y1||this.currentResult.isStale||!k4(this.options.staleTime))){var s=bq(this.currentResult.dataUpdatedAt,this.options.staleTime),i=s+1;this.staleTimeoutId=setTimeout(function(){o.currentResult.isStale||o.updateResult()},i)}},r.computeRefetchInterval=function(){var o;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(o=this.options.refetchInterval)!=null?o:!1},r.updateRefetchInterval=function(o){var s=this;this.clearRefetchInterval(),this.currentRefetchInterval=o,!(y1||this.options.enabled===!1||!k4(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(function(){(s.options.refetchIntervalInBackground||Sh.isFocused())&&s.executeFetch()},this.currentRefetchInterval))},r.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},r.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},r.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},r.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},r.createResult=function(o,s){var i=this.currentQuery,a=this.options,l=this.currentResult,c=this.currentResultState,u=this.currentResultOptions,d=o!==i,f=d?o.state:this.currentQueryInitialState,h=d?this.currentResult:this.previousQueryResult,m=o.state,v=m.dataUpdatedAt,y=m.error,b=m.errorUpdatedAt,x=m.isFetching,w=m.status,k=!1,_=!1,E;if(s.optimisticResults){var T=this.hasListeners(),C=!T&&Aq(o,s),P=T&&jq(o,i,s,a);(C||P)&&(x=!0,v||(w="loading"))}if(s.keepPreviousData&&!m.dataUpdateCount&&h?.isSuccess&&w!=="error")E=h.data,v=h.dataUpdatedAt,w=h.status,k=!0;else if(s.select&&typeof m.data<"u")if(l&&m.data===c?.data&&s.select===this.selectFn)E=this.selectResult;else try{this.selectFn=s.select,E=s.select(m.data),s.structuralSharing!==!1&&(E=w1(l?.data,E)),this.selectResult=E,this.selectError=null}catch(O){E1().error(O),this.selectError=O}else E=m.data;if(typeof s.placeholderData<"u"&&typeof E>"u"&&(w==="loading"||w==="idle")){var S;if(l?.isPlaceholderData&&s.placeholderData===u?.placeholderData)S=l.data;else if(S=typeof s.placeholderData=="function"?s.placeholderData():s.placeholderData,s.select&&typeof S<"u")try{S=s.select(S),s.structuralSharing!==!1&&(S=w1(l?.data,S)),this.selectError=null}catch(O){E1().error(O),this.selectError=O}typeof S<"u"&&(w="success",E=S,_=!0)}this.selectError&&(y=this.selectError,E=this.selectResult,b=Date.now(),w="error");var M={status:w,isLoading:w==="loading",isSuccess:w==="success",isError:w==="error",isIdle:w==="idle",data:E,dataUpdatedAt:v,error:y,errorUpdatedAt:b,failureCount:m.fetchFailureCount,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>f.dataUpdateCount||m.errorUpdateCount>f.errorUpdateCount,isFetching:x,isRefetching:x&&w!=="loading",isLoadingError:w==="error"&&m.dataUpdatedAt===0,isPlaceholderData:_,isPreviousData:k,isRefetchError:w==="error"&&m.dataUpdatedAt!==0,isStale:D4(o,s),refetch:this.refetch,remove:this.remove};return M},r.shouldNotifyListeners=function(o,s){if(!s)return!0;var i=this.options,a=i.notifyOnChangeProps,l=i.notifyOnChangePropsExclusions;if(!a&&!l||a==="tracked"&&!this.trackedProps.length)return!0;var c=a==="tracked"?this.trackedProps:a;return Object.keys(o).some(function(u){var d=u,f=o[d]!==s[d],h=c?.some(function(v){return v===u}),m=l?.some(function(v){return v===u});return f&&!m&&(!c||h)})},r.updateResult=function(o){var s=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!IIe(this.currentResult,s)){var i={cache:!0};o?.listeners!==!1&&this.shouldNotifyListeners(this.currentResult,s)&&(i.listeners=!0),this.notify(Ke({},i,o))}},r.updateQuery=function(){var o=this.client.getQueryCache().build(this.client,this.options);if(o!==this.currentQuery){var s=this.currentQuery;this.currentQuery=o,this.currentQueryInitialState=o.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(s?.removeObserver(this),o.addObserver(this))}},r.onQueryUpdate=function(o){var s={};o.type==="success"?s.onSuccess=!0:o.type==="error"&&!_1(o.error)&&(s.onError=!0),this.updateResult(s),this.hasListeners()&&this.updateTimers()},r.notify=function(o){var s=this;nr.batch(function(){o.onSuccess?(s.options.onSuccess==null||s.options.onSuccess(s.currentResult.data),s.options.onSettled==null||s.options.onSettled(s.currentResult.data,null)):o.onError&&(s.options.onError==null||s.options.onError(s.currentResult.error),s.options.onSettled==null||s.options.onSettled(void 0,s.currentResult.error)),o.listeners&&s.listeners.forEach(function(i){i(s.currentResult)}),o.cache&&s.client.getQueryCache().notify({query:s.currentQuery,type:"observerResultsUpdated"})})},t}(Ch);function KIe(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Aq(e,t){return KIe(e,t)||e.state.dataUpdatedAt>0&&T4(e,t,t.refetchOnMount)}function T4(e,t,r){if(t.enabled!==!1){var n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&D4(e,t)}return!1}function jq(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&D4(e,r)}function D4(e,t){return e.isStaleByTime(t.staleTime)}var QIe=function(e){Ni(t,e);function t(n,o){return e.call(this,n,o)||this}var r=t.prototype;return r.bindMethods=function(){e.prototype.bindMethods.call(this),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)},r.setOptions=function(o,s){e.prototype.setOptions.call(this,Ke({},o,{behavior:E4()}),s)},r.getOptimisticResult=function(o){return o.behavior=E4(),e.prototype.getOptimisticResult.call(this,o)},r.fetchNextPage=function(o){var s;return this.fetch({cancelRefetch:(s=o?.cancelRefetch)!=null?s:!0,throwOnError:o?.throwOnError,meta:{fetchMore:{direction:"forward",pageParam:o?.pageParam}}})},r.fetchPreviousPage=function(o){var s;return this.fetch({cancelRefetch:(s=o?.cancelRefetch)!=null?s:!0,throwOnError:o?.throwOnError,meta:{fetchMore:{direction:"backward",pageParam:o?.pageParam}}})},r.createResult=function(o,s){var i,a,l,c,u,d,f=o.state,h=e.prototype.createResult.call(this,o,s);return Ke({},h,{fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:YIe(s,(i=f.data)==null?void 0:i.pages),hasPreviousPage:GIe(s,(a=f.data)==null?void 0:a.pages),isFetchingNextPage:f.isFetching&&((l=f.fetchMeta)==null||(c=l.fetchMore)==null?void 0:c.direction)==="forward",isFetchingPreviousPage:f.isFetching&&((u=f.fetchMeta)==null||(d=u.fetchMore)==null?void 0:d.direction)==="backward"})},t}(Oq),ZIe=Eo.unstable_batchedUpdates;nr.setBatchNotifyFunction(ZIe);var XIe=console;BIe(XIe);var Iq=g.createContext(void 0),$q=g.createContext(!1);function Lq(e){return e&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Iq),window.ReactQueryClientContext):Iq}var JIe=function(){var t=g.useContext(Lq(g.useContext($q)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Fq=function(t){var r=t.client,n=t.contextSharing,o=n===void 0?!1:n,s=t.children;g.useEffect(function(){return r.mount(),function(){r.unmount()}},[r]);var i=Lq(o);return g.createElement($q.Provider,{value:o},g.createElement(i.Provider,{value:r},s))};function e$e(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var t$e=g.createContext(e$e()),r$e=function(){return g.useContext(t$e)};function n$e(e,t,r){return typeof t=="function"?t.apply(void 0,r):typeof t=="boolean"?t:!!e}function Nq(e,t){var r=g.useRef(!1),n=g.useState(0),o=n[1],s=JIe(),i=r$e(),a=s.defaultQueryObserverOptions(e);a.optimisticResults=!0,a.onError&&(a.onError=nr.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=nr.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=nr.batchCalls(a.onSettled)),a.suspense&&(typeof a.staleTime!="number"&&(a.staleTime=1e3),a.cacheTime===0&&(a.cacheTime=1)),(a.suspense||a.useErrorBoundary)&&(i.isReset()||(a.retryOnMount=!1));var l=g.useState(function(){return new t(s,a)}),c=l[0],u=c.getOptimisticResult(a);if(g.useEffect(function(){r.current=!0,i.clearReset();var d=c.subscribe(nr.batchCalls(function(){r.current&&o(function(f){return f+1})}));return c.updateResult(),function(){r.current=!1,d()}},[i,c]),g.useEffect(function(){c.setOptions(a,{listeners:!1})},[a,c]),a.suspense&&u.isLoading)throw c.fetchOptimistic(a).then(function(d){var f=d.data;a.onSuccess==null||a.onSuccess(f),a.onSettled==null||a.onSettled(f,null)}).catch(function(d){i.clearReset(),a.onError==null||a.onError(d),a.onSettled==null||a.onSettled(void 0,d)});if(u.isError&&!i.isReset()&&!u.isFetching&&n$e(a.suspense,a.useErrorBoundary,[u.error,c.getCurrentQuery()]))throw u.error;return a.notifyOnChangeProps==="tracked"&&(u=c.trackResult(u,a)),u}function Rq(e,t,r){var n=kh(e,t,r);return Nq(n,Oq)}function Bq(e,t,r){var n=kh(e,t,r);return Nq(n,QIe)}function o$e(){const{states:{shop:e}}=In(),{data:t,isFetching:r}=Rq({queryKey:"shop-blogs",queryFn:()=>gq(e.url),select(l){return{featured:l.data.featured,recent:l.data.recent}},refetchOnWindowFocus:!1}),{data:n,isFetchingNextPage:o,fetchNextPage:s,hasNextPage:i,isFetching:a}=Bq({queryKey:["more-to-discover-blogs",e.url],queryFn:({pageParam:l=1})=>gq(`${e.url}?page=${l}&limit=10`),getNextPageParam:l=>{const c=l.data.moreToDiscover;return c.hasNextPage?c.nextPage:void 0},select:l=>({pages:l.pages.flatMap(c=>c.data.moreToDiscover.data),pageParams:l.pageParams}),refetchOnWindowFocus:!1});return{featured:t?.featured||[],recent:t?.recent||[],moreToDiscover:{blogs:n?.pages||[],isFetching:a,isFetchingNextPage:o,fetchNextPage:s,hasNextPage:i},isFetching:r}}function s$e({className:e}){return p.jsx("div",{role:"status",children:p.jsxs("svg",{"aria-hidden":"true",className:Ye("w-5 h-5 animate-spin duration-300 text-shop-foreground fill-shop-textColor",e),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),p.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})})}const Vq=g.createContext(void 0);function M4({children:e,handleNavigate:t}){return p.jsx(Vq.Provider,{value:{handleNavigate:t},children:e})}function i$e(){const e=g.useContext(Vq);return e===void 0?{handleNavigate:t=>{window.location.href=t}}:e}const a$e=()=>{const{states:{shop:e}}=In();return{shopName:e.url}};function td(){const{handleNavigate:e}=i$e(),{shopName:t}=a$e(),n=window.location.pathname.includes("paylink"),o=a=>n?`/paylink/${a}`:zZ?`/${a}`:`/${t}/${a}`;return{shopNavigate:a=>{window.location.href=o(a)},generateRoute:o,navigate:a=>{const l=o(a);try{e?e(l):window.location.href=l}catch{window.location.href=l}}}}function l$e({text:e}){const{navigate:t}=td(),{moreToDiscover:r}=o$e();return p.jsx(jn,{props:{margin:"auto",paddingBlock:{base:6,md:"48px"}},children:r.isFetching&&!r.blogs.length?p.jsx("div",{className:"flex w-full items-center justify-center",children:p.jsx(s$e,{})}):p.jsxs("div",{className:"w-full",children:[p.jsxs("div",{className:"flex justify-between items-center mb-4",children:[p.jsx(ct,{className:"text-xl font-bold",children:e}),p.jsx(ct,{className:"text-sm font-bold text-text-link cursor-pointer",onClick:()=>t("blogs"),children:"All Blogs"})]}),!r.isFetching&&r.blogs.length===0?p.jsx(ct,{className:"text-center",children:"No blogs found"}):p.jsx("div",{className:"grid xl:grid-cols-4 md:grid-cols-3 grid-cols-1 lg:gap-6 gap-4",children:r.blogs.slice(0,4).map((n,o)=>p.jsx("div",{className:"px-1",children:p.jsx(DIe,{category:n.category,direction:"column",image:n.image,summary:n.searchEngineSummary,tags:n.tags,updatedAt:n.createdAt,title:n.title,slug:n.slug})},n.slug))})]})})}const c$e=dD({components:{Switch:ft(Ny.keys).defineMultiStyleConfig({baseStyle:ft(Ny.keys).definePartsStyle({container:{border:"none",outline:"none"},thumb:{backgroundColor:"neutral.black"},track:{backgroundColor:"neutral.gray.750",_checked:{bg:"main.primary"}}})}),Divider:{baseStyle:{margin:"0"}},FormLabel:{baseStyle:{margin:"0",width:"fit-content"}}},colors:{neutral:{white:"#ffffff",black:"#000000",background:"#141414",websiteBackground:"#0A0A0A",gray:{50:"#f9f9f9",100:"#f2f2f2",200:"#dedede",300:"#d6d6d6",400:"#c4c4c4",450:"#a3a3a3",500:"#878787",550:"#747474",600:"#616161",650:"#4f4f4f",700:"#3c3c3c",750:"#333333",800:"#292929",850:"#262626",900:"#222222",1e3:"#1c1c1c"}},main:{primary:"#2bcfa1",secondary:"#c5a3ff"},system:{success:"#2bcfa1",warning:"#ffd951",error:"#ff2244",link:"#179ef8"},text:{white:"#ffffff",black:"#000000",subtext:{placeholder:{light:"#b1b1b1",dark:"#7b7b7b"}},disabled:{light:"#bcbcbc",dark:"#4f4f4f"},primary:"#2bcfa1",secondary:"#c5a3ff",error:"#ff2244",link:"#179ef8"},button:{default:{primary:"#2bcfa1",secondary:"#292929"},hover:{transparent:"rgba(43, 206, 161, 0.1)",filled:"#06c295",secondary:"#333333"},pressed:{transparent:"rgba(43, 206, 161, 0.2)",filled:"#01b48a",secondary:"#3c3c3c"},disable:{light:"#f2f2f2",dark:"#262626"}},sonner:{success:"#004935",warning:"#B77B00",error:"#670010",link:"#003E68"},label:{normal:"rgba(0, 0, 0, 0.05)",primary:"rgba(43, 207, 161, 0.1)",secondary:"rgba(197, 163, 255, 0.15)",warning:"rgba(255, 217, 81, 0.1)",errorBackground:"rgba(255, 34, 68, 0.05)",errorStroke:"rgba(255, 34, 68, 0.15)",link:"rgba(23, 158, 248, 0.1)"}},breakpoints:{sm:"360px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1440px","3xl":"1920px"}});function en({children:e}){return p.jsx(Vx,{theme:c$e,children:e})}const zq={blogPosts:{label:"Blog Posts",hideLabel:!0,labelIcon:p.jsx(rs,{color:"#fff"}),visualExample:"https://upload-file-droplinked.s3.amazonaws.com/2d1ca942413757b04e5d9d8f451a913276f63484fdd3e5859eec04beabd33799_or.png",fields:{title:{type:"object",label:"Title",objectFields:{text:{type:"textarea"}}}},defaultProps:{title:{text:"Discover Our Latest Blogs!"}},render:({title:{text:e}})=>p.jsx(en,{children:p.jsx(l$e,{text:e})})}},Hq={imageWithText:{title:"Image With Text",components:["imageWithTextLtr","imageWithTextRtl"]}};function P1(){const{isDarkTheme:e}=Je();return e?"https://upload-file-droplinked.s3.amazonaws.com/b4b9c7da8f6a971de3a00086318f821b6db3b04f0f8b73e6118d79514a33c7a4_or.png":"https://upload-file-droplinked.s3.amazonaws.com/a2c47cc1ea7767a55b895e4104d29c856c9f2808ce69fccd5f2c02d895134c59_or.png"}const O4=()=>{const{isDarkTheme:e}=Je();return e?"text-text-subtextPlaceholder-Light":"text-text-subtextPlaceholder-Dark"},u$e=({color:e="black",...t})=>p.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:p.jsx("path",{d:"M16.9308 3.4629C15.6561 2.87799 14.2892 2.44707 12.8599 2.20025C12.8339 2.19549 12.8079 2.20739 12.7945 2.2312C12.6187 2.54388 12.4239 2.9518 12.2876 3.27242C10.7503 3.04228 9.22099 3.04228 7.71527 3.27242C7.57887 2.94467 7.37707 2.54388 7.20048 2.2312C7.18707 2.20819 7.16107 2.19629 7.13504 2.20025C5.70659 2.44628 4.33963 2.87721 3.06411 3.4629C3.05307 3.46766 3.04361 3.4756 3.03732 3.48591C0.444493 7.35954 -0.265792 11.138 0.0826501 14.8695C0.0842267 14.8878 0.0944749 14.9053 0.108665 14.9164C1.81934 16.1726 3.47642 16.9353 5.10273 17.4408C5.12876 17.4488 5.15634 17.4393 5.1729 17.4178C5.55761 16.8925 5.90054 16.3385 6.19456 15.756C6.21192 15.7219 6.19535 15.6814 6.15989 15.6679C5.61594 15.4616 5.098 15.21 4.59977 14.9243C4.56037 14.9013 4.55721 14.8449 4.59346 14.8179C4.69831 14.7394 4.80318 14.6576 4.9033 14.5751C4.92141 14.56 4.94665 14.5568 4.96794 14.5664C8.24107 16.0608 11.7846 16.0608 15.0191 14.5664C15.0404 14.5561 15.0657 14.5592 15.0846 14.5743C15.1847 14.6568 15.2895 14.7394 15.3952 14.8179C15.4314 14.8449 15.4291 14.9013 15.3897 14.9243C14.8914 15.2155 14.3735 15.4616 13.8288 15.6671C13.7933 15.6806 13.7775 15.7219 13.7949 15.756C14.0952 16.3377 14.4381 16.8917 14.8157 17.417C14.8315 17.4393 14.8599 17.4488 14.8859 17.4408C16.5201 16.9353 18.1772 16.1726 19.8879 14.9164C19.9028 14.9053 19.9123 14.8886 19.9139 14.8703C20.3309 10.5562 19.2154 6.80878 16.9568 3.4867C16.9513 3.4756 16.9419 3.46766 16.9308 3.4629ZM6.68335 12.5974C5.69792 12.5974 4.88594 11.6927 4.88594 10.5816C4.88594 9.47056 5.68217 8.56585 6.68335 8.56585C7.69239 8.56585 8.49651 9.4785 8.48073 10.5816C8.48073 11.6927 7.68451 12.5974 6.68335 12.5974ZM13.329 12.5974C12.3435 12.5974 11.5316 11.6927 11.5316 10.5816C11.5316 9.47056 12.3278 8.56585 13.329 8.56585C14.338 8.56585 15.1421 9.4785 15.1264 10.5816C15.1264 11.6927 14.338 12.5974 13.329 12.5974Z",fill:"#5865F2"})}),d$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsxs("g",{"clip-path":"url(#clip0_10025_4281)",children:[p.jsx("path",{d:"M20 10C20 4.47717 15.5228 1.33514e-05 9.99999 1.33514e-05C4.47716 1.33514e-05 0 4.47717 0 10C0 14.6898 3.2286 18.6249 7.58423 19.7055V13.0558H5.52216V10H7.58423V8.68325C7.58423 5.27957 9.12455 3.70197 12.4662 3.70197C13.0997 3.70197 14.1928 3.82617 14.64 3.95041V6.72057C14.404 6.69573 13.9941 6.68329 13.4848 6.68329C11.845 6.68329 11.2115 7.30441 11.2115 8.91929V10H14.4778L13.9167 13.0558H11.2115V19.9268C16.1629 19.3287 20 15.1127 20 10Z",fill:"#0866FF"}),p.jsx("path",{d:"M13.917 13.0558L14.4782 10H11.2118V8.91925C11.2118 7.30437 11.8453 6.68329 13.4851 6.68329C13.9944 6.68329 14.4043 6.69569 14.6403 6.72053V3.95041C14.1931 3.82617 13.1 3.70193 12.4665 3.70193C9.1249 3.70193 7.58454 5.27957 7.58454 8.68325V10H5.52246V13.0558H7.58454V19.7055C8.35826 19.8974 9.16726 20 10.0003 20C10.4105 20 10.8146 19.9747 11.2118 19.9268V13.0558H13.917Z",fill:"white"})]}),p.jsx("defs",{children:p.jsx("clipPath",{id:"clip0_10025_4281",children:p.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),f$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.86487 10C4.86487 7.16393 7.16393 4.86487 10 4.86487C12.8361 4.86487 15.1351 7.16393 15.1351 10C15.1351 12.8361 12.8361 15.1351 10 15.1351C7.16393 15.1351 4.86487 12.8361 4.86487 10ZM10 13.3333C8.15904 13.3333 6.66667 11.841 6.66667 10C6.66667 8.15904 8.15904 6.66667 10 6.66667C11.841 6.66667 13.3333 8.15904 13.3333 10C13.3333 11.841 11.841 13.3333 10 13.3333Z",fill:"url(#paint0_linear_10025_4331)"}),p.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.86487 10C4.86487 7.16393 7.16393 4.86487 10 4.86487C12.8361 4.86487 15.1351 7.16393 15.1351 10C15.1351 12.8361 12.8361 15.1351 10 15.1351C7.16393 15.1351 4.86487 12.8361 4.86487 10ZM10 13.3333C8.15904 13.3333 6.66667 11.841 6.66667 10C6.66667 8.15904 8.15904 6.66667 10 6.66667C11.841 6.66667 13.3333 8.15904 13.3333 10C13.3333 11.841 11.841 13.3333 10 13.3333Z",fill:"url(#paint1_radial_10025_4331)"}),p.jsx("path",{d:"M15.338 5.86197C16.0008 5.86197 16.538 5.32474 16.538 4.66199C16.538 3.99924 16.0008 3.46197 15.338 3.46197C14.6753 3.46197 14.138 3.99924 14.138 4.66199C14.138 5.32474 14.6753 5.86197 15.338 5.86197Z",fill:"url(#paint2_linear_10025_4331)"}),p.jsx("path",{d:"M15.338 5.86197C16.0008 5.86197 16.538 5.32474 16.538 4.66199C16.538 3.99924 16.0008 3.46197 15.338 3.46197C14.6753 3.46197 14.138 3.99924 14.138 4.66199C14.138 5.32474 14.6753 5.86197 15.338 5.86197Z",fill:"url(#paint3_radial_10025_4331)"}),p.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 0C7.28416 0 6.94362 0.0115116 5.87701 0.0601777C4.81263 0.108725 4.08569 0.277786 3.44962 0.525007C2.79203 0.780524 2.23436 1.12246 1.67839 1.67839C1.12246 2.23436 0.780524 2.79203 0.525007 3.44962C0.277786 4.08569 0.108725 4.81263 0.0601777 5.87701C0.0115116 6.94362 0 7.28416 0 10C0 12.7158 0.0115116 13.0564 0.0601777 14.123C0.108725 15.1874 0.277786 15.9143 0.525007 16.5504C0.780524 17.208 1.12246 17.7656 1.67839 18.3216C2.23436 18.8775 2.79203 19.2195 3.44962 19.475C4.08569 19.7222 4.81263 19.8913 5.87701 19.9398C6.94362 19.9885 7.28416 20 10 20C12.7158 20 13.0564 19.9885 14.123 19.9398C15.1874 19.8913 15.9143 19.7222 16.5504 19.475C17.208 19.2195 17.7656 18.8775 18.3216 18.3216C18.8775 17.7656 19.2195 17.208 19.475 16.5504C19.7222 15.9143 19.8913 15.1874 19.9398 14.123C19.9885 13.0564 20 12.7158 20 10C20 7.28416 19.9885 6.94362 19.9398 5.87701C19.8913 4.81263 19.7222 4.08569 19.475 3.44962C19.2195 2.79203 18.8775 2.23436 18.3216 1.67839C17.7656 1.12246 17.208 0.780524 16.5504 0.525007C15.9143 0.277786 15.1874 0.108725 14.123 0.0601777C13.0564 0.0115116 12.7158 0 10 0ZM10 1.8018C12.6701 1.8018 12.9864 1.812 14.0409 1.86011C15.0159 1.90457 15.5453 2.06748 15.8977 2.20443C16.3645 2.38583 16.6976 2.60253 17.0475 2.95248C17.3975 3.30239 17.6142 3.63551 17.7956 4.10229C17.9325 4.45466 18.0954 4.98415 18.1399 5.95914C18.188 7.0136 18.1982 7.32989 18.1982 10C18.1982 12.6701 18.188 12.9864 18.1399 14.0409C18.0954 15.0158 17.9325 15.5453 17.7956 15.8977C17.6142 16.3645 17.3975 16.6976 17.0475 17.0475C16.6976 17.3975 16.3645 17.6142 15.8977 17.7956C15.5453 17.9325 15.0159 18.0954 14.0409 18.1399C12.9866 18.188 12.6703 18.1982 10 18.1982C7.3297 18.1982 7.01348 18.188 5.95914 18.1399C4.98415 18.0954 4.45466 17.9325 4.10229 17.7956C3.63551 17.6142 3.30239 17.3975 2.95248 17.0475C2.60257 16.6976 2.38583 16.3645 2.20443 15.8977C2.06748 15.5453 1.90457 15.0158 1.86011 14.0409C1.812 12.9864 1.8018 12.6701 1.8018 10C1.8018 7.32989 1.812 7.0136 1.86011 5.95914C1.90457 4.98415 2.06748 4.45466 2.20443 4.10229C2.38583 3.63551 2.60253 3.30239 2.95248 2.95248C3.30239 2.60253 3.63551 2.38583 4.10229 2.20443C4.45466 2.06748 4.98415 1.90457 5.95914 1.86011C7.0136 1.812 7.32989 1.8018 10 1.8018Z",fill:"url(#paint4_linear_10025_4331)"}),p.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 0C7.28416 0 6.94362 0.0115116 5.87701 0.0601777C4.81263 0.108725 4.08569 0.277786 3.44962 0.525007C2.79203 0.780524 2.23436 1.12246 1.67839 1.67839C1.12246 2.23436 0.780524 2.79203 0.525007 3.44962C0.277786 4.08569 0.108725 4.81263 0.0601777 5.87701C0.0115116 6.94362 0 7.28416 0 10C0 12.7158 0.0115116 13.0564 0.0601777 14.123C0.108725 15.1874 0.277786 15.9143 0.525007 16.5504C0.780524 17.208 1.12246 17.7656 1.67839 18.3216C2.23436 18.8775 2.79203 19.2195 3.44962 19.475C4.08569 19.7222 4.81263 19.8913 5.87701 19.9398C6.94362 19.9885 7.28416 20 10 20C12.7158 20 13.0564 19.9885 14.123 19.9398C15.1874 19.8913 15.9143 19.7222 16.5504 19.475C17.208 19.2195 17.7656 18.8775 18.3216 18.3216C18.8775 17.7656 19.2195 17.208 19.475 16.5504C19.7222 15.9143 19.8913 15.1874 19.9398 14.123C19.9885 13.0564 20 12.7158 20 10C20 7.28416 19.9885 6.94362 19.9398 5.87701C19.8913 4.81263 19.7222 4.08569 19.475 3.44962C19.2195 2.79203 18.8775 2.23436 18.3216 1.67839C17.7656 1.12246 17.208 0.780524 16.5504 0.525007C15.9143 0.277786 15.1874 0.108725 14.123 0.0601777C13.0564 0.0115116 12.7158 0 10 0ZM10 1.8018C12.6701 1.8018 12.9864 1.812 14.0409 1.86011C15.0159 1.90457 15.5453 2.06748 15.8977 2.20443C16.3645 2.38583 16.6976 2.60253 17.0475 2.95248C17.3975 3.30239 17.6142 3.63551 17.7956 4.10229C17.9325 4.45466 18.0954 4.98415 18.1399 5.95914C18.188 7.0136 18.1982 7.32989 18.1982 10C18.1982 12.6701 18.188 12.9864 18.1399 14.0409C18.0954 15.0158 17.9325 15.5453 17.7956 15.8977C17.6142 16.3645 17.3975 16.6976 17.0475 17.0475C16.6976 17.3975 16.3645 17.6142 15.8977 17.7956C15.5453 17.9325 15.0159 18.0954 14.0409 18.1399C12.9866 18.188 12.6703 18.1982 10 18.1982C7.3297 18.1982 7.01348 18.188 5.95914 18.1399C4.98415 18.0954 4.45466 17.9325 4.10229 17.7956C3.63551 17.6142 3.30239 17.3975 2.95248 17.0475C2.60257 16.6976 2.38583 16.3645 2.20443 15.8977C2.06748 15.5453 1.90457 15.0158 1.86011 14.0409C1.812 12.9864 1.8018 12.6701 1.8018 10C1.8018 7.32989 1.812 7.0136 1.86011 5.95914C1.90457 4.98415 2.06748 4.45466 2.20443 4.10229C2.38583 3.63551 2.60253 3.30239 2.95248 2.95248C3.30239 2.60253 3.63551 2.38583 4.10229 2.20443C4.45466 2.06748 4.98415 1.90457 5.95914 1.86011C7.0136 1.812 7.32989 1.8018 10 1.8018Z",fill:"url(#paint5_radial_10025_4331)"}),p.jsxs("defs",{children:[p.jsxs("linearGradient",{id:"paint0_linear_10025_4331",x1:"1.16694",y1:"1.05146",x2:"7.47276",y2:"25.4432",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{"stop-color":"#4E60D3"}),p.jsx("stop",{offset:"0.142763","stop-color":"#913BAF"}),p.jsx("stop",{offset:"0.761458","stop-color":"#D52D88"}),p.jsx("stop",{offset:"1","stop-color":"#F26D4F"})]}),p.jsxs("radialGradient",{id:"paint1_radial_10025_4331",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.05487 20) rotate(32.1601) scale(18.6789 13.4426)",children:[p.jsx("stop",{"stop-color":"#FED276"}),p.jsx("stop",{offset:"0.17024","stop-color":"#FDBD61","stop-opacity":"0.975006"}),p.jsx("stop",{offset:"0.454081","stop-color":"#F6804D"}),p.jsx("stop",{offset:"1","stop-color":"#E83D5C","stop-opacity":"0.01"})]}),p.jsxs("linearGradient",{id:"paint2_linear_10025_4331",x1:"1.16694",y1:"1.05146",x2:"7.47276",y2:"25.4432",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{"stop-color":"#4E60D3"}),p.jsx("stop",{offset:"0.142763","stop-color":"#913BAF"}),p.jsx("stop",{offset:"0.761458","stop-color":"#D52D88"}),p.jsx("stop",{offset:"1","stop-color":"#F26D4F"})]}),p.jsxs("radialGradient",{id:"paint3_radial_10025_4331",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.05487 20) rotate(32.1601) scale(18.6789 13.4426)",children:[p.jsx("stop",{"stop-color":"#FED276"}),p.jsx("stop",{offset:"0.17024","stop-color":"#FDBD61","stop-opacity":"0.975006"}),p.jsx("stop",{offset:"0.454081","stop-color":"#F6804D"}),p.jsx("stop",{offset:"1","stop-color":"#E83D5C","stop-opacity":"0.01"})]}),p.jsxs("linearGradient",{id:"paint4_linear_10025_4331",x1:"1.16694",y1:"1.05146",x2:"7.47276",y2:"25.4432",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{"stop-color":"#4E60D3"}),p.jsx("stop",{offset:"0.142763","stop-color":"#913BAF"}),p.jsx("stop",{offset:"0.761458","stop-color":"#D52D88"}),p.jsx("stop",{offset:"1","stop-color":"#F26D4F"})]}),p.jsxs("radialGradient",{id:"paint5_radial_10025_4331",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.05487 20) rotate(32.1601) scale(18.6789 13.4426)",children:[p.jsx("stop",{"stop-color":"#FED276"}),p.jsx("stop",{offset:"0.17024","stop-color":"#FDBD61","stop-opacity":"0.975006"}),p.jsx("stop",{offset:"0.454081","stop-color":"#F6804D"}),p.jsx("stop",{offset:"1","stop-color":"#E83D5C","stop-opacity":"0.01"})]})]})]}),p$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsx("g",{"clip-path":"url(#clip0_10025_4216)",children:p.jsx("path",{d:"M18.5236 0H1.47639C1.08483 0 0.709301 0.155548 0.432425 0.432425C0.155548 0.709301 0 1.08483 0 1.47639V18.5236C0 18.9152 0.155548 19.2907 0.432425 19.5676C0.709301 19.8445 1.08483 20 1.47639 20H18.5236C18.9152 20 19.2907 19.8445 19.5676 19.5676C19.8445 19.2907 20 18.9152 20 18.5236V1.47639C20 1.08483 19.8445 0.709301 19.5676 0.432425C19.2907 0.155548 18.9152 0 18.5236 0ZM5.96111 17.0375H2.95417V7.48611H5.96111V17.0375ZM4.45556 6.1625C4.11447 6.16058 3.7816 6.05766 3.49895 5.86674C3.21629 5.67582 2.99653 5.40544 2.8674 5.08974C2.73826 4.77404 2.70554 4.42716 2.77336 4.09288C2.84118 3.7586 3.0065 3.4519 3.24846 3.21148C3.49042 2.97107 3.79818 2.80772 4.13289 2.74205C4.4676 2.67638 4.81426 2.71133 5.12913 2.84249C5.44399 2.97365 5.71295 3.19514 5.90205 3.47901C6.09116 3.76288 6.19194 4.09641 6.19167 4.4375C6.19488 4.66586 6.15209 4.89253 6.06584 5.104C5.97959 5.31547 5.85165 5.50742 5.68964 5.66839C5.52763 5.82936 5.33487 5.95607 5.12285 6.04096C4.91083 6.12585 4.68389 6.16718 4.45556 6.1625ZM17.0444 17.0458H14.0389V11.8278C14.0389 10.2889 13.3847 9.81389 12.5403 9.81389C11.6486 9.81389 10.7736 10.4861 10.7736 11.8667V17.0458H7.76667V7.49306H10.6583V8.81667H10.6972C10.9875 8.22917 12.0042 7.225 13.5556 7.225C15.2333 7.225 17.0458 8.22083 17.0458 11.1375L17.0444 17.0458Z",fill:"#0A66C2"})}),p.jsx("defs",{children:p.jsx("clipPath",{id:"clip0_10025_4216",children:p.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),h$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsx("path",{d:"M9.99972 0C4.36738 0 0 4.12739 0 9.69973C0 12.6147 1.19497 15.1346 3.13991 16.8745C3.30241 17.0195 3.40241 17.2245 3.4074 17.4445L3.4624 19.2245C3.46641 19.3554 3.50252 19.4834 3.56757 19.5972C3.63261 19.7109 3.7246 19.8069 3.83545 19.8768C3.9463 19.9467 4.07261 19.9882 4.20328 19.9978C4.33395 20.0075 4.46499 19.9848 4.58487 19.932L6.56982 19.057C6.73731 18.982 6.92731 18.9695 7.1048 19.017C8.01728 19.267 8.98725 19.402 9.99972 19.402C15.6321 19.402 19.9994 15.2746 19.9994 9.70223C19.9994 4.12989 15.6321 0 9.99972 0Z",fill:"url(#paint0_radial_10025_4291)"}),p.jsx("path",{d:"M3.99446 12.5371L6.93188 7.87722C7.04238 7.70178 7.18805 7.55115 7.3597 7.43485C7.53135 7.31855 7.72525 7.2391 7.92916 7.20151C8.13306 7.16392 8.34254 7.16902 8.54438 7.21648C8.74622 7.26393 8.93602 7.35272 9.10182 7.47723L11.4392 9.22968C11.5436 9.30781 11.6706 9.34982 11.8009 9.34937C11.9313 9.34892 12.0579 9.30603 12.1617 9.22718L15.3166 6.83225C15.7366 6.51226 16.2866 7.01724 16.0066 7.46473L13.0667 12.1221C12.9562 12.2975 12.8105 12.4482 12.6389 12.5645C12.4672 12.6808 12.2733 12.7602 12.0694 12.7978C11.8655 12.8354 11.656 12.8303 11.4542 12.7828C11.2524 12.7354 11.0626 12.6466 10.8968 12.5221L8.55933 10.7696C8.45498 10.6915 8.32803 10.6495 8.19767 10.65C8.06732 10.6504 7.94066 10.6933 7.83685 10.7721L4.68194 13.1671C4.26195 13.4871 3.71197 12.9846 3.99446 12.5371Z",fill:"white"}),p.jsx("defs",{children:p.jsxs("radialGradient",{id:"paint0_radial_10025_4291",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(3.34991 19.9995) scale(21.9994 21.9994)",children:[p.jsx("stop",{"stop-color":"#0099FF"}),p.jsx("stop",{offset:"0.6","stop-color":"#A033FF"}),p.jsx("stop",{offset:"0.9","stop-color":"#FF5280"}),p.jsx("stop",{offset:"1","stop-color":"#FF7061"})]})})]}),m$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsx("path",{d:"M14.314 7.21939C15.6001 8.14204 17.1757 8.6849 18.8774 8.6849V5.39868C18.5553 5.39875 18.2341 5.36505 17.919 5.29805V7.88478C16.2175 7.88478 14.6421 7.34191 13.3557 6.41934V13.1256C13.3557 16.4804 10.6457 19.1998 7.30306 19.1998C6.05583 19.1998 4.89658 18.8214 3.93359 18.1724C5.03269 19.3002 6.56546 19.9998 8.2612 19.9998C11.6041 19.9998 14.3141 17.2804 14.3141 13.9255V7.21939H14.314ZM15.4962 3.904C14.8389 3.18336 14.4074 2.25207 14.314 1.22248V0.799805H13.4058C13.6344 2.10841 14.4142 3.2264 15.4962 3.904ZM6.04783 15.598C5.6806 15.1148 5.48215 14.5237 5.48304 13.9159C5.48304 12.3815 6.72255 11.1374 8.25176 11.1374C8.53676 11.1374 8.82004 11.1812 9.09164 11.2676V7.90798C8.77424 7.86433 8.4539 7.84579 8.13371 7.85259V10.4676C7.86191 10.3811 7.57848 10.3372 7.29342 10.3375C5.76421 10.3375 4.52477 11.5814 4.52477 13.116C4.52477 14.201 5.14432 15.1404 6.04783 15.598Z",fill:"#FF004F"}),p.jsx("path",{d:"M13.3551 6.41927C14.6416 7.34185 16.217 7.88471 17.9185 7.88471V5.29799C16.9687 5.09495 16.1279 4.59684 15.4957 3.904C14.4136 3.22633 13.6339 2.10834 13.4053 0.799805H11.0198V13.9253C11.0144 15.4555 9.77704 16.6945 8.25111 16.6945C7.3519 16.6945 6.55304 16.2644 6.04711 15.598C5.14366 15.1404 4.52412 14.2009 4.52412 13.116C4.52412 11.5816 5.76355 10.3375 7.29277 10.3375C7.58576 10.3375 7.86815 10.3833 8.13305 10.4677V7.85266C4.8491 7.92075 2.20801 10.6136 2.20801 13.9254C2.20801 15.5787 2.8657 17.0774 3.93314 18.1724C4.89613 18.8214 6.05538 19.1998 7.30261 19.1998C10.6453 19.1998 13.3552 16.4803 13.3552 13.1256V6.41927H13.3551Z",fill:"white"}),p.jsx("path",{d:"M17.9188 5.29817V4.59874C17.0623 4.60004 16.2226 4.35932 15.496 3.90411C16.1392 4.61089 16.9863 5.09822 17.9188 5.29817ZM13.4056 0.799986C13.3838 0.674926 13.367 0.549042 13.3554 0.422678V0H10.0617V13.1257C10.0564 14.6556 8.8191 15.8946 7.29303 15.8946C6.845 15.8946 6.42199 15.7879 6.04737 15.5983C6.55331 16.2645 7.35216 16.6946 8.25137 16.6946C9.77717 16.6946 11.0148 15.4558 11.0201 13.9256V0.799986H13.4056ZM8.13345 7.85284V7.10824C7.85823 7.07049 7.58076 7.05155 7.30294 7.05169C3.95993 7.05162 1.25 9.77116 1.25 13.1257C1.25 15.2288 2.31505 17.0822 3.93347 18.1725C2.86603 17.0775 2.20834 15.5787 2.20834 13.9255C2.20834 10.6138 4.84936 7.92093 8.13345 7.85284Z",fill:"#00F2EA"})]}),g$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsxs("g",{"clip-path":"url(#clip0_10025_4339)",children:[p.jsx("path",{d:"M19.6004 5.15459C19.4873 4.7291 19.2645 4.34077 18.9541 4.02847C18.6438 3.71617 18.2569 3.49084 17.8322 3.37504C16.2686 2.95459 10.0186 2.95459 10.0186 2.95459C10.0186 2.95459 3.76855 2.95459 2.20492 3.37504C1.78016 3.49084 1.39327 3.71617 1.08296 4.02847C0.772651 4.34077 0.549809 4.7291 0.436737 5.15459C0.0185547 6.72504 0.0185547 10 0.0185547 10C0.0185547 10 0.0185547 13.275 0.436737 14.8455C0.549809 15.271 0.772651 15.6593 1.08296 15.9716C1.39327 16.2839 1.78016 16.5092 2.20492 16.625C3.76855 17.0455 10.0186 17.0455 10.0186 17.0455C10.0186 17.0455 16.2686 17.0455 17.8322 16.625C18.2569 16.5092 18.6438 16.2839 18.9541 15.9716C19.2645 15.6593 19.4873 15.271 19.6004 14.8455C20.0186 13.275 20.0186 10 20.0186 10C20.0186 10 20.0186 6.72504 19.6004 5.15459Z",fill:"#FF0302"}),p.jsx("path",{d:"M7.97363 12.9741V7.02637L13.2009 10.0002L7.97363 12.9741Z",fill:"#FEFEFE"})]}),p.jsx("defs",{children:p.jsx("clipPath",{id:"clip0_10025_4339",children:p.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(-0.000976562)"})})})]}),v$e=({color:e="black",...t})=>p.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:p.jsx("path",{d:"M10.7984 7.86419L7.3123 2.89944L7.26004 2.825H7.16908H3H2.66326L2.85679 3.10057L8.24368 10.7713L2.86858 16.8844L2.6131 17.175H3H4.235H4.31417L4.36644 17.1155L8.99829 11.8462L12.6877 17.1006L12.74 17.175H12.8309H17H17.3367L17.1432 16.8994L11.5558 8.94081L16.6773 3.11555L16.9327 2.825H16.5459H15.3109H15.2317L15.1795 2.88441L10.7984 7.86419ZM9.78384 10.7501L9.78376 10.7499L9.22913 9.97445L9.22909 9.97441L5.02055 4.08603H6.48756L9.99218 8.98989L9.99234 8.99013L10.5445 9.76543L10.5447 9.76566L14.9701 15.9584H13.5031L9.78384 10.7501Z",fill:e,stroke:e,strokeWidth:"0.35"})}),y$e=(e,t)=>{switch(e){case"discord":return u$e;case"facebook":return d$e;case"instagram":return f$e;case"linkedin":return p$e;case"messenger":return h$e;case"tiktok":return m$e;case"twitter":return v$e;case"youtube":return g$e;default:return null}};function Wq(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function T1(...e){return t=>{let r=!1;const n=e.map(o=>{const s=Wq(o,t);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let o=0;o<n.length;o++){const s=n[o];typeof s=="function"?s():Wq(e[o],null)}}}}function fr(...e){return D.useCallback(T1(...e),e)}function rd(e){const t=x$e(e),r=D.forwardRef((n,o)=>{const{children:s,...i}=n,a=D.Children.toArray(s),l=a.find(C$e);if(l){const c=l.props.children,u=a.map(d=>d===l?D.Children.count(c)>1?D.Children.only(null):D.isValidElement(c)?c.props.children:null:d);return p.jsx(t,{...i,ref:o,children:D.isValidElement(c)?D.cloneElement(c,void 0,u):null})}return p.jsx(t,{...i,ref:o,children:s})});return r.displayName=`${e}.Slot`,r}var b$e=rd("Slot");function x$e(e){const t=D.forwardRef((r,n)=>{const{children:o,...s}=r;if(D.isValidElement(o)){const i=S$e(o),a=k$e(s,o.props);return o.type!==D.Fragment&&(a.ref=n?T1(n,i):i),D.cloneElement(o,a)}return D.Children.count(o)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var w$e=Symbol("radix.slottable");function C$e(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===w$e}function k$e(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function S$e(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const Uq=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,qq=yr,Yq=(e,t)=>r=>{var n;if(t?.variants==null)return qq(e,r?.class,r?.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(c=>{const u=r?.[c],d=s?.[c];if(u===null)return null;const f=Uq(u)||Uq(d);return o[c][f]}),a=r&&Object.entries(r).reduce((c,u)=>{let[d,f]=u;return f===void 0||(c[d]=f),c},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((c,u)=>{let{class:d,className:f,...h}=u;return Object.entries(h).every(m=>{let[v,y]=m;return Array.isArray(y)?y.includes({...s,...a}[v]):{...s,...a}[v]===y})?[...c,d,f]:c},[]);return qq(e,i,l,r?.class,r?.className)},_$e=Yq("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none !font-shopfont ",{variants:{variant:{default:"",outline:"",secondary:""},size:{sm:"py-2 px-3 text-xs",md:"py-[10px] px-[14px] text-sm",lg:"py-3 px-4 text-lg"}},defaultVariants:{variant:"default",size:"md"}}),kl=D.forwardRef(({className:e,variant:t,size:r,asChild:n=!1,iconLeft:o,iconRight:s,...i},a)=>{const{isDarkTheme:l}=Je(),c={default:l?"bg-neutral-white text-neutral-black disabled:bg-button-disable-Dark disabled:text-text-disabled-Dark":"bg-neutral-black text-neutral-white disabled:bg-button-disable-Light disabled:text-text-disabled-Light",outline:l?"border border-neutral-white text-shop-textColor disabled:border-button-disable-Dark disabled:text-text-disabled-Dark":"border border-neutral-black text-black hover:bg-neutral-gray-100 disabled:border-button-disable-Light disabled:text-text-disabled-Light",secondary:l?"bg-neutral-gray-900 text-white hover:bg-neutral-gray-1000 disabled:bg-button-disable-Dark disabled:text-text-disabled-Dark":"bg-neutral-gray-50 text-black hover:bg-neutral-gray-100 disabled:border-button-disable-Light disabled:text-text-disabled-Light"},u=n?b$e:"button";return p.jsxs(u,{className:Ye(_$e({variant:t,size:r}),c[t||"default"],e),ref:a,...i,disabled:i.disabled,children:[o&&p.jsx("span",{className:"flex items-center",children:o}),p.jsx("span",{children:i.children}),s&&p.jsx("span",{className:"flex items-center",children:s})]})});kl.displayName="Button";function A4({appearance:e,linkTo:t}){const{label:r,url:n,type:o,channel:s}=t?.data??{};let i=r;if(t?.data.type==="social"&&s){const a=y$e(s);i=a?p.jsx(a,{}):r}return p.jsx("a",{href:n,children:p.jsx(kl,{variant:e?.variant,className:"min-w-[100px] w-max !font-shopfont",style:{minWidth:t?.data?.type==="url"?"100px":"auto",width:t?.data?.type==="url"?"max-content":"min-content"},children:i})})}function Gq({appearance:e,coverMedia:t,title:r,subtitle:n,buttons:o}){const s=P1(),i=O4(),a=t?.image||s,l=e?.orientation||"ltr";return p.jsx(jn,{props:{margin:"auto"},children:p.jsxs("div",{className:Ye("grid grid-cols-1 md:grid-cols-2 items-center gap-4 2xl:gap-6","!font-shopfont"),children:[p.jsx("img",{className:Ye("order-2 w-full h-[200px] md:h-[250px] xl:h-[400px] 3xl:h-[500px] rounded-2xl object-cover",l==="ltr"?"md:order-1":"md:order-2"),src:a}),p.jsxs("div",{className:Ye("order-1",l==="ltr"?"md:order-2":"md:order-1","!font-shopfont"),children:[r?.text&&p.jsx("h3",{className:"text-center text-shop-textColor xl:text-left mb-1 xl:mb-2 text-2xl xl:text-[32px] font-bold !font-shopfont",children:r.text}),n?.text&&p.jsx("p",{className:`text-center xl:text-left text-base ${i} !font-shopfont`,children:n.text}),o?.length?p.jsx("div",{className:"flex flex-wrap justify-center xl:justify-start gap-3 mt-4 xl:mt-6 !font-shopfont",children:o.map((c,u)=>c.data?.label?p.jsx(A4,{appearance:{variant:u===0?"default":"outline"},linkTo:c},u):null)}):null]})]})})}const Kq=e=>{const t=e==="ltr"?"https://upload-file-droplinked.s3.amazonaws.com/ca65a269215b7f2e4bee7a9577809b6c015b03102c8ac6b5822f051c4033751d_or.png":"https://upload-file-droplinked.s3.amazonaws.com/d137cdecbda0a5c36a61e75436d0a30aba32570f22c665de94b1fc4fa2286335_or.png";return{label:"Story Telling",hideLabel:!0,labelIcon:p.jsx(rs,{color:"#fff"}),visualExample:t,gridColumn:"span 2",fields:{coverMedia:{type:"object",label:"Cover Media",objectFields:{image:{type:"image"}}},title:{type:"object",label:"Title",objectFields:{text:{type:"textarea",label:"Title"}}},subtitle:{type:"object",label:"Subtitle",objectFields:{text:{type:"textarea",label:"Subtitle"}}},buttons:{type:"array",label:"Buttons",arrayFields:{data:{type:"button",label:"Button"}}}},defaultProps:{appearance:{orientation:e},coverMedia:{image:""},title:{text:"The Journey Begins"},subtitle:{text:"Learn more about our story, where passion and purpose unite to create change."},buttons:[{data:{label:"Dive In",url:"#",type:"url"}},{data:{label:"Explore More",url:"#",type:"url"}}]},render:({appearance:r,coverMedia:n,title:o,subtitle:s,buttons:i})=>p.jsx(en,{children:p.jsx(Gq,{appearance:r,coverMedia:n,title:o,subtitle:s,buttons:i})})}},Qq={imageWithTextLtr:Kq("ltr"),imageWithTextRtl:Kq("rtl")},Zq=({color:e="black",...t})=>p.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:p.jsx("path",{d:"M3 8H13M13 8L9.7237 11M13 8L9.7237 5",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"})}),j4=e=>e?/^https?:\/\//i.test(e)?!0:e.startsWith("/")?!1:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}(\/.*)?$/.test(e):!1,I4=e=>e&&(j4(e)&&!/^https?:\/\//i.test(e)?`https://${e}`:e);function E$e({linkManagement:e}){const{isDarkTheme:t,shopDesign:{textColorParagraphs:r}}=Je(),n=t?"text-white":"text-black",o=t?"text-[#7B7B7B] hover:text-white":"text-[#B1B1B1] hover:text-black",s=e?.firstColumn?.name??"First Column",i=e?.firstColumn?.links?.map(c=>({caption:c.list?.label??"",link:c.list?.url?I4(c.list.url):"#"}))??[],a=e?.secondColumn?.name??"Second Column",l=e?.secondColumn?.links?.map(c=>({caption:c.list?.label??"",link:c.list?.url?I4(c.list.url):"#"}))??[];return p.jsx("div",{className:"flex",children:p.jsxs("div",{className:"flex w-full flex-shrink flex-col gap-12 md:flex-row",children:[i.length>0&&p.jsxs("div",{className:"mb-4 w-full md:mb-0 md:w-auto",children:[p.jsx(ct,{className:`mb-2 text-sm ${n}`,children:s}),p.jsx(Xq,{textColorParagraphs:r,links:i,linkTextClass:o,isDynamic:!0})]}),l.length>0&&p.jsxs("div",{className:"mb-4 w-full md:mb-0 md:w-auto",children:[p.jsx(ct,{className:`mb-2 text-sm ${n}`,children:a}),p.jsx(Xq,{textColorParagraphs:r,links:l,linkTextClass:o,isDynamic:!0})]})]})})}const Xq=({links:e,linkTextClass:t,isDynamic:r=!1,textColorParagraphs:n})=>e.length?p.jsx("ul",{className:"space-y-2",children:e.map(({caption:o,link:s},i)=>p.jsx("li",{children:r?p.jsx("a",{href:s,target:j4(s)?"_blank":"_self",rel:"noopener noreferrer",className:"flex",children:p.jsx("span",{className:"group flex",children:p.jsxs(ct,{className:`relative flex items-center text-sm ${t}`,children:[o,p.jsx("div",{className:"ml-1 h-4 w-4 translate-x-[-4px] transform opacity-0 transition duration-100 ease-out group-hover:translate-x-0 group-hover:opacity-100",children:p.jsx(Zq,{color:n})})]})})}):p.jsx("span",{className:"group flex",children:p.jsxs(ct,{className:`relative flex items-center text-sm ${t}`,children:[o,p.jsx("div",{className:"ml-1 h-4 w-4 translate-x-[-4px] transform opacity-0 transition duration-100 ease-out group-hover:translate-x-0 group-hover:opacity-100",children:p.jsx(Zq,{color:n})})]})})},i))}):null,P$e=xh(),Jq=({...e})=>{const t=P$e(n=>n.appState.data.shopDefaultData.logo),{navigate:r}=td();return p.jsx(gf,{src:e?.src||t,height:"45px",maxWidth:"100%",cursor:"pointer",onClick:()=>r(""),...e})},D1={TimerAlien:e=>D.createElement("svg",{width:62,height:38,viewBox:"0 0 62 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("g",{id:"Frame",clipPath:"url(#clip0_9029_18184)"},D.createElement("g",{id:"[component:lottie:https://assets10.lottiefiles.com/packages/lf20_borkvxlu.json]"},D.createElement("g",{id:"Group"},D.createElement("g",{id:"Group_2"},D.createElement("path",{id:"Vector",d:"M30.8918 0.226562C17.9017 0.226562 7.37109 10.8115 7.37109 23.8686V36.5436H54.4125V23.8686C54.4125 10.8115 43.8817 0.226562 30.8918 0.226562Z",fill:"#2BCFA1"}))),D.createElement("g",{id:"Group_3"},D.createElement("g",{id:"Group_4"},D.createElement("path",{id:"Vector_2",d:"M5.99823 31.4883C2.7145 31.4883 0.0527344 34.1639 0.0527344 37.4645V37.57C0.0527344 37.7657 0.210457 37.9243 0.405227 37.9243H2.79676V37.0048C2.79676 36.751 3.00151 36.5452 3.25405 36.5452C3.50674 36.5452 3.71149 36.751 3.71149 37.0048V37.9243H5.54079V37.0048C5.54079 36.751 5.74554 36.5452 5.99823 36.5452C6.25077 36.5452 6.45552 36.751 6.45552 37.0048V37.9243H8.28497V37.0048C8.28497 36.751 8.48972 36.5452 8.74226 36.5452C8.9948 36.5452 9.19955 36.751 9.19955 37.0048V37.9243H11.5912C11.7859 37.9243 11.9437 37.7657 11.9437 37.57V37.4645C11.9437 34.1639 9.28181 31.4883 5.99823 31.4883Z",fill:"#2BCFA1"})),D.createElement("g",{id:"Group_5"},D.createElement("path",{id:"Vector_3",d:"M55.8498 31.4883C52.5662 31.4883 49.9043 34.1639 49.9043 37.4645V37.57C49.9043 37.7657 50.0622 37.9243 50.2568 37.9243H52.6485V37.0048C52.6485 36.751 52.8532 36.5452 53.1058 36.5452C53.3582 36.5452 53.5631 36.751 53.5631 37.0048V37.9243H55.3925V37.0048C55.3925 36.751 55.5973 36.5452 55.8498 36.5452C56.1025 36.5452 56.3071 36.751 56.3071 37.0048V37.9243H58.1365V37.0048C58.1365 36.751 58.3413 36.5452 58.5938 36.5452C58.8465 36.5452 59.0513 36.751 59.0513 37.0048V37.9243H61.4429C61.6374 37.9243 61.7953 37.7657 61.7953 37.57V37.4645C61.7953 34.1639 59.1334 31.4883 55.8498 31.4883Z",fill:"#2BCFA1"}))),D.createElement("g",{id:"Group_6"},D.createElement("g",{id:"Group_7"},D.createElement("path",{id:"Vector_4",d:"M22.006 19.5352C25.2896 19.5352 27.9515 22.211 27.9515 25.5113C27.9515 28.812 25.2896 31.4878 22.006 31.4878C18.7225 31.4878 16.0605 28.812 16.0605 25.5113C16.0605 22.211 18.7225 19.5352 22.006 19.5352Z",fill:"white"})),D.createElement("g",{id:"Group_8"},D.createElement("path",{id:"Vector_5",d:"M39.3849 19.5352C42.6685 19.5352 45.3304 22.211 45.3304 25.5113C45.3304 28.812 42.6685 31.4878 39.3849 31.4878C36.1012 31.4878 33.4395 28.812 33.4395 25.5113C33.4395 22.211 36.1012 19.5352 39.3849 19.5352Z",fill:"white"}))),D.createElement("g",{id:"Group_9"},D.createElement("g",{id:"Group_10"},D.createElement("path",{id:"Vector_6",d:"M19.4951 27.4258C20.2528 27.4258 20.8671 28.0432 20.8671 28.8049C20.8671 29.5667 20.2528 30.184 19.4951 30.184C18.7373 30.184 18.123 29.5667 18.123 28.8049C18.123 28.0432 18.7373 27.4258 19.4951 27.4258Z",fill:"black"})),D.createElement("g",{id:"Group_11"},D.createElement("path",{id:"Vector_7",d:"M36.874 27.4258C37.6319 27.4258 38.246 28.0432 38.246 28.8049C38.246 29.5667 37.6319 30.184 36.874 30.184C36.1162 30.184 35.502 29.5667 35.502 28.8049C35.502 28.0432 36.1162 27.4258 36.874 27.4258Z",fill:"black"}))))),D.createElement("defs",null,D.createElement("clipPath",{id:"clip0_9029_18184"},D.createElement("rect",{width:62,height:38,fill:"white"})))),DroplinkedLogo:e=>D.createElement("svg",{width:124,height:20,viewBox:"0 0 124 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10ZM11.0151 3.06897H13.2931V15.7069H12.186L12.1838 15.7069H9.32588C7.13895 15.7069 5.36207 13.929 5.36207 11.7409C5.36207 9.55272 7.13895 7.77485 9.32588 7.77485C9.9298 7.77485 10.5025 7.91043 11.0151 8.15279V3.06897Z",fill:"currentColor"}),D.createElement("path",{d:"M9.32588 10.0314C8.39188 10.0314 7.64012 10.7836 7.64012 11.7181C7.64012 12.6526 8.39188 13.4048 9.32588 13.4048H11.0116V11.7409C11.0116 10.8064 10.2599 10.0314 9.32588 10.0314Z",fill:"currentColor"}),D.createElement("path",{d:"M51.8447 15.9196C50.901 15.9196 50.0615 15.7209 49.3263 15.3234C48.6021 14.9259 48.026 14.3849 47.598 13.7004C47.181 13.0048 46.9725 12.2154 46.9725 11.3321C46.9725 10.4378 47.181 9.64835 47.598 8.96381C48.026 8.26823 48.6021 7.72723 49.3263 7.34079C50.0615 6.94332 50.901 6.74459 51.8447 6.74459C52.7774 6.74459 53.6114 6.94332 54.3466 7.34079C55.0818 7.72723 55.6579 8.26271 56.0749 8.94725C56.4919 9.63178 56.7004 10.4267 56.7004 11.3321C56.7004 12.2154 56.4919 13.0048 56.0749 13.7004C55.6579 14.3849 55.0818 14.9259 54.3466 15.3234C53.6114 15.7209 52.7774 15.9196 51.8447 15.9196ZM51.8447 13.7997C52.2726 13.7997 52.6567 13.7004 52.9969 13.5016C53.3371 13.3029 53.6059 13.0213 53.8034 12.657C54.0009 12.2816 54.0997 11.84 54.0997 11.3321C54.0997 10.8132 54.0009 10.3715 53.8034 10.0072C53.6059 9.64283 53.3371 9.36128 52.9969 9.16255C52.6567 8.96381 52.2726 8.86444 51.8447 8.86444C51.4167 8.86444 51.0326 8.96381 50.6925 9.16255C50.3523 9.36128 50.078 9.64283 49.8695 10.0072C49.672 10.3715 49.5732 10.8132 49.5732 11.3321C49.5732 11.84 49.672 12.2816 49.8695 12.657C50.078 13.0213 50.3523 13.3029 50.6925 13.5016C51.0326 13.7004 51.4167 13.7997 51.8447 13.7997Z",fill:"currentColor"}),D.createElement("path",{d:"M70.4396 15.9196V1.74526H73.0073V15.9196H70.4396Z",fill:"currentColor"}),D.createElement("path",{d:"M75.7196 15.7871V5.12378H78.2874V15.7871H75.7196ZM77.0035 3.88168C76.5317 3.88168 76.1476 3.74367 75.8513 3.46765C75.555 3.19162 75.4069 2.84935 75.4069 2.44084C75.4069 2.03233 75.555 1.69006 75.8513 1.41404C76.1476 1.13801 76.5317 1 77.0035 1C77.4754 1 77.8594 1.13249 78.1557 1.39747C78.452 1.65142 78.6001 1.98264 78.6001 2.39116C78.6001 2.82175 78.452 3.18058 78.1557 3.46765C77.8704 3.74367 77.4863 3.88168 77.0035 3.88168Z",fill:"currentColor"}),D.createElement("path",{d:"M92.7094 15.7871V1.74526H95.2772V10.4575V13.5257V15.7871H92.7094Z",fill:"currentColor"}),D.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.817 15.7872C30.1566 15.7872 28 13.6173 28 10.9406C28 8.26383 30.1566 6.09392 32.817 6.09392C33.6301 6.09392 34.3963 6.29666 35.0681 6.65465V1.61287H37.6339V15.7872H32.817ZM35.0681 13.2056V10.9649C35.0681 9.72743 34.0711 8.72425 32.8412 8.72425C31.6113 8.72425 30.6142 9.72743 30.6142 10.9649C30.6142 12.2024 31.6113 13.2056 32.8412 13.2056H35.0681Z",fill:"currentColor"}),D.createElement("path",{d:"M40.3416 15.7871V6.87708H42.7941V8.04699C43.0361 7.71504 43.3433 7.44652 43.7159 7.24143C44.2975 6.9102 45.0052 6.74459 45.8392 6.74459V9.12942C45.7295 9.11838 45.6307 9.11286 45.5429 9.11286C45.4552 9.10182 45.3619 9.0963 45.2631 9.0963C44.5608 9.0963 43.9902 9.30056 43.5513 9.70907C43.1233 10.1065 42.9093 10.7304 42.9093 11.5805V15.7871H40.3416Z",fill:"currentColor"}),D.createElement("path",{d:"M62.0215 15.4227C62.5811 15.754 63.234 15.9196 63.9802 15.9196C64.8142 15.9196 65.5603 15.7319 66.2187 15.3565C66.8881 14.9811 67.4148 14.4511 67.7989 13.7666C68.1939 13.0821 68.3915 12.2706 68.3915 11.3321C68.3915 10.4046 68.1939 9.59866 67.7989 8.91412C67.4148 8.22959 66.8881 7.69962 66.2187 7.32423C65.5603 6.9378 64.8142 6.74459 63.9802 6.74459C63.2011 6.74459 62.5317 6.9102 61.9721 7.24143C61.6778 7.4156 61.5351 7.48794 61.3137 7.75676L61.2808 8.67568V11.3321C61.2808 10.8132 61.3795 10.3715 61.577 10.0072C61.7746 9.64283 62.0434 9.36128 62.3836 9.16255C62.7237 8.96381 63.1078 8.86444 63.5358 8.86444C63.9637 8.86444 64.3423 8.96381 64.6715 9.16255C65.0117 9.36128 65.2805 9.64283 65.4781 10.0072C65.6865 10.3715 65.7908 10.8132 65.7908 11.3321C65.7908 11.84 65.6865 12.2816 65.4781 12.657C65.2805 13.0213 65.0117 13.3029 64.6715 13.5016C64.3423 13.7004 63.9637 13.7997 63.5358 13.7997C63.1078 13.7997 62.7237 13.7004 62.3836 13.5016C62.0434 13.3029 61.7746 13.0213 61.577 12.657C61.392 12.3054 61.2937 11.8957 61.2819 11.4278L61.3137 13.9819V14.8438C61.523 15.0744 61.759 15.2674 62.0215 15.4227Z",fill:"currentColor"}),D.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.7459 6.87708V19H61.3137V14.8438V13.9819L61.2819 11.4278C61.2812 11.3962 61.2808 11.3643 61.2808 11.3321V8.67568L61.3137 7.75676V6.87708H58.7459Z",fill:"currentColor"}),D.createElement("path",{d:"M86.3821 6.74459C87.0844 6.74459 87.7099 6.88812 88.2585 7.17518C88.8182 7.4512 89.2571 7.8818 89.5754 8.46697C89.8936 9.0411 90.0527 9.78084 90.0527 10.6862V15.7871H87.4849V11.0837C87.4849 10.366 87.3258 9.83604 87.0076 9.49377C86.7003 9.1515 86.2614 8.98037 85.6908 8.98037C85.2848 8.98037 84.9172 9.0687 84.588 9.24535C84.2697 9.41097 84.0174 9.67043 83.8308 10.0237C83.6552 10.377 83.5675 10.8297 83.5675 11.3818V15.7871H80.9997V6.87708H83.4522V7.93542C83.7063 7.65056 84.0081 7.41371 84.3575 7.22487C84.9501 6.90468 85.625 6.74459 86.3821 6.74459Z",fill:"currentColor"}),D.createElement("path",{d:"M102.092 6.87708H99.0301L95.2772 10.4575V13.5257L96.5573 12.348L98.4036 10.6494L102.092 6.87708Z",fill:"currentColor"}),D.createElement("path",{d:"M99.3099 15.7871H102.421L98.4036 10.6494L96.5573 12.348L99.3099 15.7871Z",fill:"currentColor"}),D.createElement("path",{d:"M105.263 15.3234C106.032 15.7209 106.92 15.9196 107.93 15.9196C108.731 15.9196 109.439 15.7981 110.053 15.5552C110.668 15.3013 111.178 14.9425 111.584 14.4787L110.218 12.9882C109.922 13.2753 109.592 13.4906 109.23 13.6341C108.879 13.7776 108.468 13.8494 107.996 13.8494C107.469 13.8494 107.008 13.7556 106.613 13.5679C106.229 13.3691 105.927 13.0876 105.708 12.7232C105.594 12.5188 105.512 12.298 105.46 12.0608C105.417 11.8625 105.395 11.6527 105.395 11.4315V11.034C105.395 10.8656 105.407 10.7055 105.43 10.5537C105.473 10.2777 105.555 10.0293 105.675 9.80844C105.861 9.45513 106.119 9.18463 106.448 8.99693C106.789 8.7982 107.178 8.69883 107.617 8.69883C108.056 8.69883 108.44 8.7982 108.769 8.99693C109.099 9.18463 109.356 9.44961 109.543 9.79188C109.667 10.0191 109.75 10.273 109.791 10.5537H105.43C105.407 10.7055 105.395 10.8656 105.395 11.034V11.4315C105.395 11.6527 105.417 11.8625 105.46 12.0608H112.16C112.171 11.9504 112.182 11.8344 112.193 11.713C112.204 11.5805 112.209 11.4646 112.209 11.3652C112.209 10.4046 112.006 9.5821 111.6 8.89756C111.194 8.20198 110.64 7.67202 109.938 7.30767C109.247 6.93228 108.468 6.74459 107.601 6.74459C106.701 6.74459 105.894 6.94332 105.181 7.34079C104.468 7.72723 103.903 8.26823 103.486 8.96381C103.08 9.64835 102.877 10.4378 102.877 11.3321C102.877 12.2154 103.085 13.0048 103.502 13.7004C103.919 14.3849 104.506 14.9259 105.263 15.3234Z",fill:"currentColor"}),D.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M115.795 15.3565C116.465 15.7319 117.216 15.9196 118.05 15.9196C118.83 15.9196 119.493 15.754 120.042 15.4227C120.33 15.2524 120.583 15.0368 120.801 14.7758L120.701 7.80619C120.497 7.58183 120.266 7.39357 120.009 7.24143C119.45 6.9102 118.797 6.74459 118.05 6.74459C117.216 6.74459 116.465 6.93228 115.795 7.30767C115.126 7.68306 114.594 8.21303 114.199 8.89756C113.815 9.5821 113.623 10.3936 113.623 11.3321C113.623 12.2595 113.815 13.0655 114.199 13.75C114.594 14.4346 115.126 14.9701 115.795 15.3565ZM119.631 13.5016C119.29 13.7004 118.912 13.7997 118.495 13.7997C118.067 13.7997 117.683 13.7004 117.343 13.5016C117.003 13.3029 116.728 13.0213 116.52 12.657C116.322 12.2816 116.223 11.84 116.223 11.3321C116.223 10.8132 116.322 10.3715 116.52 10.0072C116.728 9.64283 117.003 9.36128 117.343 9.16255C117.683 8.96381 118.067 8.86444 118.495 8.86444C118.912 8.86444 119.29 8.96381 119.631 9.16255C119.971 9.36128 120.24 9.64283 120.437 10.0072C120.646 10.3715 120.75 10.8132 120.75 11.3321C120.75 11.84 120.646 12.2816 120.437 12.657C120.24 13.0213 119.971 13.3029 119.631 13.5016Z",fill:"currentColor"}),D.createElement("path",{d:"M123.268 1.74526H120.701V7.80619L120.801 14.7758L120.816 15.7871H123.268V1.74526Z",fill:"currentColor"})),Letter:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M5.83301 7.5L9.99967 10.4167L14.1663 7.5",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M1.66699 14.1667V5.83334C1.66699 4.91286 2.41318 4.16667 3.33366 4.16667H16.667C17.5875 4.16667 18.3337 4.91286 18.3337 5.83334V14.1667C18.3337 15.0872 17.5875 15.8333 16.667 15.8333H3.33366C2.41318 15.8333 1.66699 15.0872 1.66699 14.1667Z",stroke:"black",strokeWidth:1.5})),Colon:e=>D.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M12 7.5H12.01M12 16.5H12.01M13 16.5C13 17.0523 12.5523 17.5 12 17.5C11.4477 17.5 11 17.0523 11 16.5C11 15.9477 11.4477 15.5 12 15.5C12.5523 15.5 13 15.9477 13 16.5ZM13 7.5C13 8.05228 12.5523 8.5 12 8.5C11.4477 8.5 11 8.05228 11 7.5C11 6.94772 11.4477 6.5 12 6.5C12.5523 6.5 13 6.94772 13 7.5Z",stroke:"#BCBCBC",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))},Bs={Discord:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M7.44775 11.8231C8.05182 11.8231 8.5415 11.2518 8.5415 10.547C8.5415 9.8423 8.05182 9.271 7.44775 9.271C6.84369 9.271 6.354 9.8423 6.354 10.547C6.354 11.2518 6.84369 11.8231 7.44775 11.8231Z",stroke:"currentColor",strokeLinejoin:"round"}),D.createElement("path",{d:"M12.5522 11.8231C13.1563 11.8231 13.646 11.2518 13.646 10.547C13.646 9.8423 13.1563 9.271 12.5522 9.271C11.9482 9.271 11.4585 9.8423 11.4585 10.547C11.4585 11.2518 11.9482 11.8231 12.5522 11.8231Z",stroke:"currentColor",strokeLinejoin:"round"}),D.createElement("path",{d:"M8.17708 5.26025C8.17708 5.26025 8.96429 4.89567 10 4.89567C11.0357 4.89567 11.8229 5.26025 11.8229 5.26025L12.1875 4.1665C13.4675 4.1665 14.419 4.38031 15.4688 4.89567C16.1979 6.11095 17.6563 9.56234 17.6563 13.6457C16.297 15.0487 15.2473 15.6406 13.6458 15.8332L12.5521 14.0103C12.1875 14.1318 11.1667 14.3748 10 14.3748C8.83333 14.3748 7.8125 14.1318 7.44792 14.0103L6.35417 15.8332C4.75271 15.6406 3.70302 15.0487 2.34375 13.6457C2.34375 9.56234 3.80208 6.11095 4.53125 4.89567C5.58094 4.38031 6.53251 4.1665 7.8125 4.1665L8.17708 5.26025Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M7.44808 14.0104C6.65602 13.8081 5.98975 13.2812 5.98975 13.2812",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M12.5522 14.0104C13.3443 13.8081 14.0106 13.2812 14.0106 13.2812",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Facebook:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M14.1667 1.6665H11.6667C10.5616 1.6665 9.50175 2.10549 8.72042 2.8869C7.93898 3.6683 7.5 4.7281 7.5 5.83317V8.33317H5V11.6665H7.5V18.3332H10.8333V11.6665H13.3333L14.1667 8.33317H10.8333V5.83317C10.8333 5.61215 10.9212 5.4002 11.0774 5.24391C11.2337 5.08764 11.4457 4.99984 11.6667 4.99984H14.1667V1.6665Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Globe:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M17.5 10C17.5 14.1422 14.1422 17.5 10 17.5M17.5 10C17.5 5.85787 14.1422 2.5 10 2.5M17.5 10C17.5 11.3807 14.1422 12.5 10 12.5C5.85787 12.5 2.5 11.3807 2.5 10M17.5 10C17.5 8.61925 14.1422 7.5 10 7.5C5.85787 7.5 2.5 8.61925 2.5 10M10 17.5C5.85787 17.5 2.5 14.1422 2.5 10M10 17.5C8.61925 17.5 7.5 14.1422 7.5 10C7.5 5.85787 8.61925 2.5 10 2.5M10 17.5C11.3807 17.5 12.5 14.1422 12.5 10C12.5 5.85787 11.3807 2.5 10 2.5M10 2.5C5.85787 2.5 2.5 5.85787 2.5 10",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Instagram:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M10 13.125C11.7259 13.125 13.125 11.7259 13.125 10C13.125 8.27411 11.7259 6.875 10 6.875C8.27411 6.875 6.875 8.27411 6.875 10C6.875 11.7259 8.27411 13.125 10 13.125Z",stroke:"currentColor",strokeWidth:1.5,strokeMiterlimit:10}),D.createElement("path",{d:"M13.75 2.5H6.25C4.17893 2.5 2.5 4.17893 2.5 6.25V13.75C2.5 15.8211 4.17893 17.5 6.25 17.5H13.75C15.8211 17.5 17.5 15.8211 17.5 13.75V6.25C17.5 4.17893 15.8211 2.5 13.75 2.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M14.0625 6.875C14.5803 6.875 15 6.45527 15 5.9375C15 5.41973 14.5803 5 14.0625 5C13.5447 5 13.125 5.41973 13.125 5.9375C13.125 6.45527 13.5447 6.875 14.0625 6.875Z",fill:"currentColor"})),LinkedIn:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("g",{clipPath:"url(#clip0_9526_984)"},D.createElement("path",{d:"M8.3335 7.5V15.8333",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M5 7.5V15.8333",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M8.3335 11.1458C8.3335 10.1789 8.72858 9.25157 9.43184 8.56784C10.1351 7.88411 11.0889 7.5 12.0835 7.5C13.0781 7.5 14.0319 7.88411 14.7351 8.56784C15.4384 9.25157 15.8335 10.1789 15.8335 11.1458V15.8333",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M4.99984 5.83317C5.46007 5.83317 5.83317 5.46007 5.83317 4.99984C5.83317 4.5396 5.46007 4.1665 4.99984 4.1665C4.5396 4.1665 4.1665 4.5396 4.1665 4.99984C4.1665 5.46007 4.5396 5.83317 4.99984 5.83317Z",fill:"currentColor"})),D.createElement("defs",null,D.createElement("clipPath",{id:"clip0_9526_984"},D.createElement("rect",{width:20,height:20,fill:"white"})))),Messenger:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"text-blue-500",...e},D.createElement("g",{clipPath:"url(#clip0_11535_195)"},D.createElement("path",{d:"M5.83301 11.6668L7.49584 9.67141C8.02595 9.03533 8.29101 8.71725 8.61076 8.71725C8.93059 8.71725 9.19559 9.03533 9.72576 9.67141L10.2736 10.3289C10.8038 10.965 11.0688 11.2831 11.3886 11.2831C11.7083 11.2831 11.9734 10.965 12.5035 10.3289L14.1663 8.3335",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M10.0003 18.3332C14.6027 18.3332 18.3337 14.6022 18.3337 9.99984C18.3337 5.39746 14.6027 1.6665 10.0003 1.6665C5.39795 1.6665 1.66699 5.39746 1.66699 9.99984C1.66699 11.1489 1.89955 12.2437 2.32018 13.2396C2.55264 13.7899 2.66888 14.0652 2.68327 14.2732C2.69766 14.4812 2.63644 14.7099 2.51401 15.1675L1.66699 18.3332L4.83263 17.4862C5.29023 17.3638 5.51903 17.3025 5.72701 17.3169C5.935 17.3313 6.2102 17.4475 6.76062 17.68C7.75653 18.1006 8.85124 18.3332 10.0003 18.3332Z",stroke:"currentColor",strokeWidth:1.5,strokeLinejoin:"round"})),D.createElement("defs",null,D.createElement("clipPath",{id:"clip0_11535_195"},D.createElement("rect",{width:20,height:20,fill:"white"})))),Telegram:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5 text-current",...e},D.createElement("path",{fill:"none",stroke:"currentColor",d:"M16.4814 3.69133C17.388 3.30961 18.3599 4.07621 18.1998 5.04679L16.3091 16.5107C16.1267 17.616 14.9127 18.2503 13.8987 17.6995C13.0501 17.2385 11.7911 16.5291 10.6564 15.7877C10.0898 15.4175 8.35491 14.2303 8.56816 13.3852C8.75049 12.6626 11.6671 9.94771 13.3337 8.33313C13.9884 7.69891 13.6902 7.33251 12.9171 7.91646C10.9991 9.36505 7.91976 11.5675 6.90146 12.1873C6.00301 12.7341 5.53391 12.8275 4.97437 12.7341C3.9526 12.5639 3.00529 12.3002 2.23189 11.9796C1.18658 11.5463 1.2375 10.1098 2.23118 9.69146L16.4814 3.69133Z",strokeWidth:1.5})),Tiktok:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M13.125 7.96875C14.3992 8.88589 15.9301 9.37796 17.5 9.375V6.25C16.3397 6.25 15.2269 5.78906 14.4064 4.96859C13.5859 4.14812 13.125 3.03532 13.125 1.875H10V12.1875C9.99984 12.5789 9.89464 12.9631 9.69539 13.3001C9.49614 13.637 9.21014 13.9143 8.86721 14.103C8.52428 14.2917 8.137 14.385 7.74575 14.3731C7.3545 14.3611 6.97362 14.2444 6.64284 14.0351C6.31207 13.8258 6.04351 13.5316 5.86519 13.1831C5.68686 12.8347 5.6053 12.4448 5.62902 12.0541C5.65273 11.6633 5.78085 11.2861 6.00001 10.9618C6.21917 10.6375 6.52134 10.3779 6.875 10.2102V6.875C4.38828 7.31797 2.5 9.57344 2.5 12.1875C2.5 13.5965 3.05971 14.9477 4.056 15.944C5.05228 16.9403 6.40354 17.5 7.8125 17.5C9.22146 17.5 10.5727 16.9403 11.569 15.944C12.5653 14.9477 13.125 13.5965 13.125 12.1875V7.96875Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),X:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M10.7984 7.86419L7.3123 2.89944L7.26004 2.825H7.16908H3H2.66326L2.85679 3.10057L8.24368 10.7713L2.86858 16.8844L2.6131 17.175H3H4.235H4.31417L4.36644 17.1155L8.99829 11.8462L12.6877 17.1006L12.74 17.175H12.8309H17H17.3367L17.1432 16.8994L11.5558 8.94081L16.6773 3.11555L16.9327 2.825H16.5459H15.3109H15.2317L15.1795 2.88441L10.7984 7.86419ZM9.78384 10.7501L9.78376 10.7499L9.22913 9.97445L9.22909 9.97441L5.02055 4.08603H6.48756L9.99218 8.98989L9.99234 8.99013L10.5445 9.76543L10.5447 9.76566L14.9701 15.9584H13.5031L9.78384 10.7501Z",fill:"currentColor",stroke:"currentColor",strokeWidth:.35})),Youtube:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M17.9847 5.99975C17.8947 5.64022 17.7115 5.31082 17.4535 5.0448C17.1954 4.77878 16.8717 4.58556 16.5152 4.48467C15.2122 4.1665 10.0003 4.1665 10.0003 4.1665C10.0003 4.1665 4.78848 4.1665 3.48551 4.51497C3.1289 4.61586 2.80523 4.80908 2.54718 5.0751C2.28915 5.34112 2.10588 5.67052 2.01589 6.03005C1.77743 7.35236 1.66078 8.69375 1.66743 10.0374C1.65893 11.3912 1.77558 12.7428 2.01589 14.0751C2.1151 14.4234 2.30248 14.7403 2.55991 14.9951C2.81735 15.2498 3.13615 15.4339 3.48551 15.5296C4.78848 15.878 10.0003 15.878 10.0003 15.878C10.0003 15.878 15.2122 15.878 16.5152 15.5296C16.8717 15.4287 17.1954 15.2354 17.4535 14.9694C17.7115 14.7034 17.8947 14.374 17.9847 14.0145C18.2214 12.7021 18.338 11.3709 18.3332 10.0374C18.3417 8.68367 18.2251 7.33202 17.9847 5.99975Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M8.125 7.88782C8.125 7.49009 8.125 7.29122 8.20812 7.1802C8.28055 7.08345 8.39142 7.02291 8.512 7.0143C8.65033 7.00442 8.81758 7.11195 9.15217 7.32704L12.4378 9.4393C12.7282 9.62588 12.8733 9.71921 12.9235 9.83788C12.9672 9.94155 12.9672 10.0585 12.9235 10.1622C12.8733 10.2809 12.7282 10.3742 12.4378 10.5608L9.15217 12.673C8.81758 12.8881 8.65033 12.9957 8.512 12.9858C8.39142 12.9772 8.28055 12.9166 8.20812 12.8199C8.125 12.7089 8.125 12.51 8.125 12.1123V7.88782Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))},T$e=[{link:"https://discord.gg/",key:"discordURL",icon:Bs.Discord},{link:"https://instagram.com/",key:"instagramURL",icon:Bs.Instagram},{link:"https://facebook.com/",key:"facebookURL",icon:Bs.Facebook},{link:"mailto:",key:"infoEmail",icon:D1.Letter},{link:"https://linkedin.com/",key:"linkedinURL",icon:Bs.LinkedIn},{link:"https://tiktok.com/@",key:"tiktokURL",icon:Bs.Tiktok},{link:"https://twitter.com/",key:"twitterURL",icon:Bs.X},{link:"http://",key:"webURL",icon:Bs.Globe},{link:"https://youtube.com/@",key:"youtubeURL",icon:Bs.Youtube},{link:"https://t.me/",key:"telegramURL",icon:Bs.Telegram},{link:"https://m.me/",key:"messengerURL",icon:Bs.Messenger}],D$e=({as:e,...t})=>{const{isDarkTheme:r}=Je();return p.jsx(Fi,{as:e,display:"flex",alignItems:"center",justifyContent:"center",fontSize:16,fontWeight:400,color:t.color||r?"#FFF":"#000",cursor:"pointer",...t,children:t.children})},eY=g.memo(({socialChannels:e})=>{const{shopDesign:{foreground:t}}=Je(),r=n=>T$e.find(o=>o.key.replace("URL","").toLowerCase()===n.toLowerCase());return p.jsx("div",{className:"flex flex-wrap gap-2",children:(e??[]).filter(n=>!!n.links?.url&&!!n.links?.channel).map((n,o)=>{const{channel:s,url:i}=n.links,a=r(s);if(!a)return null;const l=a.icon;let c=i;return j4(c)?c=I4(c):c=`${a.link}${c.replace(/^\//,"")}`,p.jsx("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"inline-block rounded-md p-[10px] transition-colors duration-100 ease-out",style:{backgroundColor:t},children:p.jsx(D$e,{as:l,w:"20px",h:"20px"})},s+o)})})}),M$e=xh(),O$e=({socialChannels:e,description:t})=>{const{isDarkTheme:r}=Je(),n=M$e(s=>s.appState.data.shopDefaultData.logo),o=r?"text-[#7b7b7b]":"text-[#B1B1B1]";return p.jsxs("div",{className:"mb-12 flex-1 md:mb-0",children:[p.jsx(Jq,{src:n,alt:"Logo",maxW:"128px",objectFit:"contain",className:"mb-6 md:mb-9"}),t?.text&&p.jsx(ct,{className:`mb-6 text-sm ${o} md:mb-9 max-w-[70%] md:max-w-[90%] sm:max-w-[100%]`,children:t.text}),p.jsx("div",{className:"flex w-full flex-wrap justify-start gap-3 sm:w-auto sm:justify-start",children:p.jsx(eY,{socialChannels:e??[]})})]})},A$e=()=>{const{isDarkTheme:e,shopDesign:{foreground:t}}=Je(),r=e?"text-text-subtextPlaceholder-Dark":"text-text-subtextPlaceholder-Light",n=e?"text-white":"text-black";return p.jsx("div",{className:"py-4",style:{backgroundColor:t},children:p.jsx("div",{className:"flex justify-center",children:p.jsx(jn,{children:p.jsx("a",{href:"https://droplinked.com",target:"_blank",rel:"noopener noreferrer",children:p.jsx("div",{className:"flex flex-col justify-between md:flex-grow md:flex-row",children:p.jsxs(ct,{className:`flex text-sm ${r}`,children:["Powered by ",p.jsx(D1.DroplinkedLogo,{className:`ml-2 h-5 ${n}`})]})})})})})})},j$e=({description:e,socialChannels:t,linkManagement:r})=>{const{shopDesign:{foreground:n,backgroundBody:o}}=Je();return p.jsxs("footer",{className:"bg-shop-background",children:[p.jsx("hr",{className:"border",style:{borderColor:n}}),p.jsxs("div",{className:"flex flex-col text-base",children:[p.jsx("div",{className:"flex justify-center py-9 md:py-12 lg:py-14",children:p.jsx(jn,{children:p.jsxs("div",{className:"flex w-full flex-col justify-between md:flex-row",children:[p.jsx(O$e,{socialChannels:t,description:e}),p.jsx(E$e,{linkManagement:r})]})})}),p.jsx(A$e,{})]})]})},I$e={label:"Footer",labelIcon:p.jsx(rs,{color:"#fff"}),visualExample:p.jsx("div",{}),permissions:{delete:!1,drag:!1,duplicate:!1,insert:!1},fields:{description:{type:"object",label:"Description",objectFields:{text:{type:"textarea",placeholder:"Footer description text"}}},socialChannels:{type:"array",label:"Social Channels",max:8,getItemSummary(e,t){return`Link ${t+1}`},arrayFields:{links:{type:"socialChannels"}}},linkManagement:{type:"object",label:"Link Management",objectFields:{firstColumn:{type:"object",label:"First Column",objectFields:{name:{type:"text",label:"Name",placeholder:"Column Name"},links:{type:"array",label:"noLabel",getItemSummary(e,t){return`Link ${t+1}`},arrayFields:{list:{type:"link"}}}}},secondColumn:{type:"object",label:"Second Column",objectFields:{name:{type:"text",label:"Name",placeholder:"Column Name"},links:{type:"array",label:"noLabel",getItemSummary(e,t){return`Link ${t+1}`},arrayFields:{list:{type:"link"}}}}}}}},render:({description:e,socialChannels:t,linkManagement:r})=>p.jsx(en,{children:p.jsx(j$e,{description:e,socialChannels:t,linkManagement:r})})},$$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsx("path",{d:"M6.66699 15.4167C6.66699 14.7263 7.22664 14.1667 7.91699 14.1667C8.60737 14.1667 9.16699 14.7263 9.16699 15.4167C9.16699 16.107 8.60737 16.6667 7.91699 16.6667C7.22664 16.6667 6.66699 16.107 6.66699 15.4167Z",fill:e}),p.jsx("path",{d:"M13.333 15.4167C13.333 14.7263 13.8926 14.1667 14.583 14.1667C15.2734 14.1667 15.833 14.7263 15.833 15.4167C15.833 16.107 15.2734 16.6667 14.583 16.6667C13.8926 16.6667 13.333 16.107 13.333 15.4167Z",fill:e}),p.jsx("path",{d:"M2.5 4.16667H3.79732C4.03379 4.16667 4.2451 4.31215 4.3265 4.53098L6.74873 11.0428C7.07433 11.9181 7.91957 12.5 8.86544 12.5H13.8385C14.8088 12.5 15.6704 11.8879 15.9773 10.9806L17.4706 6.56457C17.5924 6.20484 17.3207 5.83334 16.936 5.83334H8.41804",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),tY=({color:e="black",...t})=>p.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:p.jsx("path",{d:"M4.1665 17.5C4.1665 14.2783 6.77818 11.6667 9.99984 11.6667C13.2215 11.6667 15.8332 14.2783 15.8332 17.5M13.3332 5.83333C13.3332 7.67428 11.8408 9.16667 9.99984 9.16667C8.15889 9.16667 6.6665 7.67428 6.6665 5.83333C6.6665 3.99238 8.15889 2.5 9.99984 2.5C11.8408 2.5 13.3332 3.99238 13.3332 5.83333Z",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});function L$e({icon:e,cartItemCount:t}){const r=t;return p.jsxs(Ee,{position:"relative",children:[r?p.jsx(pc,{position:"absolute",top:"-5px",right:"-5px",size:5,fontSize:12,backgroundColor:"#111",color:"#FFF",userSelect:"none",children:r}):null,e]})}function F$e({iconColor:e,onCartClick:t,ProfileDropdownWrapper:r,cartItemCount:n}){const{shopDesign:{backgroundBody:o}}=Je(),s=(i,a)=>D.cloneElement(i,{cursor:"pointer",width:"40px",height:"40px",color:e,style:{transition:"all 0.5s ease",border:`1px solid ${b8(o)?"#292929":"#F2F2F2"} `,padding:"10px",borderRadius:"8px",color:e},...a});return p.jsxs(Tc,{spacing:{base:4,lg:"4px"},children:[p.jsx(L$e,{icon:s(p.jsx($$e,{}),{onClick:t}),cartItemCount:n}),r?p.jsx(r,{children:p.jsx(Ee,{display:{base:"none",md:"block"},children:s(p.jsx(tY,{}))})}):p.jsx(Ee,{display:{base:"none",md:"block"},children:s(p.jsx(tY,{}))})]})}const rY=(e,t,r={showCurrency:!0,showAbbreviation:!1,roundToWhole:!1})=>{const o={...{decimalPlaces:t.abbreviation==="JPY"?0:2,thousandsSeparator:",",decimalSeparator:".",symbolPosition:"before",spaceBetweenAmountAndSymbol:!1,locale:"en-US"},...t},s=r.roundToWhole?0:o.decimalPlaces,i=new Intl.NumberFormat(o.locale,{minimumFractionDigits:s,maximumFractionDigits:s}),a=+my(e,t.conversionRateToUSD);let l=i.format(a);if(r.showCurrency&&t.symbol){const c=o.spaceBetweenAmountAndSymbol?" ":"";o.symbolPosition==="before"?l=`${t.symbol}${c}${l}`:l=`${l}${c}${t.symbol}`}return`${l} ${r.showAbbreviation?t.abbreviation:""}`};function Sl(e){const{shopDesign:{fontfamily:t,textColorParagraphs:r}}=Je();return p.jsx(Le,{fontFamily:`${t} !important`,color:r||"#FFF",...e,children:e.children})}Sl.Price=function({price:t,...r}){const{states:{shop:{currency:n}}}=In();return p.jsx(Sl,{...r,children:n?.conversionRateToUSD?rY(+t,n):`$${t} USD`})},Sl.CustomTokenPrice=function({price:t,...r}){const{states:{shop:{tokenBasedPricing:n}}}=In(),{token:o,tokenSign:s,hasTokenBasedPricing:i,unit:a}=n,l=i?a:1,c=i?o:"USD",u=+t*l,f={calculated_price:!isNaN(u)&&u>=1?u.toFixed(2):u.toPrecision(u>.001?3:6),currency:c};return i?p.jsx(Sl,{...r,children:`${f.calculated_price} ${f.currency}`}):null};function nY({type:e,onClose:t,textColor:r,linkManagement:n}){return p.jsx(xe,{flexDirection:e==="vertical"?"column":"row",gap:"36px",children:n?.map((o,s)=>p.jsx("a",{href:o?.link?.url,children:p.jsx(Sl,{...r&&{color:r},className:"opacity-80 hover:opacity-100 transition-all",children:o?.link?.label})},s))})}var oY={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},sY=g.createContext&&g.createContext(oY),ha=function(){return ha=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},ha.apply(this,arguments)},N$e=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function iY(e){return e&&e.map(function(t,r){return g.createElement(t.tag,ha({key:r},t.attr),iY(t.child))})}function R$e(e){return function(t){return g.createElement(B$e,ha({attr:ha({},e.attr)},t),iY(e.child))}}function B$e(e){var t=function(r){var n=e.attr,o=e.size,s=e.title,i=N$e(e,["attr","size","title"]),a=o||r.size||"1em",l;return r.className&&(l=r.className),e.className&&(l=(l?l+" ":"")+e.className),g.createElement("svg",ha({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,i,{className:l,style:ha(ha({color:e.color||r.color},r.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),s&&g.createElement("title",null,s),e.children)};return sY!==void 0?g.createElement(sY.Consumer,null,function(r){return t(r)}):t(oY)}function V$e(e){return R$e({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"48",d:"M88 152h336M88 256h336M88 360h336"}}]})(e)}function z$e({iconColor:e,linkManagement:t,ProfileDropdownWrapper:r}){const{isOpen:n,onOpen:o,onClose:s}=Rl(),{states:{user:i,shop:{url:a}}}=In(),{id:l}=i?.[a]||{},{shopDesign:{backgroundBody:c}}=Je(),[u]=hg("(min-width: 768px)"),{defineMultiStyleConfig:d}=ft(uE.keys),f=d({baseStyle:{dialogContainer:{zIndex:99}}});return D.useEffect(()=>{u&&s()},[u]),p.jsxs(Ee,{display:{base:"block",md:"none"},children:[p.jsx(V$e,{style:{width:"24px",height:"24px"},color:e,onClick:()=>{n?s():o()}}),p.jsx(Lge,{styleConfig:f,isFullHeight:!0,placement:"top",onClose:s,isOpen:n,children:p.jsx(rO,{background:c,top:"4rem !important",height:"100vh",padding:"0rem 1rem",children:p.jsx(JM,{className:"mt-[24px] h-full",children:p.jsxs(vs,{width:"100%",height:"80%",justifyContent:"space-between",alignItems:"start",overflow:"auto",children:[p.jsx(nY,{type:"vertical",onClose:()=>s(),linkManagement:t}),p.jsx(vs,{gap:"16px",width:"100%",children:r?p.jsx(r,{children:p.jsx(kl,{variant:"outline",children:p.jsx(Sl,{children:l?"Account":"Sign In"})})}):p.jsx(kl,{variant:"outline",children:p.jsx(Sl,{children:l?"Account":"Sign In"})})})]})})})})]})}const H$e=({linkManagement:e,onCartClick:t,ProfileDropdownWrapper:r,cartItemCount:n,isRendering:o})=>{const{states:{shop:s},methods:{updateState:i}}=In(),{shopDesign:{backgroundBody:a,iconHeaderColor:l}}=Je();s.isAgeRestricted&&s.isRestricted;const[c,u]=g.useState(!1),d=a,f="rgba(0, 0, 0, 0.25) 0px 0px 4px",h=l;return g.useEffect(()=>{if(!o){sessionStorage.getItem("isRestricted")==="false"&&i({state:"shop",value:{...s,isRestricted:!1}});const v=()=>{const y=window.scrollY;u(y>10)};return window.addEventListener("scroll",v),()=>window.removeEventListener("scroll",v)}},[o,s.isRestricted]),p.jsx(Ee,{...o&&{marginBottom:{base:14,md:20}},zIndex:999,children:p.jsx(xe,{as:"header",position:o||c?"fixed":"relative",zIndex:999,top:"0",right:"0",left:"0",width:"full",justifyContent:"center",backgroundColor:d,boxShadow:f,transition:"all 0.3s ease",children:p.jsxs(jn,{props:{justifyContent:"space-between",alignItems:"center",paddingBlock:{base:2,md:5}},children:[p.jsxs(Tc,{gap:{base:"16px",md:"100px"},children:[p.jsx(z$e,{iconColor:h,linkManagement:e,ProfileDropdownWrapper:r}),p.jsx(Ee,{maxWidth:"150px",children:p.jsx(Jq,{height:"31px",objectFit:"contain"})}),p.jsx(Ee,{display:{base:"none",md:"block"},children:p.jsx(nY,{type:"horizontal",linkManagement:e})})]}),p.jsx(F$e,{iconColor:h,onCartClick:t,ProfileDropdownWrapper:r,cartItemCount:n})]})})})},W$e={label:"Header",labelIcon:p.jsx(rs,{color:"#fff"}),visualExample:p.jsx("div",{}),permissions:{delete:!1,drag:!1,duplicate:!1,insert:!1},fields:{linkManagement:{type:"array",label:"Link Management",min:1,max:10,getItemSummary(e,t){return`Link ${t+1}`},arrayFields:{link:{type:"link",label:"Link"}}}},defaultProps:{linkManagement:[{link:{label:"Home",url:"droplinked.io/unstoppable"}},{link:{label:"Blogs",url:"droplinked.io/unstoppable/blogs"}},{link:{label:"Collections",url:"droplinked.io/unstoppable/collections"}}]},render:({linkManagement:e,onCartClick:t,ProfileDropdownWrapper:r,cartItemCount:n,isRendering:o})=>p.jsx(en,{children:p.jsx(H$e,{linkManagement:e,onCartClick:t,ProfileDropdownWrapper:r,cartItemCount:n,isRendering:o})})},$4={layout:{title:"Layout",visible:!1,components:["headerComponent","footerComponent"]}},M1={headerComponent:W$e,footerComponent:I$e},aY={products:{title:"Products",components:["productGridList","productsSummary"]}},It={SearchInputIcon:e=>D.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z",fill:"#F2F2F2"}),D.createElement("path",{d:"M8.66699 18.6668L15.3337 5.3335",stroke:"#7B7B7B",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Search:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Discount:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M3.32408 12.217L2.05742 10.9503C1.54076 10.4337 1.54076 9.58365 2.05742 9.06698L3.32408 7.8003C3.54075 7.58363 3.71575 7.15863 3.71575 6.85863V5.06694C3.71575 4.33361 4.31575 3.73363 5.04909 3.73363H6.84075C7.14075 3.73363 7.56575 3.55865 7.78242 3.34199L9.04908 2.07531C9.56574 1.55864 10.4158 1.55864 10.9324 2.07531L12.1991 3.34199C12.4158 3.55865 12.8407 3.73363 13.1407 3.73363H14.9324C15.6658 3.73363 16.2657 4.33361 16.2657 5.06694V6.85863C16.2657 7.15863 16.4407 7.58363 16.6574 7.8003L17.9241 9.06698C18.4408 9.58365 18.4408 10.4337 17.9241 10.9503L16.6574 12.217C16.4407 12.4337 16.2657 12.8587 16.2657 13.1587V14.9503C16.2657 15.6836 15.6658 16.2837 14.9324 16.2837H13.1407C12.8407 16.2837 12.4158 16.4587 12.1991 16.6753L10.9324 17.942C10.4158 18.4587 9.56574 18.4587 9.04908 17.942L7.78242 16.6753C7.56575 16.4587 7.14075 16.2837 6.84075 16.2837H5.04909C4.31575 16.2837 3.71575 15.6836 3.71575 14.9503V13.1587C3.71575 12.8503 3.54075 12.4253 3.32408 12.217Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M7.5 12.5L12.5 7.5",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M12.0791 12.0834H12.0866",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M7.91209 7.91667H7.91957",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Gated:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M7.91176 7.5H6.19965C5.81118 7.5 5.61695 7.5 5.43416 7.54521C5.27211 7.5853 5.11718 7.65142 4.97508 7.74114C4.8148 7.84233 4.67745 7.98382 4.40277 8.26682L3.24429 9.46045C2.96961 9.74345 2.83226 9.88491 2.73404 10.0501C2.64696 10.1965 2.58279 10.3561 2.54388 10.5231C2.5 10.7114 2.5 10.9115 2.5 11.3117V14.8818C2.5 15.7983 2.5 16.2565 2.67311 16.6065C2.82538 16.9145 3.06835 17.1647 3.36719 17.3216C3.70694 17.5 4.15169 17.5 5.04118 17.5H14.9588C15.8483 17.5 16.293 17.5 16.6328 17.3216C16.9317 17.1647 17.1746 16.9145 17.3269 16.6065C17.5 16.2565 17.5 15.7983 17.5 14.8818V11.3117C17.5 10.9115 17.5 10.7114 17.4561 10.5231C17.4172 10.3561 17.353 10.1965 17.266 10.0501C17.1677 9.88491 17.0304 9.74345 16.7557 9.46045L15.5972 8.26682C15.3225 7.98382 15.1852 7.84233 15.0249 7.74114C14.8829 7.65142 14.7279 7.5853 14.5658 7.54521C14.3831 7.5 14.1888 7.5 13.8004 7.5H12.0882",stroke:"black",strokeWidth:1.5}),D.createElement("path",{d:"M17.5 11.25H15.2425C14.6286 11.25 14.3217 11.25 14.0906 11.4073C13.8596 11.5646 13.7625 11.8396 13.5684 12.3896L13.4904 12.6104C13.2963 13.1604 13.1992 13.4354 12.9682 13.5927C12.7371 13.75 12.4302 13.75 11.8163 13.75H8.18369C7.56982 13.75 7.26289 13.75 7.03181 13.5927C6.80073 13.4354 6.70367 13.1604 6.50954 12.6104L6.43163 12.3896C6.23751 11.8396 6.14045 11.5646 5.90937 11.4073C5.67829 11.25 5.37135 11.25 4.75748 11.25H2.5",stroke:"black",strokeWidth:1.5}),D.createElement("path",{d:"M11.6667 5.41667H12.25C12.3881 5.41667 12.5 5.52858 12.5 5.66667V8.5C12.5 8.63808 12.3881 8.75 12.25 8.75H7.75C7.61193 8.75 7.5 8.63808 7.5 8.5V5.66667C7.5 5.52858 7.61193 5.41667 7.75 5.41667H8.33333M11.6667 5.41667V4.16667C11.6667 3.61111 11.3333 2.5 10 2.5C8.66667 2.5 8.33333 3.61111 8.33333 4.16667V5.41667M11.6667 5.41667H8.33333",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),ResetFilters:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M1.33301 6.66667C1.33301 6.66667 2.66966 4.84548 3.75556 3.75883C4.84147 2.67218 6.34207 2 7.99967 2C11.3134 2 13.9997 4.68629 13.9997 8C13.9997 11.3137 11.3134 14 7.99967 14C5.26428 14 2.95642 12.1695 2.23419 9.66667M1.33301 6.66667V2.66667M1.33301 6.66667H5.33301",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),BlackChevronDown:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M5 7.5L10 12.5L15 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Separator:e=>D.createElement("svg",{width:10,height:2,viewBox:"0 0 10 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M1 1H9",stroke:"#DEDEDE",strokeWidth:2,strokeLinecap:"round"})),DollarSign:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M4 10.6666C4 12.1394 5.19391 13.3333 6.66667 13.3333H9.33333C10.8061 13.3333 12 12.1394 12 10.6666C12 9.19389 10.8061 7.99998 9.33333 7.99998H6.66667C5.19391 7.99998 4 6.80607 4 5.33331C4 3.86055 5.19391 2.66665 6.66667 2.66665H9.33333C10.8061 2.66665 12 3.86055 12 5.33331M8 1.33331V14.6666",stroke:"#B1B1B1",strokeLinecap:"round",strokeLinejoin:"round"})),GrayChevronDown:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M4 6L8 10L12 6",stroke:"#B1B1B1",strokeLinecap:"round",strokeLinejoin:"round"})),Filter:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M1.66699 3.83333C1.66699 3.36662 1.66699 3.13327 1.75782 2.95501C1.83771 2.79821 1.9652 2.67072 2.122 2.59083C2.30026 2.5 2.53361 2.5 3.00033 2.5H17.0003C17.467 2.5 17.7004 2.5 17.8787 2.59083C18.0355 2.67072 18.1629 2.79821 18.2428 2.95501C18.3337 3.13327 18.3337 3.36662 18.3337 3.83333V4.39116C18.3337 4.61516 18.3337 4.72716 18.3063 4.8313C18.282 4.92359 18.2421 5.01103 18.1882 5.0898C18.1275 5.17869 18.0428 5.25204 17.8736 5.39875L12.5438 10.0179C12.3745 10.1646 12.2898 10.238 12.2291 10.3269C12.1752 10.4056 12.1353 10.4931 12.111 10.5854C12.0837 10.6895 12.0837 10.8015 12.0837 11.0255V15.382C12.0837 15.5449 12.0837 15.6264 12.0574 15.6969C12.0342 15.7591 11.9964 15.8149 11.9472 15.8596C11.8916 15.9102 11.8159 15.9404 11.6646 16.001L8.83125 17.1343C8.52497 17.2568 8.37182 17.3181 8.24889 17.2925C8.14138 17.2702 8.04704 17.2063 7.98637 17.1148C7.91699 17.0101 7.91699 16.8452 7.91699 16.5153V11.0255C7.91699 10.8015 7.91699 10.6895 7.88962 10.5854C7.86536 10.4931 7.82544 10.4056 7.77158 10.3269C7.71081 10.238 7.62617 10.1646 7.4569 10.0179L2.12708 5.39875C1.95781 5.25204 1.87318 5.17869 1.8124 5.0898C1.75855 5.01103 1.71862 4.92359 1.69436 4.8313C1.66699 4.72716 1.66699 4.61516 1.66699 4.39116V3.83333Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Cross:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M15 5L5 15M5 5L15 15",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Sort:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("g",{clipPath:"url(#clip0_4678_6969)"},D.createElement("path",{d:"M3.75 10H9.0625",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M3.75 5H14.0625",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M3.75 15H7.8125",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M11.25 13.125L14.375 16.25L17.5 13.125",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M14.375 16.25V8.75",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),D.createElement("defs",null,D.createElement("clipPath",{id:"clip0_4678_6969"},D.createElement("rect",{width:20,height:20,fill:"white"})))),ListView:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M6.66667 4.99967L17.5 5.00032M6.66667 9.99967L17.5 10.0003M6.66667 14.9997L17.5 15.0003M2.5 5.41634H3.33333V4.58301H2.5V5.41634ZM2.5 10.4163H3.33333V9.58301H2.5V10.4163ZM2.5 15.4163H3.33333V14.583H2.5V15.4163Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),GridView:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M11.667 4.66634C11.667 4.19963 11.667 3.96627 11.7578 3.78802C11.8377 3.63122 11.9652 3.50373 12.122 3.42383C12.3002 3.33301 12.5336 3.33301 13.0003 3.33301H15.3337C15.8004 3.33301 16.0337 3.33301 16.212 3.42383C16.3688 3.50373 16.4962 3.63122 16.5762 3.78802C16.667 3.96627 16.667 4.19963 16.667 4.66634V6.99967C16.667 7.46638 16.667 7.69974 16.5762 7.878C16.4962 8.0348 16.3688 8.16228 16.212 8.24218C16.0337 8.33301 15.8004 8.33301 15.3337 8.33301H13.0003C12.5336 8.33301 12.3002 8.33301 12.122 8.24218C11.9652 8.16228 11.8377 8.0348 11.7578 7.878C11.667 7.69974 11.667 7.46638 11.667 6.99967V4.66634Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M3.33301 4.66634C3.33301 4.19963 3.33301 3.96627 3.42383 3.78802C3.50373 3.63122 3.63122 3.50373 3.78802 3.42383C3.96627 3.33301 4.19963 3.33301 4.66634 3.33301H6.99967C7.46638 3.33301 7.69974 3.33301 7.878 3.42383C8.0348 3.50373 8.16228 3.63122 8.24218 3.78802C8.33301 3.96627 8.33301 4.19963 8.33301 4.66634V6.99967C8.33301 7.46638 8.33301 7.69974 8.24218 7.878C8.16228 8.0348 8.0348 8.16228 7.878 8.24218C7.69974 8.33301 7.46638 8.33301 6.99967 8.33301H4.66634C4.19963 8.33301 3.96627 8.33301 3.78802 8.24218C3.63122 8.16228 3.50373 8.0348 3.42383 7.878C3.33301 7.69974 3.33301 7.46638 3.33301 6.99967V4.66634Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M3.33301 13.0003C3.33301 12.5336 3.33301 12.3002 3.42383 12.122C3.50373 11.9652 3.63122 11.8377 3.78802 11.7578C3.96627 11.667 4.19963 11.667 4.66634 11.667H6.99967C7.46638 11.667 7.69974 11.667 7.878 11.7578C8.0348 11.8377 8.16228 11.9652 8.24218 12.122C8.33301 12.3002 8.33301 12.5336 8.33301 13.0003V15.3337C8.33301 15.8004 8.33301 16.0337 8.24218 16.212C8.16228 16.3688 8.0348 16.4962 7.878 16.5762C7.69974 16.667 7.46638 16.667 6.99967 16.667H4.66634C4.19963 16.667 3.96627 16.667 3.78802 16.5762C3.63122 16.4962 3.50373 16.3688 3.42383 16.212C3.33301 16.0337 3.33301 15.8004 3.33301 15.3337V13.0003Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M11.667 13.0003C11.667 12.5336 11.667 12.3002 11.7578 12.122C11.8377 11.9652 11.9652 11.8377 12.122 11.7578C12.3002 11.667 12.5336 11.667 13.0003 11.667H15.3337C15.8004 11.667 16.0337 11.667 16.212 11.7578C16.3688 11.8377 16.4962 11.9652 16.5762 12.122C16.667 12.3002 16.667 12.5336 16.667 13.0003V15.3337C16.667 15.8004 16.667 16.0337 16.5762 16.212C16.4962 16.3688 16.3688 16.4962 16.212 16.5762C16.0337 16.667 15.8004 16.667 15.3337 16.667H13.0003C12.5336 16.667 12.3002 16.667 12.122 16.5762C11.9652 16.4962 11.8377 16.3688 11.7578 16.212C11.667 16.0337 11.667 15.8004 11.667 15.3337V13.0003Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),AED:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M5.66634 12.6667H3.33301",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M5.73259 10.9861C5.6196 10.8645 5.47811 10.7729 5.32089 10.7196C5.16367 10.6664 4.99566 10.6531 4.83201 10.681C4.66837 10.7088 4.51424 10.777 4.38354 10.8794C4.25283 10.9817 4.14966 11.115 4.08332 11.2671C4.01698 11.4193 3.98957 11.5856 4.00356 11.751C4.01754 11.9164 4.07249 12.0757 4.16343 12.2146C4.25438 12.3535 4.37847 12.4675 4.5245 12.5465C4.67054 12.6254 4.83393 12.6667 4.99993 12.6667",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M4.66699 2.66675V8.66675",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M10 8.66675H11.2587C11.4346 8.6668 11.6075 8.62043 11.7598 8.53231C11.9121 8.44419 12.0384 8.31744 12.1261 8.16487C12.2137 8.0123 12.2596 7.83931 12.259 7.66335C12.2584 7.4874 12.2113 7.31472 12.1227 7.16275L10.6667 4.66675",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M7.33301 8.67341V8.66675",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),CNY:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("g",{clipPath:"url(#clip0_11486_208)"},D.createElement("path",{d:"M4 4H12",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M3 7.5H13",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M9.5 7.5V11C9.5 11.3978 9.65804 11.7794 9.93934 12.0607C10.2206 12.342 10.6022 12.5 11 12.5H13.5V11",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M6.5 7.5V8.5C6.5 9.56087 6.07857 10.5783 5.32843 11.3284C4.57828 12.0786 3.56087 12.5 2.5 12.5",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),D.createElement("defs",null,D.createElement("clipPath",{id:"clip0_11486_208"},D.createElement("rect",{width:16,height:16,fill:"white"})))),GBP:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M11.6663 13.6666H4.33301C4.33301 13.6666 6.66634 11.8275 6.66634 8.99992C6.66634 7.11492 5.27551 6.44074 5.25547 4.8699C5.25678 1.76044 9.00001 1.92577 10.3011 3.16164M4.33301 8.99992H9.99967",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),EUR:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M12.6667 3.67927C11.6784 2.83974 10.3983 2.33325 9 2.33325C5.87039 2.33325 3.33333 4.8703 3.33333 7.99992C3.33333 11.1295 5.87039 13.6666 9 13.6666C10.3983 13.6666 11.6784 13.1601 12.6667 12.3206M2 9.33325H8.66667M2 6.66659H8.66667",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),CAD:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M7 12H6.28571C5.14907 12 4.05898 11.5786 3.25526 10.8284C2.45153 10.0783 2 9.06087 2 8C2 6.93913 2.45153 5.92172 3.25526 5.17157C4.05898 4.42143 5.14907 4 6.28571 4H7",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M8 10C8 11.1046 8.89543 12 10 12H12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8H10C8.89543 8 8 7.10457 8 6C8 4.89543 8.89543 4 10 4H12C13.1046 4 14 4.89543 14 6M11 3V13",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),JPY:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M5 10.5H11",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M5 8.5H11",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M8 8.5V13.5",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M12.5 3L8 8.5L3.5 3",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}))};function Ve(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function U$e(e,t){const r=D.createContext(t),n=s=>{const{children:i,...a}=s,l=D.useMemo(()=>a,Object.values(a));return p.jsx(r.Provider,{value:l,children:i})};n.displayName=e+"Provider";function o(s){const i=D.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[n,o]}function wi(e,t=[]){let r=[];function n(s,i){const a=D.createContext(i),l=r.length;r=[...r,i];const c=d=>{const{scope:f,children:h,...m}=d,v=f?.[e]?.[l]||a,y=D.useMemo(()=>m,Object.values(m));return p.jsx(v.Provider,{value:y,children:h})};c.displayName=s+"Provider";function u(d,f){const h=f?.[e]?.[l]||a,m=D.useContext(h);if(m)return m;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${s}\``)}return[c,u]}const o=()=>{const s=r.map(i=>D.createContext(i));return function(a){const l=a?.[e]||s;return D.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[n,q$e(o,...t)]}function q$e(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=n.reduce((a,{useScope:l,scopeName:c})=>{const d=l(s)[`__scope${c}`];return{...a,...d}},{});return D.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}var Ci=globalThis?.document?D.useLayoutEffect:()=>{},Y$e=D[" useId ".trim().toString()]||(()=>{}),G$e=0;function ma(e){const[t,r]=D.useState(Y$e());return Ci(()=>{r(n=>n??String(G$e++))},[e]),t?`radix-${t}`:""}var K$e=D[" useInsertionEffect ".trim().toString()]||Ci;function _l({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,s,i]=Q$e({defaultProp:t,onChange:r}),a=e!==void 0,l=a?e:o;{const u=D.useRef(e!==void 0);D.useEffect(()=>{const d=u.current;d!==a&&console.warn(`${n} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=a},[a,n])}const c=D.useCallback(u=>{if(a){const d=Z$e(u)?u(e):u;d!==e&&i.current?.(d)}else s(u)},[a,e,s,i]);return[l,c]}function Q$e({defaultProp:e,onChange:t}){const[r,n]=D.useState(e),o=D.useRef(r),s=D.useRef(t);return K$e(()=>{s.current=t},[t]),D.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}function Z$e(e){return typeof e=="function"}var X$e=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ot=X$e.reduce((e,t)=>{const r=rd(`Primitive.${t}`),n=D.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...a,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function lY(e,t){e&&i8.flushSync(()=>e.dispatchEvent(t))}function ki(e){const t=D.useRef(e);return D.useEffect(()=>{t.current=e}),D.useMemo(()=>(...r)=>t.current?.(...r),[])}function J$e(e,t=globalThis?.document){const r=ki(e);D.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var eLe="DismissableLayer",L4="dismissableLayer.update",tLe="dismissableLayer.pointerDownOutside",rLe="dismissableLayer.focusOutside",cY,uY=D.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),F4=D.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,c=D.useContext(uY),[u,d]=D.useState(null),f=u?.ownerDocument??globalThis?.document,[,h]=D.useState({}),m=fr(t,T=>d(T)),v=Array.from(c.layers),[y]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),b=v.indexOf(y),x=u?v.indexOf(u):-1,w=c.layersWithOutsidePointerEventsDisabled.size>0,k=x>=b,_=sLe(T=>{const C=T.target,P=[...c.branches].some(S=>S.contains(C));!k||P||(o?.(T),i?.(T),T.defaultPrevented||a?.())},f),E=iLe(T=>{const C=T.target;[...c.branches].some(S=>S.contains(C))||(s?.(T),i?.(T),T.defaultPrevented||a?.())},f);return J$e(T=>{x===c.layers.size-1&&(n?.(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},f),D.useEffect(()=>{if(u)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(cY=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),dY(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=cY)}},[u,f,r,c]),D.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),dY())},[u,c]),D.useEffect(()=>{const T=()=>h({});return document.addEventListener(L4,T),()=>document.removeEventListener(L4,T)},[]),p.jsx(Ot.div,{...l,ref:m,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:Ve(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Ve(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Ve(e.onPointerDownCapture,_.onPointerDownCapture)})});F4.displayName=eLe;var nLe="DismissableLayerBranch",oLe=D.forwardRef((e,t)=>{const r=D.useContext(uY),n=D.useRef(null),o=fr(t,n);return D.useEffect(()=>{const s=n.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),p.jsx(Ot.div,{...e,ref:o})});oLe.displayName=nLe;function sLe(e,t=globalThis?.document){const r=ki(e),n=D.useRef(!1),o=D.useRef(()=>{});return D.useEffect(()=>{const s=a=>{if(a.target&&!n.current){let l=function(){fY(tLe,r,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function iLe(e,t=globalThis?.document){const r=ki(e),n=D.useRef(!1);return D.useEffect(()=>{const o=s=>{s.target&&!n.current&&fY(rLe,r,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function dY(){const e=new CustomEvent(L4);document.dispatchEvent(e)}function fY(e,t,r,{discrete:n}){const o=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?lY(o,s):o.dispatchEvent(s)}var N4="focusScope.autoFocusOnMount",R4="focusScope.autoFocusOnUnmount",pY={bubbles:!1,cancelable:!0},aLe="FocusScope",B4=D.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=D.useState(null),c=ki(o),u=ki(s),d=D.useRef(null),f=fr(t,v=>l(v)),h=D.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;D.useEffect(()=>{if(n){let v=function(w){if(h.paused||!a)return;const k=w.target;a.contains(k)?d.current=k:ga(d.current,{select:!0})},y=function(w){if(h.paused||!a)return;const k=w.relatedTarget;k!==null&&(a.contains(k)||ga(d.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const _ of w)_.removedNodes.length>0&&ga(a)};document.addEventListener("focusin",v),document.addEventListener("focusout",y);const x=new MutationObserver(b);return a&&x.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",y),x.disconnect()}}},[n,a,h.paused]),D.useEffect(()=>{if(a){gY.add(h);const v=document.activeElement;if(!a.contains(v)){const b=new CustomEvent(N4,pY);a.addEventListener(N4,c),a.dispatchEvent(b),b.defaultPrevented||(lLe(pLe(hY(a)),{select:!0}),document.activeElement===v&&ga(a))}return()=>{a.removeEventListener(N4,c),setTimeout(()=>{const b=new CustomEvent(R4,pY);a.addEventListener(R4,u),a.dispatchEvent(b),b.defaultPrevented||ga(v??document.body,{select:!0}),a.removeEventListener(R4,u),gY.remove(h)},0)}}},[a,c,u,h]);const m=D.useCallback(v=>{if(!r&&!n||h.paused)return;const y=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,b=document.activeElement;if(y&&b){const x=v.currentTarget,[w,k]=cLe(x);w&&k?!v.shiftKey&&b===k?(v.preventDefault(),r&&ga(w,{select:!0})):v.shiftKey&&b===w&&(v.preventDefault(),r&&ga(k,{select:!0})):b===x&&v.preventDefault()}},[r,n,h.paused]);return p.jsx(Ot.div,{tabIndex:-1,...i,ref:f,onKeyDown:m})});B4.displayName=aLe;function lLe(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(ga(n,{select:t}),document.activeElement!==r)return}function cLe(e){const t=hY(e),r=mY(t,e),n=mY(t.reverse(),e);return[r,n]}function hY(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function mY(e,t){for(const r of e)if(!uLe(r,{upTo:t}))return r}function uLe(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function dLe(e){return e instanceof HTMLInputElement&&"select"in e}function ga(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&dLe(e)&&t&&e.select()}}var gY=fLe();function fLe(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=vY(e,t),e.unshift(t)},remove(t){e=vY(e,t),e[0]?.resume()}}}function vY(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function pLe(e){return e.filter(t=>t.tagName!=="A")}var hLe="Portal",V4=D.forwardRef((e,t)=>{const{container:r,...n}=e,[o,s]=D.useState(!1);Ci(()=>s(!0),[]);const i=r||o&&globalThis?.document?.body;return i?Eo.createPortal(p.jsx(Ot.div,{...n,ref:t}),i):null});V4.displayName=hLe;function mLe(e,t){return D.useReducer((r,n)=>t[r][n]??r,e)}var Vs=e=>{const{present:t,children:r}=e,n=gLe(t),o=typeof r=="function"?r({present:n.isPresent}):D.Children.only(r),s=fr(n.ref,vLe(o));return typeof r=="function"||n.isPresent?D.cloneElement(o,{ref:s}):null};Vs.displayName="Presence";function gLe(e){const[t,r]=D.useState(),n=D.useRef(null),o=D.useRef(e),s=D.useRef("none"),i=e?"mounted":"unmounted",[a,l]=mLe(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return D.useEffect(()=>{const c=O1(n.current);s.current=a==="mounted"?c:"none"},[a]),Ci(()=>{const c=n.current,u=o.current;if(u!==e){const f=s.current,h=O1(c);e?l("MOUNT"):h==="none"||c?.display==="none"?l("UNMOUNT"):l(u&&f!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Ci(()=>{if(t){let c;const u=t.ownerDocument.defaultView??window,d=h=>{const v=O1(n.current).includes(h.animationName);if(h.target===t&&v&&(l("ANIMATION_END"),!o.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",c=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},f=h=>{h.target===t&&(s.current=O1(n.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(c),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:D.useCallback(c=>{n.current=c?getComputedStyle(c):null,r(c)},[])}}function O1(e){return e?.animationName||"none"}function vLe(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var z4=0;function yY(){D.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??bY()),document.body.insertAdjacentElement("beforeend",e[1]??bY()),z4++,()=>{z4===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),z4--}},[])}function bY(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var A1="Dialog",[xY,oWe]=wi(A1),[yLe,Xo]=xY(A1),wY=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:i=!0}=e,a=D.useRef(null),l=D.useRef(null),[c,u]=_l({prop:n,defaultProp:o??!1,onChange:s,caller:A1});return p.jsx(yLe,{scope:t,triggerRef:a,contentRef:l,contentId:ma(),titleId:ma(),descriptionId:ma(),open:c,onOpenChange:u,onOpenToggle:D.useCallback(()=>u(d=>!d),[u]),modal:i,children:r})};wY.displayName=A1;var CY="DialogTrigger",kY=D.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Xo(CY,r),s=fr(t,o.triggerRef);return p.jsx(Ot.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":U4(o.open),...n,ref:s,onClick:Ve(e.onClick,o.onOpenToggle)})});kY.displayName=CY;var H4="DialogPortal",[bLe,SY]=xY(H4,{forceMount:void 0}),_Y=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,s=Xo(H4,t);return p.jsx(bLe,{scope:t,forceMount:r,children:D.Children.map(n,i=>p.jsx(Vs,{present:r||s.open,children:p.jsx(V4,{asChild:!0,container:o,children:i})}))})};_Y.displayName=H4;var j1="DialogOverlay",EY=D.forwardRef((e,t)=>{const r=SY(j1,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,s=Xo(j1,e.__scopeDialog);return s.modal?p.jsx(Vs,{present:n||s.open,children:p.jsx(wLe,{...o,ref:t})}):null});EY.displayName=j1;var xLe=rd("DialogOverlay.RemoveScroll"),wLe=D.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Xo(j1,r);return p.jsx(Eg,{as:xLe,allowPinchZoom:!0,shards:[o.contentRef],children:p.jsx(Ot.div,{"data-state":U4(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),El="DialogContent",PY=D.forwardRef((e,t)=>{const r=SY(El,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,s=Xo(El,e.__scopeDialog);return p.jsx(Vs,{present:n||s.open,children:s.modal?p.jsx(CLe,{...o,ref:t}):p.jsx(kLe,{...o,ref:t})})});PY.displayName=El;var CLe=D.forwardRef((e,t)=>{const r=Xo(El,e.__scopeDialog),n=D.useRef(null),o=fr(t,r.contentRef,n);return D.useEffect(()=>{const s=n.current;if(s)return Vw(s)},[]),p.jsx(TY,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ve(e.onCloseAutoFocus,s=>{s.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:Ve(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,a=i.button===0&&i.ctrlKey===!0;(i.button===2||a)&&s.preventDefault()}),onFocusOutside:Ve(e.onFocusOutside,s=>s.preventDefault())})}),kLe=D.forwardRef((e,t)=>{const r=Xo(El,e.__scopeDialog),n=D.useRef(!1),o=D.useRef(!1);return p.jsx(TY,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(n.current||r.triggerRef.current?.focus(),s.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;r.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),TY=D.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:s,...i}=e,a=Xo(El,r),l=D.useRef(null),c=fr(t,l);return yY(),p.jsxs(p.Fragment,{children:[p.jsx(B4,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:p.jsx(F4,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":U4(a.open),...i,ref:c,onDismiss:()=>a.onOpenChange(!1)})}),p.jsxs(p.Fragment,{children:[p.jsx(SLe,{titleId:a.titleId}),p.jsx(ELe,{contentRef:l,descriptionId:a.descriptionId})]})]})}),W4="DialogTitle",DY=D.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Xo(W4,r);return p.jsx(Ot.h2,{id:o.titleId,...n,ref:t})});DY.displayName=W4;var MY="DialogDescription",OY=D.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Xo(MY,r);return p.jsx(Ot.p,{id:o.descriptionId,...n,ref:t})});OY.displayName=MY;var AY="DialogClose",jY=D.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Xo(AY,r);return p.jsx(Ot.button,{type:"button",...n,ref:t,onClick:Ve(e.onClick,()=>o.onOpenChange(!1))})});jY.displayName=AY;function U4(e){return e?"open":"closed"}var IY="DialogTitleWarning",[sWe,$Y]=U$e(IY,{contentName:El,titleName:W4,docsSlug:"dialog"}),SLe=({titleId:e})=>{const t=$Y(IY),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
513
+ */const yIe=xh();function Je(){const e=yIe(r=>r.appState.data.shopDefaultData.shopDesign);return{isDarkTheme:b8(e.backgroundBody),shopDesign:e}}const C4=e=>({secondaryText:e?"#7B7B7B":"#B1B1B1",dotColor:e?"#292929":"#DEDEDE",chipBackground:e?"#1C1C1C":"#F9F9F9",chipBorder:e?"#292929":"#F2f2f2",chipText:e?"#fff":"#000",tableOfContentBorderColor:e?"#141414":"#F2F2F2"}),bIe=e=>(e instanceof Date?e:new Date(e)).toLocaleDateString("en-US",{month:"short",day:"2-digit",year:"numeric"}),xIe=({category:e,updatedAt:t,isDarkTheme:r})=>{const{secondaryText:n,dotColor:o}=C4(r),s=bIe(t);return p.jsxs("div",{className:"flex items-center text-sm text-gray-600",children:[e&&p.jsxs("div",{className:"flex items-center min-w-0 flex-shrink overflow-hidden",children:[p.jsx(ct,{className:"font-medium text-system-link truncate",children:e}),p.jsx("div",{className:"mx-2 w-1 h-1 rounded-full flex-shrink-0",style:{background:o}})]}),p.jsx(ct,{className:"whitespace-nowrap flex-shrink-0",style:{color:n},children:s})]})},wIe=({title:e,isFeatured:t})=>{const r=t?"text-xl sm:text-2xl md:text-[28px] font-bold line-clamp-2 overflow-hidden":"text-base sm:text-lg font-bold line-clamp-1 sm:line-clamp-2 overflow-hidden";return p.jsx(ct,{className:r,children:e})},CIe=({summary:e,isFeatured:t,summaryColor:r})=>{const n=t?"line-clamp-2 sm:line-clamp-3":"line-clamp-1 sm:line-clamp-2",o=t?"text-sm md:text-base":"text-xs md:text-sm";return p.jsx(ct,{className:`${o} ${n} overflow-hidden`,style:{color:r},children:e})},hq=({tag:e,isDarkTheme:t,variant:r="pill",className:n=""})=>{const{chipBackground:o,chipBorder:s,chipText:i}=C4(t),a=r==="pill"?"rounded-full px-3 py-1 text-xs":"rounded-[4px] w-max px-3 py-1 text-xs";return p.jsx(ct,{className:`${a} select-none ${n}`,style:{backgroundColor:o,border:`1px solid ${s}`,color:i},children:e})},kIe=({tag:e,isDarkTheme:t})=>p.jsx(hq,{tag:e,isDarkTheme:t,variant:"pill"}),SIe=({count:e,isDarkTheme:t,direction:r})=>e<=0?null:p.jsx(hq,{tag:`+${e}`,isDarkTheme:t,className:r==="row"?"hidden sm:inline-block":""}),_Ie=({tags:e,visibleTagsCount:t,isDarkTheme:r,direction:n})=>{if(!e||e.length===0)return null;const o=e.slice(0,t),s=e.length>t?e.length-t:0;return p.jsxs("div",{className:"flex flex-wrap gap-2 mt-auto",children:[o.map((i,a)=>p.jsx(kIe,{tag:i,isDarkTheme:r},a)),p.jsx(SIe,{count:s,isDarkTheme:r,direction:n})]})},EIe=({category:e,updatedAt:t,title:r,summary:n,tags:o,isFeatured:s,direction:i,isDarkTheme:a,visibleTagsCount:l})=>{const{secondaryText:c}=C4(a),u=i==="row"?"md:w-1/2 md:pl-6 w-full":"w-full";return p.jsxs("div",{className:`${u} flex-1 flex flex-col gap-2 p-4`,children:[p.jsx(xIe,{category:e,updatedAt:t,isDarkTheme:a}),p.jsx(wIe,{title:r,isFeatured:s}),p.jsx(CIe,{summary:n,isFeatured:s,summaryColor:c}),p.jsx(_Ie,{tags:o,visibleTagsCount:l,isDarkTheme:a,direction:i})]})},PIe=({image:e,title:t,isFeatured:r,direction:n})=>{const o=r?"h-[196px] sm:h-[280px] md:h-[320px] lg:h-[356px] xl:h-[472px]":n==="row"?"md:h-full h-[220px]":"h-[220px]",s=n==="row"?"w-full md:w-1/2":"w-full";return p.jsx("div",{"data-testid":"blog-image-wrapper",className:`${s} ${o} overflow-hidden`,children:p.jsx("img",{src:e,alt:t,className:`w-full h-full object-cover ${r?"rounded-t-lg":""}`})})};function TIe(){const[e,t]=g.useState(4);return g.useEffect(()=>{const r=()=>{const n=window.innerWidth;n<1024?t(1):n<1280?t(2):t(3)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]),e}function DIe(e){const{shopDesign:{foreground:t},isDarkTheme:r}=Je(),n=TIe(),{image:o,category:s,updatedAt:i,title:a,summary:l,tags:c,isFeatured:u,direction:d,slug:f}=e,h=d==="column"?u?"h-auto":"h-auto md:h-[450px]":"";return p.jsx("div",{className:`overflow-hidden rounded-lg ${h}`,style:{backgroundColor:d==="row"||u?t:"transparent",border:d==="row"||u?"unset":`1px solid ${t}`},children:p.jsxs("div",{className:`flex h-full flex-col ${d==="row"&&"md:flex-row h-auto md:h-[186px] lg:h-[226px]"}`,children:[p.jsx(PIe,{image:o,title:a,isFeatured:u,direction:d}),p.jsx(EIe,{category:s,updatedAt:i,title:a,summary:l,tags:c,isFeatured:u,direction:d,isDarkTheme:r,visibleTagsCount:n})]})})}function jn({children:e,props:t,mini:r}){return p.jsx(xe,{width:{base:"90%",md:"90%"},maxWidth:r?"700px":"100%",...t,children:e})}const mq=window.location.hostname==="localhost"||window.location.hostname.startsWith("dev."),MIe=mq?"https://apiv3dev.droplinked.com":"https://apiv3.droplinked.com",v1=Gt.create({baseURL:MIe,headers:{"Content-Type":"application/json"}}),gq=e=>v1.get(`blogs/public/shops/${e}`).then(t=>t.data),vq=g.createContext(null),In=()=>{const e=g.useContext(vq);if(!e)throw new Error("useAppStoreContext must be used within an AppStoreProvider");return e};function yq({appStoreData:e,children:t}){return p.jsx(vq.Provider,{value:e,children:t})}var Ch=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(n){var o=this,s=n||function(){};return this.listeners.push(s),this.onSubscribe(),function(){o.listeners=o.listeners.filter(function(i){return i!==s}),o.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}(),y1=typeof window>"u";function Jr(){}function OIe(e,t){return typeof e=="function"?e(t):e}function k4(e){return typeof e=="number"&&e>=0&&e!==1/0}function b1(e){return Array.isArray(e)?e:[e]}function bq(e,t){return Math.max(e+(t||0)-Date.now(),0)}function kh(e,t,r){return C1(e)?typeof t=="function"?Ke({},r,{queryKey:e,queryFn:t}):Ke({},t,{queryKey:e}):e}function pa(e,t,r){return C1(e)?[Ke({},t,{queryKey:e}),r]:[e||{},t]}function AIe(e,t){if(e===!0&&t===!0||e==null&&t==null)return"all";if(e===!1&&t===!1)return"none";var r=e??!t;return r?"active":"inactive"}function xq(e,t){var r=e.active,n=e.exact,o=e.fetching,s=e.inactive,i=e.predicate,a=e.queryKey,l=e.stale;if(C1(a)){if(n){if(t.queryHash!==S4(a,t.options))return!1}else if(!x1(t.queryKey,a))return!1}var c=AIe(r,s);if(c==="none")return!1;if(c!=="all"){var u=t.isActive();if(c==="active"&&!u||c==="inactive"&&u)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||typeof o=="boolean"&&t.isFetching()!==o||i&&!i(t))}function wq(e,t){var r=e.exact,n=e.fetching,o=e.predicate,s=e.mutationKey;if(C1(s)){if(!t.options.mutationKey)return!1;if(r){if(Cl(t.options.mutationKey)!==Cl(s))return!1}else if(!x1(t.options.mutationKey,s))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||o&&!o(t))}function S4(e,t){var r=t?.queryKeyHashFn||Cl;return r(e)}function Cl(e){var t=b1(e);return jIe(t)}function jIe(e){return JSON.stringify(e,function(t,r){return _4(r)?Object.keys(r).sort().reduce(function(n,o){return n[o]=r[o],n},{}):r})}function x1(e,t){return Cq(b1(e),b1(t))}function Cq(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(function(r){return!Cq(e[r],t[r])}):!1}function w1(e,t){if(e===t)return e;var r=Array.isArray(e)&&Array.isArray(t);if(r||_4(e)&&_4(t)){for(var n=r?e.length:Object.keys(e).length,o=r?t:Object.keys(t),s=o.length,i=r?[]:{},a=0,l=0;l<s;l++){var c=r?l:o[l];i[c]=w1(e[c],t[c]),i[c]===e[c]&&a++}return n===s&&a===n?e:i}return t}function IIe(e,t){if(e&&!t||t&&!e)return!1;for(var r in e)if(e[r]!==t[r])return!1;return!0}function _4(e){if(!kq(e))return!1;var t=e.constructor;if(typeof t>"u")return!0;var r=t.prototype;return!(!kq(r)||!r.hasOwnProperty("isPrototypeOf"))}function kq(e){return Object.prototype.toString.call(e)==="[object Object]"}function C1(e){return typeof e=="string"||Array.isArray(e)}function $Ie(e){return new Promise(function(t){setTimeout(t,e)})}function Sq(e){Promise.resolve().then(e).catch(function(t){return setTimeout(function(){throw t})})}function _q(){if(typeof AbortController=="function")return new AbortController}var LIe=function(e){Ni(t,e);function t(){var n;return n=e.call(this)||this,n.setup=function(o){var s;if(!y1&&((s=window)!=null&&s.addEventListener)){var i=function(){return o()};return window.addEventListener("visibilitychange",i,!1),window.addEventListener("focus",i,!1),function(){window.removeEventListener("visibilitychange",i),window.removeEventListener("focus",i)}}},n}var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){if(!this.hasListeners()){var o;(o=this.cleanup)==null||o.call(this),this.cleanup=void 0}},r.setEventListener=function(o){var s,i=this;this.setup=o,(s=this.cleanup)==null||s.call(this),this.cleanup=o(function(a){typeof a=="boolean"?i.setFocused(a):i.onFocus()})},r.setFocused=function(o){this.focused=o,o&&this.onFocus()},r.onFocus=function(){this.listeners.forEach(function(o){o()})},r.isFocused=function(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)},t}(Ch),Sh=new LIe,FIe=function(e){Ni(t,e);function t(){var n;return n=e.call(this)||this,n.setup=function(o){var s;if(!y1&&((s=window)!=null&&s.addEventListener)){var i=function(){return o()};return window.addEventListener("online",i,!1),window.addEventListener("offline",i,!1),function(){window.removeEventListener("online",i),window.removeEventListener("offline",i)}}},n}var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){if(!this.hasListeners()){var o;(o=this.cleanup)==null||o.call(this),this.cleanup=void 0}},r.setEventListener=function(o){var s,i=this;this.setup=o,(s=this.cleanup)==null||s.call(this),this.cleanup=o(function(a){typeof a=="boolean"?i.setOnline(a):i.onOnline()})},r.setOnline=function(o){this.online=o,o&&this.onOnline()},r.onOnline=function(){this.listeners.forEach(function(o){o()})},r.isOnline=function(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine},t}(Ch),k1=new FIe;function NIe(e){return Math.min(1e3*Math.pow(2,e),3e4)}function S1(e){return typeof e?.cancel=="function"}var Eq=function(t){this.revert=t?.revert,this.silent=t?.silent};function _1(e){return e instanceof Eq}var Pq=function(t){var r=this,n=!1,o,s,i,a;this.abort=t.abort,this.cancel=function(f){return o?.(f)},this.cancelRetry=function(){n=!0},this.continueRetry=function(){n=!1},this.continue=function(){return s?.()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(f,h){i=f,a=h});var l=function(h){r.isResolved||(r.isResolved=!0,t.onSuccess==null||t.onSuccess(h),s?.(),i(h))},c=function(h){r.isResolved||(r.isResolved=!0,t.onError==null||t.onError(h),s?.(),a(h))},u=function(){return new Promise(function(h){s=h,r.isPaused=!0,t.onPause==null||t.onPause()}).then(function(){s=void 0,r.isPaused=!1,t.onContinue==null||t.onContinue()})},d=function f(){if(!r.isResolved){var h;try{h=t.fn()}catch(m){h=Promise.reject(m)}o=function(v){if(!r.isResolved&&(c(new Eq(v)),r.abort==null||r.abort(),S1(h)))try{h.cancel()}catch{}},r.isTransportCancelable=S1(h),Promise.resolve(h).then(l).catch(function(m){var v,y;if(!r.isResolved){var b=(v=t.retry)!=null?v:3,x=(y=t.retryDelay)!=null?y:NIe,w=typeof x=="function"?x(r.failureCount,m):x,k=b===!0||typeof b=="number"&&r.failureCount<b||typeof b=="function"&&b(r.failureCount,m);if(n||!k){c(m);return}r.failureCount++,t.onFail==null||t.onFail(r.failureCount,m),$Ie(w).then(function(){if(!Sh.isFocused()||!k1.isOnline())return u()}).then(function(){n?c(m):f()})}})}};d()},RIe=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(r){r()},this.batchNotifyFn=function(r){r()}}var t=e.prototype;return t.batch=function(n){var o;this.transactions++;try{o=n()}finally{this.transactions--,this.transactions||this.flush()}return o},t.schedule=function(n){var o=this;this.transactions?this.queue.push(n):Sq(function(){o.notifyFn(n)})},t.batchCalls=function(n){var o=this;return function(){for(var s=arguments.length,i=new Array(s),a=0;a<s;a++)i[a]=arguments[a];o.schedule(function(){n.apply(void 0,i)})}},t.flush=function(){var n=this,o=this.queue;this.queue=[],o.length&&Sq(function(){n.batchNotifyFn(function(){o.forEach(function(s){n.notifyFn(s)})})})},t.setNotifyFunction=function(n){this.notifyFn=n},t.setBatchNotifyFunction=function(n){this.batchNotifyFn=n},e}(),nr=new RIe,Tq=console;function E1(){return Tq}function BIe(e){Tq=e}var VIe=function(){function e(r){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=r.defaultOptions,this.setOptions(r.options),this.observers=[],this.cache=r.cache,this.queryKey=r.queryKey,this.queryHash=r.queryHash,this.initialState=r.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=r.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(n){var o;this.options=Ke({},this.defaultOptions,n),this.meta=n?.meta,this.cacheTime=Math.max(this.cacheTime||0,(o=this.options.cacheTime)!=null?o:300*1e3)},t.setDefaultOptions=function(n){this.defaultOptions=n},t.scheduleGc=function(){var n=this;this.clearGcTimeout(),k4(this.cacheTime)&&(this.gcTimeout=setTimeout(function(){n.optionalRemove()},this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(n,o){var s,i,a=this.state.data,l=OIe(n,a);return(s=(i=this.options).isDataEqual)!=null&&s.call(i,a,l)?l=a:this.options.structuralSharing!==!1&&(l=w1(a,l)),this.dispatch({data:l,type:"success",dataUpdatedAt:o?.updatedAt}),l},t.setState=function(n,o){this.dispatch({type:"setState",state:n,setStateOptions:o})},t.cancel=function(n){var o,s=this.promise;return(o=this.retryer)==null||o.cancel(n),s?s.then(Jr).catch(Jr):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some(function(n){return n.options.enabled!==!1})},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(function(n){return n.getCurrentResult().isStale})},t.isStaleByTime=function(n){return n===void 0&&(n=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!bq(this.state.dataUpdatedAt,n)},t.onFocus=function(){var n,o=this.observers.find(function(s){return s.shouldFetchOnWindowFocus()});o&&o.refetch(),(n=this.retryer)==null||n.continue()},t.onOnline=function(){var n,o=this.observers.find(function(s){return s.shouldFetchOnReconnect()});o&&o.refetch(),(n=this.retryer)==null||n.continue()},t.addObserver=function(n){this.observers.indexOf(n)===-1&&(this.observers.push(n),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:n}))},t.removeObserver=function(n){this.observers.indexOf(n)!==-1&&(this.observers=this.observers.filter(function(o){return o!==n}),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:n}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(n,o){var s=this,i,a,l;if(this.state.isFetching){if(this.state.dataUpdatedAt&&o?.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var c;return(c=this.retryer)==null||c.continueRetry(),this.promise}}if(n&&this.setOptions(n),!this.options.queryFn){var u=this.observers.find(function(x){return x.options.queryFn});u&&this.setOptions(u.options)}var d=b1(this.queryKey),f=_q(),h={queryKey:d,pageParam:void 0,meta:this.meta};Object.defineProperty(h,"signal",{enumerable:!0,get:function(){if(f)return s.abortSignalConsumed=!0,f.signal}});var m=function(){return s.options.queryFn?(s.abortSignalConsumed=!1,s.options.queryFn(h)):Promise.reject("Missing queryFn")},v={fetchOptions:o,options:this.options,queryKey:d,state:this.state,fetchFn:m,meta:this.meta};if((i=this.options.behavior)!=null&&i.onFetch){var y;(y=this.options.behavior)==null||y.onFetch(v)}if(this.revertState=this.state,!this.state.isFetching||this.state.fetchMeta!==((a=v.fetchOptions)==null?void 0:a.meta)){var b;this.dispatch({type:"fetch",meta:(b=v.fetchOptions)==null?void 0:b.meta})}return this.retryer=new Pq({fn:v.fetchFn,abort:f==null||(l=f.abort)==null?void 0:l.bind(f),onSuccess:function(w){s.setData(w),s.cache.config.onSuccess==null||s.cache.config.onSuccess(w,s),s.cacheTime===0&&s.optionalRemove()},onError:function(w){_1(w)&&w.silent||s.dispatch({type:"error",error:w}),_1(w)||(s.cache.config.onError==null||s.cache.config.onError(w,s),E1().error(w)),s.cacheTime===0&&s.optionalRemove()},onFail:function(){s.dispatch({type:"failed"})},onPause:function(){s.dispatch({type:"pause"})},onContinue:function(){s.dispatch({type:"continue"})},retry:v.options.retry,retryDelay:v.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(n){var o=this;this.state=this.reducer(this.state,n),nr.batch(function(){o.observers.forEach(function(s){s.onQueryUpdate(n)}),o.cache.notify({query:o,type:"queryUpdated",action:n})})},t.getDefaultState=function(n){var o=typeof n.initialData=="function"?n.initialData():n.initialData,s=typeof n.initialData<"u",i=s?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0,a=typeof o<"u";return{data:o,dataUpdateCount:0,dataUpdatedAt:a?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:a?"success":"idle"}},t.reducer=function(n,o){var s,i;switch(o.type){case"failed":return Ke({},n,{fetchFailureCount:n.fetchFailureCount+1});case"pause":return Ke({},n,{isPaused:!0});case"continue":return Ke({},n,{isPaused:!1});case"fetch":return Ke({},n,{fetchFailureCount:0,fetchMeta:(s=o.meta)!=null?s:null,isFetching:!0,isPaused:!1},!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return Ke({},n,{data:o.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:(i=o.dataUpdatedAt)!=null?i:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var a=o.error;return _1(a)&&a.revert&&this.revertState?Ke({},this.revertState):Ke({},n,{error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return Ke({},n,{isInvalidated:!0});case"setState":return Ke({},n,o.state);default:return n}},e}(),zIe=function(e){Ni(t,e);function t(n){var o;return o=e.call(this)||this,o.config=n||{},o.queries=[],o.queriesMap={},o}var r=t.prototype;return r.build=function(o,s,i){var a,l=s.queryKey,c=(a=s.queryHash)!=null?a:S4(l,s),u=this.get(c);return u||(u=new VIe({cache:this,queryKey:l,queryHash:c,options:o.defaultQueryOptions(s),state:i,defaultOptions:o.getQueryDefaults(l),meta:s.meta}),this.add(u)),u},r.add=function(o){this.queriesMap[o.queryHash]||(this.queriesMap[o.queryHash]=o,this.queries.push(o),this.notify({type:"queryAdded",query:o}))},r.remove=function(o){var s=this.queriesMap[o.queryHash];s&&(o.destroy(),this.queries=this.queries.filter(function(i){return i!==o}),s===o&&delete this.queriesMap[o.queryHash],this.notify({type:"queryRemoved",query:o}))},r.clear=function(){var o=this;nr.batch(function(){o.queries.forEach(function(s){o.remove(s)})})},r.get=function(o){return this.queriesMap[o]},r.getAll=function(){return this.queries},r.find=function(o,s){var i=pa(o,s),a=i[0];return typeof a.exact>"u"&&(a.exact=!0),this.queries.find(function(l){return xq(a,l)})},r.findAll=function(o,s){var i=pa(o,s),a=i[0];return Object.keys(a).length>0?this.queries.filter(function(l){return xq(a,l)}):this.queries},r.notify=function(o){var s=this;nr.batch(function(){s.listeners.forEach(function(i){i(o)})})},r.onFocus=function(){var o=this;nr.batch(function(){o.queries.forEach(function(s){s.onFocus()})})},r.onOnline=function(){var o=this;nr.batch(function(){o.queries.forEach(function(s){s.onOnline()})})},t}(Ch),HIe=function(){function e(r){this.options=Ke({},r.defaultOptions,r.options),this.mutationId=r.mutationId,this.mutationCache=r.mutationCache,this.observers=[],this.state=r.state||WIe(),this.meta=r.meta}var t=e.prototype;return t.setState=function(n){this.dispatch({type:"setState",state:n})},t.addObserver=function(n){this.observers.indexOf(n)===-1&&this.observers.push(n)},t.removeObserver=function(n){this.observers=this.observers.filter(function(o){return o!==n})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(Jr).catch(Jr)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var n=this,o,s=this.state.status==="loading",i=Promise.resolve();return s||(this.dispatch({type:"loading",variables:this.options.variables}),i=i.then(function(){n.mutationCache.config.onMutate==null||n.mutationCache.config.onMutate(n.state.variables,n)}).then(function(){return n.options.onMutate==null?void 0:n.options.onMutate(n.state.variables)}).then(function(a){a!==n.state.context&&n.dispatch({type:"loading",context:a,variables:n.state.variables})})),i.then(function(){return n.executeMutation()}).then(function(a){o=a,n.mutationCache.config.onSuccess==null||n.mutationCache.config.onSuccess(o,n.state.variables,n.state.context,n)}).then(function(){return n.options.onSuccess==null?void 0:n.options.onSuccess(o,n.state.variables,n.state.context)}).then(function(){return n.options.onSettled==null?void 0:n.options.onSettled(o,null,n.state.variables,n.state.context)}).then(function(){return n.dispatch({type:"success",data:o}),o}).catch(function(a){return n.mutationCache.config.onError==null||n.mutationCache.config.onError(a,n.state.variables,n.state.context,n),E1().error(a),Promise.resolve().then(function(){return n.options.onError==null?void 0:n.options.onError(a,n.state.variables,n.state.context)}).then(function(){return n.options.onSettled==null?void 0:n.options.onSettled(void 0,a,n.state.variables,n.state.context)}).then(function(){throw n.dispatch({type:"error",error:a}),a})})},t.executeMutation=function(){var n=this,o;return this.retryer=new Pq({fn:function(){return n.options.mutationFn?n.options.mutationFn(n.state.variables):Promise.reject("No mutationFn found")},onFail:function(){n.dispatch({type:"failed"})},onPause:function(){n.dispatch({type:"pause"})},onContinue:function(){n.dispatch({type:"continue"})},retry:(o=this.options.retry)!=null?o:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(n){var o=this;this.state=UIe(this.state,n),nr.batch(function(){o.observers.forEach(function(s){s.onMutationUpdate(n)}),o.mutationCache.notify(o)})},e}();function WIe(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function UIe(e,t){switch(t.type){case"failed":return Ke({},e,{failureCount:e.failureCount+1});case"pause":return Ke({},e,{isPaused:!0});case"continue":return Ke({},e,{isPaused:!1});case"loading":return Ke({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return Ke({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return Ke({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return Ke({},e,t.state);default:return e}}var qIe=function(e){Ni(t,e);function t(n){var o;return o=e.call(this)||this,o.config=n||{},o.mutations=[],o.mutationId=0,o}var r=t.prototype;return r.build=function(o,s,i){var a=new HIe({mutationCache:this,mutationId:++this.mutationId,options:o.defaultMutationOptions(s),state:i,defaultOptions:s.mutationKey?o.getMutationDefaults(s.mutationKey):void 0,meta:s.meta});return this.add(a),a},r.add=function(o){this.mutations.push(o),this.notify(o)},r.remove=function(o){this.mutations=this.mutations.filter(function(s){return s!==o}),o.cancel(),this.notify(o)},r.clear=function(){var o=this;nr.batch(function(){o.mutations.forEach(function(s){o.remove(s)})})},r.getAll=function(){return this.mutations},r.find=function(o){return typeof o.exact>"u"&&(o.exact=!0),this.mutations.find(function(s){return wq(o,s)})},r.findAll=function(o){return this.mutations.filter(function(s){return wq(o,s)})},r.notify=function(o){var s=this;nr.batch(function(){s.listeners.forEach(function(i){i(o)})})},r.onFocus=function(){this.resumePausedMutations()},r.onOnline=function(){this.resumePausedMutations()},r.resumePausedMutations=function(){var o=this.mutations.filter(function(s){return s.state.isPaused});return nr.batch(function(){return o.reduce(function(s,i){return s.then(function(){return i.continue().catch(Jr)})},Promise.resolve())})},t}(Ch);function E4(){return{onFetch:function(t){t.fetchFn=function(){var r,n,o,s,i,a,l=(r=t.fetchOptions)==null||(n=r.meta)==null?void 0:n.refetchPage,c=(o=t.fetchOptions)==null||(s=o.meta)==null?void 0:s.fetchMore,u=c?.pageParam,d=c?.direction==="forward",f=c?.direction==="backward",h=((i=t.state.data)==null?void 0:i.pages)||[],m=((a=t.state.data)==null?void 0:a.pageParams)||[],v=_q(),y=v?.signal,b=m,x=!1,w=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},k=function($,W,L,F){return b=F?[W].concat(b):[].concat(b,[W]),F?[L].concat($):[].concat($,[L])},_=function($,W,L,F){if(x)return Promise.reject("Cancelled");if(typeof L>"u"&&!W&&$.length)return Promise.resolve($);var U={queryKey:t.queryKey,signal:y,pageParam:L,meta:t.meta},K=w(U),j=Promise.resolve(K).then(function(J){return k($,L,J,F)});if(S1(K)){var z=j;z.cancel=K.cancel}return j},E;if(!h.length)E=_([]);else if(d){var T=typeof u<"u",C=T?u:P4(t.options,h);E=_(h,T,C)}else if(f){var P=typeof u<"u",S=P?u:Dq(t.options,h);E=_(h,P,S,!0)}else(function(){b=[];var R=typeof t.options.getNextPageParam>"u",$=l&&h[0]?l(h[0],0,h):!0;E=$?_([],R,m[0]):Promise.resolve(k([],m[0],h[0]));for(var W=function(U){E=E.then(function(K){var j=l&&h[U]?l(h[U],U,h):!0;if(j){var z=R?m[U]:P4(t.options,K);return _(K,R,z)}return Promise.resolve(k(K,m[U],h[U]))})},L=1;L<h.length;L++)W(L)})();var M=E.then(function(R){return{pages:R,pageParams:b}}),O=M;return O.cancel=function(){x=!0,v?.abort(),S1(E)&&E.cancel()},M}}}}function P4(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function Dq(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}function YIe(e,t){if(e.getNextPageParam&&Array.isArray(t)){var r=P4(e,t);return typeof r<"u"&&r!==null&&r!==!1}}function GIe(e,t){if(e.getPreviousPageParam&&Array.isArray(t)){var r=Dq(e,t);return typeof r<"u"&&r!==null&&r!==!1}}var Mq=function(){function e(r){r===void 0&&(r={}),this.queryCache=r.queryCache||new zIe,this.mutationCache=r.mutationCache||new qIe,this.defaultOptions=r.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var n=this;this.unsubscribeFocus=Sh.subscribe(function(){Sh.isFocused()&&k1.isOnline()&&(n.mutationCache.onFocus(),n.queryCache.onFocus())}),this.unsubscribeOnline=k1.subscribe(function(){Sh.isFocused()&&k1.isOnline()&&(n.mutationCache.onOnline(),n.queryCache.onOnline())})},t.unmount=function(){var n,o;(n=this.unsubscribeFocus)==null||n.call(this),(o=this.unsubscribeOnline)==null||o.call(this)},t.isFetching=function(n,o){var s=pa(n,o),i=s[0];return i.fetching=!0,this.queryCache.findAll(i).length},t.isMutating=function(n){return this.mutationCache.findAll(Ke({},n,{fetching:!0})).length},t.getQueryData=function(n,o){var s;return(s=this.queryCache.find(n,o))==null?void 0:s.state.data},t.getQueriesData=function(n){return this.getQueryCache().findAll(n).map(function(o){var s=o.queryKey,i=o.state,a=i.data;return[s,a]})},t.setQueryData=function(n,o,s){var i=kh(n),a=this.defaultQueryOptions(i);return this.queryCache.build(this,a).setData(o,s)},t.setQueriesData=function(n,o,s){var i=this;return nr.batch(function(){return i.getQueryCache().findAll(n).map(function(a){var l=a.queryKey;return[l,i.setQueryData(l,o,s)]})})},t.getQueryState=function(n,o){var s;return(s=this.queryCache.find(n,o))==null?void 0:s.state},t.removeQueries=function(n,o){var s=pa(n,o),i=s[0],a=this.queryCache;nr.batch(function(){a.findAll(i).forEach(function(l){a.remove(l)})})},t.resetQueries=function(n,o,s){var i=this,a=pa(n,o,s),l=a[0],c=a[1],u=this.queryCache,d=Ke({},l,{active:!0});return nr.batch(function(){return u.findAll(l).forEach(function(f){f.reset()}),i.refetchQueries(d,c)})},t.cancelQueries=function(n,o,s){var i=this,a=pa(n,o,s),l=a[0],c=a[1],u=c===void 0?{}:c;typeof u.revert>"u"&&(u.revert=!0);var d=nr.batch(function(){return i.queryCache.findAll(l).map(function(f){return f.cancel(u)})});return Promise.all(d).then(Jr).catch(Jr)},t.invalidateQueries=function(n,o,s){var i,a,l,c=this,u=pa(n,o,s),d=u[0],f=u[1],h=Ke({},d,{active:(i=(a=d.refetchActive)!=null?a:d.active)!=null?i:!0,inactive:(l=d.refetchInactive)!=null?l:!1});return nr.batch(function(){return c.queryCache.findAll(d).forEach(function(m){m.invalidate()}),c.refetchQueries(h,f)})},t.refetchQueries=function(n,o,s){var i=this,a=pa(n,o,s),l=a[0],c=a[1],u=nr.batch(function(){return i.queryCache.findAll(l).map(function(f){return f.fetch(void 0,Ke({},c,{meta:{refetchPage:l?.refetchPage}}))})}),d=Promise.all(u).then(Jr);return c?.throwOnError||(d=d.catch(Jr)),d},t.fetchQuery=function(n,o,s){var i=kh(n,o,s),a=this.defaultQueryOptions(i);typeof a.retry>"u"&&(a.retry=!1);var l=this.queryCache.build(this,a);return l.isStaleByTime(a.staleTime)?l.fetch(a):Promise.resolve(l.state.data)},t.prefetchQuery=function(n,o,s){return this.fetchQuery(n,o,s).then(Jr).catch(Jr)},t.fetchInfiniteQuery=function(n,o,s){var i=kh(n,o,s);return i.behavior=E4(),this.fetchQuery(i)},t.prefetchInfiniteQuery=function(n,o,s){return this.fetchInfiniteQuery(n,o,s).then(Jr).catch(Jr)},t.cancelMutations=function(){var n=this,o=nr.batch(function(){return n.mutationCache.getAll().map(function(s){return s.cancel()})});return Promise.all(o).then(Jr).catch(Jr)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(n){return this.mutationCache.build(this,n).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(n){this.defaultOptions=n},t.setQueryDefaults=function(n,o){var s=this.queryDefaults.find(function(i){return Cl(n)===Cl(i.queryKey)});s?s.defaultOptions=o:this.queryDefaults.push({queryKey:n,defaultOptions:o})},t.getQueryDefaults=function(n){var o;return n?(o=this.queryDefaults.find(function(s){return x1(n,s.queryKey)}))==null?void 0:o.defaultOptions:void 0},t.setMutationDefaults=function(n,o){var s=this.mutationDefaults.find(function(i){return Cl(n)===Cl(i.mutationKey)});s?s.defaultOptions=o:this.mutationDefaults.push({mutationKey:n,defaultOptions:o})},t.getMutationDefaults=function(n){var o;return n?(o=this.mutationDefaults.find(function(s){return x1(n,s.mutationKey)}))==null?void 0:o.defaultOptions:void 0},t.defaultQueryOptions=function(n){if(n?._defaulted)return n;var o=Ke({},this.defaultOptions.queries,this.getQueryDefaults(n?.queryKey),n,{_defaulted:!0});return!o.queryHash&&o.queryKey&&(o.queryHash=S4(o.queryKey,o)),o},t.defaultQueryObserverOptions=function(n){return this.defaultQueryOptions(n)},t.defaultMutationOptions=function(n){return n?._defaulted?n:Ke({},this.defaultOptions.mutations,this.getMutationDefaults(n?.mutationKey),n,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),Oq=function(e){Ni(t,e);function t(n,o){var s;return s=e.call(this)||this,s.client=n,s.options=o,s.trackedProps=[],s.selectError=null,s.bindMethods(),s.setOptions(o),s}var r=t.prototype;return r.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},r.onSubscribe=function(){this.listeners.length===1&&(this.currentQuery.addObserver(this),Aq(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},r.onUnsubscribe=function(){this.listeners.length||this.destroy()},r.shouldFetchOnReconnect=function(){return T4(this.currentQuery,this.options,this.options.refetchOnReconnect)},r.shouldFetchOnWindowFocus=function(){return T4(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},r.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},r.setOptions=function(o,s){var i=this.options,a=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(o),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=i.queryKey),this.updateQuery();var l=this.hasListeners();l&&jq(this.currentQuery,a,this.options,i)&&this.executeFetch(),this.updateResult(s),l&&(this.currentQuery!==a||this.options.enabled!==i.enabled||this.options.staleTime!==i.staleTime)&&this.updateStaleTimeout();var c=this.computeRefetchInterval();l&&(this.currentQuery!==a||this.options.enabled!==i.enabled||c!==this.currentRefetchInterval)&&this.updateRefetchInterval(c)},r.getOptimisticResult=function(o){var s=this.client.defaultQueryObserverOptions(o),i=this.client.getQueryCache().build(this.client,s);return this.createResult(i,s)},r.getCurrentResult=function(){return this.currentResult},r.trackResult=function(o,s){var i=this,a={},l=function(u){i.trackedProps.includes(u)||i.trackedProps.push(u)};return Object.keys(o).forEach(function(c){Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:function(){return l(c),o[c]}})}),(s.useErrorBoundary||s.suspense)&&l("error"),a},r.getNextResult=function(o){var s=this;return new Promise(function(i,a){var l=s.subscribe(function(c){c.isFetching||(l(),c.isError&&o?.throwOnError?a(c.error):i(c))})})},r.getCurrentQuery=function(){return this.currentQuery},r.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},r.refetch=function(o){return this.fetch(Ke({},o,{meta:{refetchPage:o?.refetchPage}}))},r.fetchOptimistic=function(o){var s=this,i=this.client.defaultQueryObserverOptions(o),a=this.client.getQueryCache().build(this.client,i);return a.fetch().then(function(){return s.createResult(a,i)})},r.fetch=function(o){var s=this;return this.executeFetch(o).then(function(){return s.updateResult(),s.currentResult})},r.executeFetch=function(o){this.updateQuery();var s=this.currentQuery.fetch(this.options,o);return o?.throwOnError||(s=s.catch(Jr)),s},r.updateStaleTimeout=function(){var o=this;if(this.clearStaleTimeout(),!(y1||this.currentResult.isStale||!k4(this.options.staleTime))){var s=bq(this.currentResult.dataUpdatedAt,this.options.staleTime),i=s+1;this.staleTimeoutId=setTimeout(function(){o.currentResult.isStale||o.updateResult()},i)}},r.computeRefetchInterval=function(){var o;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(o=this.options.refetchInterval)!=null?o:!1},r.updateRefetchInterval=function(o){var s=this;this.clearRefetchInterval(),this.currentRefetchInterval=o,!(y1||this.options.enabled===!1||!k4(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(function(){(s.options.refetchIntervalInBackground||Sh.isFocused())&&s.executeFetch()},this.currentRefetchInterval))},r.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},r.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},r.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},r.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},r.createResult=function(o,s){var i=this.currentQuery,a=this.options,l=this.currentResult,c=this.currentResultState,u=this.currentResultOptions,d=o!==i,f=d?o.state:this.currentQueryInitialState,h=d?this.currentResult:this.previousQueryResult,m=o.state,v=m.dataUpdatedAt,y=m.error,b=m.errorUpdatedAt,x=m.isFetching,w=m.status,k=!1,_=!1,E;if(s.optimisticResults){var T=this.hasListeners(),C=!T&&Aq(o,s),P=T&&jq(o,i,s,a);(C||P)&&(x=!0,v||(w="loading"))}if(s.keepPreviousData&&!m.dataUpdateCount&&h?.isSuccess&&w!=="error")E=h.data,v=h.dataUpdatedAt,w=h.status,k=!0;else if(s.select&&typeof m.data<"u")if(l&&m.data===c?.data&&s.select===this.selectFn)E=this.selectResult;else try{this.selectFn=s.select,E=s.select(m.data),s.structuralSharing!==!1&&(E=w1(l?.data,E)),this.selectResult=E,this.selectError=null}catch(O){E1().error(O),this.selectError=O}else E=m.data;if(typeof s.placeholderData<"u"&&typeof E>"u"&&(w==="loading"||w==="idle")){var S;if(l?.isPlaceholderData&&s.placeholderData===u?.placeholderData)S=l.data;else if(S=typeof s.placeholderData=="function"?s.placeholderData():s.placeholderData,s.select&&typeof S<"u")try{S=s.select(S),s.structuralSharing!==!1&&(S=w1(l?.data,S)),this.selectError=null}catch(O){E1().error(O),this.selectError=O}typeof S<"u"&&(w="success",E=S,_=!0)}this.selectError&&(y=this.selectError,E=this.selectResult,b=Date.now(),w="error");var M={status:w,isLoading:w==="loading",isSuccess:w==="success",isError:w==="error",isIdle:w==="idle",data:E,dataUpdatedAt:v,error:y,errorUpdatedAt:b,failureCount:m.fetchFailureCount,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>f.dataUpdateCount||m.errorUpdateCount>f.errorUpdateCount,isFetching:x,isRefetching:x&&w!=="loading",isLoadingError:w==="error"&&m.dataUpdatedAt===0,isPlaceholderData:_,isPreviousData:k,isRefetchError:w==="error"&&m.dataUpdatedAt!==0,isStale:D4(o,s),refetch:this.refetch,remove:this.remove};return M},r.shouldNotifyListeners=function(o,s){if(!s)return!0;var i=this.options,a=i.notifyOnChangeProps,l=i.notifyOnChangePropsExclusions;if(!a&&!l||a==="tracked"&&!this.trackedProps.length)return!0;var c=a==="tracked"?this.trackedProps:a;return Object.keys(o).some(function(u){var d=u,f=o[d]!==s[d],h=c?.some(function(v){return v===u}),m=l?.some(function(v){return v===u});return f&&!m&&(!c||h)})},r.updateResult=function(o){var s=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!IIe(this.currentResult,s)){var i={cache:!0};o?.listeners!==!1&&this.shouldNotifyListeners(this.currentResult,s)&&(i.listeners=!0),this.notify(Ke({},i,o))}},r.updateQuery=function(){var o=this.client.getQueryCache().build(this.client,this.options);if(o!==this.currentQuery){var s=this.currentQuery;this.currentQuery=o,this.currentQueryInitialState=o.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(s?.removeObserver(this),o.addObserver(this))}},r.onQueryUpdate=function(o){var s={};o.type==="success"?s.onSuccess=!0:o.type==="error"&&!_1(o.error)&&(s.onError=!0),this.updateResult(s),this.hasListeners()&&this.updateTimers()},r.notify=function(o){var s=this;nr.batch(function(){o.onSuccess?(s.options.onSuccess==null||s.options.onSuccess(s.currentResult.data),s.options.onSettled==null||s.options.onSettled(s.currentResult.data,null)):o.onError&&(s.options.onError==null||s.options.onError(s.currentResult.error),s.options.onSettled==null||s.options.onSettled(void 0,s.currentResult.error)),o.listeners&&s.listeners.forEach(function(i){i(s.currentResult)}),o.cache&&s.client.getQueryCache().notify({query:s.currentQuery,type:"observerResultsUpdated"})})},t}(Ch);function KIe(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Aq(e,t){return KIe(e,t)||e.state.dataUpdatedAt>0&&T4(e,t,t.refetchOnMount)}function T4(e,t,r){if(t.enabled!==!1){var n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&D4(e,t)}return!1}function jq(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&D4(e,r)}function D4(e,t){return e.isStaleByTime(t.staleTime)}var QIe=function(e){Ni(t,e);function t(n,o){return e.call(this,n,o)||this}var r=t.prototype;return r.bindMethods=function(){e.prototype.bindMethods.call(this),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)},r.setOptions=function(o,s){e.prototype.setOptions.call(this,Ke({},o,{behavior:E4()}),s)},r.getOptimisticResult=function(o){return o.behavior=E4(),e.prototype.getOptimisticResult.call(this,o)},r.fetchNextPage=function(o){var s;return this.fetch({cancelRefetch:(s=o?.cancelRefetch)!=null?s:!0,throwOnError:o?.throwOnError,meta:{fetchMore:{direction:"forward",pageParam:o?.pageParam}}})},r.fetchPreviousPage=function(o){var s;return this.fetch({cancelRefetch:(s=o?.cancelRefetch)!=null?s:!0,throwOnError:o?.throwOnError,meta:{fetchMore:{direction:"backward",pageParam:o?.pageParam}}})},r.createResult=function(o,s){var i,a,l,c,u,d,f=o.state,h=e.prototype.createResult.call(this,o,s);return Ke({},h,{fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:YIe(s,(i=f.data)==null?void 0:i.pages),hasPreviousPage:GIe(s,(a=f.data)==null?void 0:a.pages),isFetchingNextPage:f.isFetching&&((l=f.fetchMeta)==null||(c=l.fetchMore)==null?void 0:c.direction)==="forward",isFetchingPreviousPage:f.isFetching&&((u=f.fetchMeta)==null||(d=u.fetchMore)==null?void 0:d.direction)==="backward"})},t}(Oq),ZIe=Eo.unstable_batchedUpdates;nr.setBatchNotifyFunction(ZIe);var XIe=console;BIe(XIe);var Iq=g.createContext(void 0),$q=g.createContext(!1);function Lq(e){return e&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Iq),window.ReactQueryClientContext):Iq}var JIe=function(){var t=g.useContext(Lq(g.useContext($q)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Fq=function(t){var r=t.client,n=t.contextSharing,o=n===void 0?!1:n,s=t.children;g.useEffect(function(){return r.mount(),function(){r.unmount()}},[r]);var i=Lq(o);return g.createElement($q.Provider,{value:o},g.createElement(i.Provider,{value:r},s))};function e$e(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var t$e=g.createContext(e$e()),r$e=function(){return g.useContext(t$e)};function n$e(e,t,r){return typeof t=="function"?t.apply(void 0,r):typeof t=="boolean"?t:!!e}function Nq(e,t){var r=g.useRef(!1),n=g.useState(0),o=n[1],s=JIe(),i=r$e(),a=s.defaultQueryObserverOptions(e);a.optimisticResults=!0,a.onError&&(a.onError=nr.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=nr.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=nr.batchCalls(a.onSettled)),a.suspense&&(typeof a.staleTime!="number"&&(a.staleTime=1e3),a.cacheTime===0&&(a.cacheTime=1)),(a.suspense||a.useErrorBoundary)&&(i.isReset()||(a.retryOnMount=!1));var l=g.useState(function(){return new t(s,a)}),c=l[0],u=c.getOptimisticResult(a);if(g.useEffect(function(){r.current=!0,i.clearReset();var d=c.subscribe(nr.batchCalls(function(){r.current&&o(function(f){return f+1})}));return c.updateResult(),function(){r.current=!1,d()}},[i,c]),g.useEffect(function(){c.setOptions(a,{listeners:!1})},[a,c]),a.suspense&&u.isLoading)throw c.fetchOptimistic(a).then(function(d){var f=d.data;a.onSuccess==null||a.onSuccess(f),a.onSettled==null||a.onSettled(f,null)}).catch(function(d){i.clearReset(),a.onError==null||a.onError(d),a.onSettled==null||a.onSettled(void 0,d)});if(u.isError&&!i.isReset()&&!u.isFetching&&n$e(a.suspense,a.useErrorBoundary,[u.error,c.getCurrentQuery()]))throw u.error;return a.notifyOnChangeProps==="tracked"&&(u=c.trackResult(u,a)),u}function Rq(e,t,r){var n=kh(e,t,r);return Nq(n,Oq)}function Bq(e,t,r){var n=kh(e,t,r);return Nq(n,QIe)}function o$e(){const{states:{shop:e}}=In(),{data:t,isFetching:r}=Rq({queryKey:"shop-blogs",queryFn:()=>gq(e.url),select(l){return{featured:l.data.featured,recent:l.data.recent}},refetchOnWindowFocus:!1}),{data:n,isFetchingNextPage:o,fetchNextPage:s,hasNextPage:i,isFetching:a}=Bq({queryKey:["more-to-discover-blogs",e.url],queryFn:({pageParam:l=1})=>gq(`${e.url}?page=${l}&limit=10`),getNextPageParam:l=>{const c=l.data.moreToDiscover;return c.hasNextPage?c.nextPage:void 0},select:l=>({pages:l.pages.flatMap(c=>c.data.moreToDiscover.data),pageParams:l.pageParams}),refetchOnWindowFocus:!1});return{featured:t?.featured||[],recent:t?.recent||[],moreToDiscover:{blogs:n?.pages||[],isFetching:a,isFetchingNextPage:o,fetchNextPage:s,hasNextPage:i},isFetching:r}}function s$e({className:e}){return p.jsx("div",{role:"status",children:p.jsxs("svg",{"aria-hidden":"true",className:Ye("w-5 h-5 animate-spin duration-300 text-shop-foreground fill-shop-textColor",e),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),p.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})})}const Vq=g.createContext(void 0);function M4({children:e,handleNavigate:t}){return p.jsx(Vq.Provider,{value:{handleNavigate:t},children:e})}function i$e(){const e=g.useContext(Vq);return e===void 0?{handleNavigate:t=>{window.location.href=t}}:e}const a$e=()=>{const{states:{shop:e}}=In();return{shopName:e.url}};function td(){const{handleNavigate:e}=i$e(),{shopName:t}=a$e(),n=window.location.pathname.includes("paylink"),o=a=>n?`/paylink/${a}`:zZ?`/${a}`:`/${t}/${a}`;return{shopNavigate:a=>{window.location.href=o(a)},generateRoute:o,navigate:a=>{const l=o(a);try{e?e(l):window.location.href=l}catch{window.location.href=l}}}}function l$e({text:e}){const{navigate:t}=td(),{moreToDiscover:r}=o$e();return p.jsx(jn,{props:{margin:"auto",paddingBlock:{base:6,md:"48px"}},children:r.isFetching&&!r.blogs.length?p.jsx("div",{className:"flex w-full items-center justify-center",children:p.jsx(s$e,{})}):p.jsxs("div",{className:"w-full",children:[p.jsxs("div",{className:"flex justify-between items-center mb-4",children:[p.jsx(ct,{className:"text-xl font-bold",children:e}),p.jsx(ct,{className:"text-sm font-bold text-text-link cursor-pointer",onClick:()=>t("blogs"),children:"All Blogs"})]}),!r.isFetching&&r.blogs.length===0?p.jsx(ct,{className:"text-center",children:"No blogs found"}):p.jsx("div",{className:"grid xl:grid-cols-4 md:grid-cols-3 grid-cols-1 lg:gap-6 gap-4",children:r.blogs.slice(0,4).map((n,o)=>p.jsx("div",{className:"px-1",children:p.jsx(DIe,{category:n.category,direction:"column",image:n.image,summary:n.searchEngineSummary,tags:n.tags,updatedAt:n.createdAt,title:n.title,slug:n.slug})},n.slug))})]})})}const c$e=dD({components:{Switch:ft(Ny.keys).defineMultiStyleConfig({baseStyle:ft(Ny.keys).definePartsStyle({container:{border:"none",outline:"none"},thumb:{backgroundColor:"neutral.black"},track:{backgroundColor:"neutral.gray.750",_checked:{bg:"main.primary"}}})}),Divider:{baseStyle:{margin:"0"}},FormLabel:{baseStyle:{margin:"0",width:"fit-content"}}},colors:{neutral:{white:"#ffffff",black:"#000000",background:"#141414",websiteBackground:"#0A0A0A",gray:{50:"#f9f9f9",100:"#f2f2f2",200:"#dedede",300:"#d6d6d6",400:"#c4c4c4",450:"#a3a3a3",500:"#878787",550:"#747474",600:"#616161",650:"#4f4f4f",700:"#3c3c3c",750:"#333333",800:"#292929",850:"#262626",900:"#222222",1e3:"#1c1c1c"}},main:{primary:"#2bcfa1",secondary:"#c5a3ff"},system:{success:"#2bcfa1",warning:"#ffd951",error:"#ff2244",link:"#179ef8"},text:{white:"#ffffff",black:"#000000",subtext:{placeholder:{light:"#b1b1b1",dark:"#7b7b7b"}},disabled:{light:"#bcbcbc",dark:"#4f4f4f"},primary:"#2bcfa1",secondary:"#c5a3ff",error:"#ff2244",link:"#179ef8"},button:{default:{primary:"#2bcfa1",secondary:"#292929"},hover:{transparent:"rgba(43, 206, 161, 0.1)",filled:"#06c295",secondary:"#333333"},pressed:{transparent:"rgba(43, 206, 161, 0.2)",filled:"#01b48a",secondary:"#3c3c3c"},disable:{light:"#f2f2f2",dark:"#262626"}},sonner:{success:"#004935",warning:"#B77B00",error:"#670010",link:"#003E68"},label:{normal:"rgba(0, 0, 0, 0.05)",primary:"rgba(43, 207, 161, 0.1)",secondary:"rgba(197, 163, 255, 0.15)",warning:"rgba(255, 217, 81, 0.1)",errorBackground:"rgba(255, 34, 68, 0.05)",errorStroke:"rgba(255, 34, 68, 0.15)",link:"rgba(23, 158, 248, 0.1)"}},breakpoints:{sm:"360px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1440px","3xl":"1920px"}});function en({children:e}){return p.jsx(Vx,{theme:c$e,children:e})}const zq={blogPosts:{label:"Blog Posts",hideLabel:!0,labelIcon:p.jsx(rs,{color:"#fff"}),visualExample:"https://upload-file-droplinked.s3.amazonaws.com/2d1ca942413757b04e5d9d8f451a913276f63484fdd3e5859eec04beabd33799_or.png",fields:{title:{type:"object",label:"Title",objectFields:{text:{type:"textarea"}}}},defaultProps:{title:{text:"Discover Our Latest Blogs!"}},render:({title:{text:e}})=>p.jsx(en,{children:p.jsx(l$e,{text:e})})}},Hq={imageWithText:{title:"Image With Text",components:["imageWithTextLtr","imageWithTextRtl"]}};function P1(){const{isDarkTheme:e}=Je();return e?"https://upload-file-droplinked.s3.amazonaws.com/b4b9c7da8f6a971de3a00086318f821b6db3b04f0f8b73e6118d79514a33c7a4_or.png":"https://upload-file-droplinked.s3.amazonaws.com/a2c47cc1ea7767a55b895e4104d29c856c9f2808ce69fccd5f2c02d895134c59_or.png"}const O4=()=>{const{isDarkTheme:e}=Je();return e?"text-text-subtextPlaceholder-Light":"text-text-subtextPlaceholder-Dark"},u$e=({color:e="black",...t})=>p.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:p.jsx("path",{d:"M16.9308 3.4629C15.6561 2.87799 14.2892 2.44707 12.8599 2.20025C12.8339 2.19549 12.8079 2.20739 12.7945 2.2312C12.6187 2.54388 12.4239 2.9518 12.2876 3.27242C10.7503 3.04228 9.22099 3.04228 7.71527 3.27242C7.57887 2.94467 7.37707 2.54388 7.20048 2.2312C7.18707 2.20819 7.16107 2.19629 7.13504 2.20025C5.70659 2.44628 4.33963 2.87721 3.06411 3.4629C3.05307 3.46766 3.04361 3.4756 3.03732 3.48591C0.444493 7.35954 -0.265792 11.138 0.0826501 14.8695C0.0842267 14.8878 0.0944749 14.9053 0.108665 14.9164C1.81934 16.1726 3.47642 16.9353 5.10273 17.4408C5.12876 17.4488 5.15634 17.4393 5.1729 17.4178C5.55761 16.8925 5.90054 16.3385 6.19456 15.756C6.21192 15.7219 6.19535 15.6814 6.15989 15.6679C5.61594 15.4616 5.098 15.21 4.59977 14.9243C4.56037 14.9013 4.55721 14.8449 4.59346 14.8179C4.69831 14.7394 4.80318 14.6576 4.9033 14.5751C4.92141 14.56 4.94665 14.5568 4.96794 14.5664C8.24107 16.0608 11.7846 16.0608 15.0191 14.5664C15.0404 14.5561 15.0657 14.5592 15.0846 14.5743C15.1847 14.6568 15.2895 14.7394 15.3952 14.8179C15.4314 14.8449 15.4291 14.9013 15.3897 14.9243C14.8914 15.2155 14.3735 15.4616 13.8288 15.6671C13.7933 15.6806 13.7775 15.7219 13.7949 15.756C14.0952 16.3377 14.4381 16.8917 14.8157 17.417C14.8315 17.4393 14.8599 17.4488 14.8859 17.4408C16.5201 16.9353 18.1772 16.1726 19.8879 14.9164C19.9028 14.9053 19.9123 14.8886 19.9139 14.8703C20.3309 10.5562 19.2154 6.80878 16.9568 3.4867C16.9513 3.4756 16.9419 3.46766 16.9308 3.4629ZM6.68335 12.5974C5.69792 12.5974 4.88594 11.6927 4.88594 10.5816C4.88594 9.47056 5.68217 8.56585 6.68335 8.56585C7.69239 8.56585 8.49651 9.4785 8.48073 10.5816C8.48073 11.6927 7.68451 12.5974 6.68335 12.5974ZM13.329 12.5974C12.3435 12.5974 11.5316 11.6927 11.5316 10.5816C11.5316 9.47056 12.3278 8.56585 13.329 8.56585C14.338 8.56585 15.1421 9.4785 15.1264 10.5816C15.1264 11.6927 14.338 12.5974 13.329 12.5974Z",fill:"#5865F2"})}),d$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsxs("g",{"clip-path":"url(#clip0_10025_4281)",children:[p.jsx("path",{d:"M20 10C20 4.47717 15.5228 1.33514e-05 9.99999 1.33514e-05C4.47716 1.33514e-05 0 4.47717 0 10C0 14.6898 3.2286 18.6249 7.58423 19.7055V13.0558H5.52216V10H7.58423V8.68325C7.58423 5.27957 9.12455 3.70197 12.4662 3.70197C13.0997 3.70197 14.1928 3.82617 14.64 3.95041V6.72057C14.404 6.69573 13.9941 6.68329 13.4848 6.68329C11.845 6.68329 11.2115 7.30441 11.2115 8.91929V10H14.4778L13.9167 13.0558H11.2115V19.9268C16.1629 19.3287 20 15.1127 20 10Z",fill:"#0866FF"}),p.jsx("path",{d:"M13.917 13.0558L14.4782 10H11.2118V8.91925C11.2118 7.30437 11.8453 6.68329 13.4851 6.68329C13.9944 6.68329 14.4043 6.69569 14.6403 6.72053V3.95041C14.1931 3.82617 13.1 3.70193 12.4665 3.70193C9.1249 3.70193 7.58454 5.27957 7.58454 8.68325V10H5.52246V13.0558H7.58454V19.7055C8.35826 19.8974 9.16726 20 10.0003 20C10.4105 20 10.8146 19.9747 11.2118 19.9268V13.0558H13.917Z",fill:"white"})]}),p.jsx("defs",{children:p.jsx("clipPath",{id:"clip0_10025_4281",children:p.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),f$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.86487 10C4.86487 7.16393 7.16393 4.86487 10 4.86487C12.8361 4.86487 15.1351 7.16393 15.1351 10C15.1351 12.8361 12.8361 15.1351 10 15.1351C7.16393 15.1351 4.86487 12.8361 4.86487 10ZM10 13.3333C8.15904 13.3333 6.66667 11.841 6.66667 10C6.66667 8.15904 8.15904 6.66667 10 6.66667C11.841 6.66667 13.3333 8.15904 13.3333 10C13.3333 11.841 11.841 13.3333 10 13.3333Z",fill:"url(#paint0_linear_10025_4331)"}),p.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.86487 10C4.86487 7.16393 7.16393 4.86487 10 4.86487C12.8361 4.86487 15.1351 7.16393 15.1351 10C15.1351 12.8361 12.8361 15.1351 10 15.1351C7.16393 15.1351 4.86487 12.8361 4.86487 10ZM10 13.3333C8.15904 13.3333 6.66667 11.841 6.66667 10C6.66667 8.15904 8.15904 6.66667 10 6.66667C11.841 6.66667 13.3333 8.15904 13.3333 10C13.3333 11.841 11.841 13.3333 10 13.3333Z",fill:"url(#paint1_radial_10025_4331)"}),p.jsx("path",{d:"M15.338 5.86197C16.0008 5.86197 16.538 5.32474 16.538 4.66199C16.538 3.99924 16.0008 3.46197 15.338 3.46197C14.6753 3.46197 14.138 3.99924 14.138 4.66199C14.138 5.32474 14.6753 5.86197 15.338 5.86197Z",fill:"url(#paint2_linear_10025_4331)"}),p.jsx("path",{d:"M15.338 5.86197C16.0008 5.86197 16.538 5.32474 16.538 4.66199C16.538 3.99924 16.0008 3.46197 15.338 3.46197C14.6753 3.46197 14.138 3.99924 14.138 4.66199C14.138 5.32474 14.6753 5.86197 15.338 5.86197Z",fill:"url(#paint3_radial_10025_4331)"}),p.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 0C7.28416 0 6.94362 0.0115116 5.87701 0.0601777C4.81263 0.108725 4.08569 0.277786 3.44962 0.525007C2.79203 0.780524 2.23436 1.12246 1.67839 1.67839C1.12246 2.23436 0.780524 2.79203 0.525007 3.44962C0.277786 4.08569 0.108725 4.81263 0.0601777 5.87701C0.0115116 6.94362 0 7.28416 0 10C0 12.7158 0.0115116 13.0564 0.0601777 14.123C0.108725 15.1874 0.277786 15.9143 0.525007 16.5504C0.780524 17.208 1.12246 17.7656 1.67839 18.3216C2.23436 18.8775 2.79203 19.2195 3.44962 19.475C4.08569 19.7222 4.81263 19.8913 5.87701 19.9398C6.94362 19.9885 7.28416 20 10 20C12.7158 20 13.0564 19.9885 14.123 19.9398C15.1874 19.8913 15.9143 19.7222 16.5504 19.475C17.208 19.2195 17.7656 18.8775 18.3216 18.3216C18.8775 17.7656 19.2195 17.208 19.475 16.5504C19.7222 15.9143 19.8913 15.1874 19.9398 14.123C19.9885 13.0564 20 12.7158 20 10C20 7.28416 19.9885 6.94362 19.9398 5.87701C19.8913 4.81263 19.7222 4.08569 19.475 3.44962C19.2195 2.79203 18.8775 2.23436 18.3216 1.67839C17.7656 1.12246 17.208 0.780524 16.5504 0.525007C15.9143 0.277786 15.1874 0.108725 14.123 0.0601777C13.0564 0.0115116 12.7158 0 10 0ZM10 1.8018C12.6701 1.8018 12.9864 1.812 14.0409 1.86011C15.0159 1.90457 15.5453 2.06748 15.8977 2.20443C16.3645 2.38583 16.6976 2.60253 17.0475 2.95248C17.3975 3.30239 17.6142 3.63551 17.7956 4.10229C17.9325 4.45466 18.0954 4.98415 18.1399 5.95914C18.188 7.0136 18.1982 7.32989 18.1982 10C18.1982 12.6701 18.188 12.9864 18.1399 14.0409C18.0954 15.0158 17.9325 15.5453 17.7956 15.8977C17.6142 16.3645 17.3975 16.6976 17.0475 17.0475C16.6976 17.3975 16.3645 17.6142 15.8977 17.7956C15.5453 17.9325 15.0159 18.0954 14.0409 18.1399C12.9866 18.188 12.6703 18.1982 10 18.1982C7.3297 18.1982 7.01348 18.188 5.95914 18.1399C4.98415 18.0954 4.45466 17.9325 4.10229 17.7956C3.63551 17.6142 3.30239 17.3975 2.95248 17.0475C2.60257 16.6976 2.38583 16.3645 2.20443 15.8977C2.06748 15.5453 1.90457 15.0158 1.86011 14.0409C1.812 12.9864 1.8018 12.6701 1.8018 10C1.8018 7.32989 1.812 7.0136 1.86011 5.95914C1.90457 4.98415 2.06748 4.45466 2.20443 4.10229C2.38583 3.63551 2.60253 3.30239 2.95248 2.95248C3.30239 2.60253 3.63551 2.38583 4.10229 2.20443C4.45466 2.06748 4.98415 1.90457 5.95914 1.86011C7.0136 1.812 7.32989 1.8018 10 1.8018Z",fill:"url(#paint4_linear_10025_4331)"}),p.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 0C7.28416 0 6.94362 0.0115116 5.87701 0.0601777C4.81263 0.108725 4.08569 0.277786 3.44962 0.525007C2.79203 0.780524 2.23436 1.12246 1.67839 1.67839C1.12246 2.23436 0.780524 2.79203 0.525007 3.44962C0.277786 4.08569 0.108725 4.81263 0.0601777 5.87701C0.0115116 6.94362 0 7.28416 0 10C0 12.7158 0.0115116 13.0564 0.0601777 14.123C0.108725 15.1874 0.277786 15.9143 0.525007 16.5504C0.780524 17.208 1.12246 17.7656 1.67839 18.3216C2.23436 18.8775 2.79203 19.2195 3.44962 19.475C4.08569 19.7222 4.81263 19.8913 5.87701 19.9398C6.94362 19.9885 7.28416 20 10 20C12.7158 20 13.0564 19.9885 14.123 19.9398C15.1874 19.8913 15.9143 19.7222 16.5504 19.475C17.208 19.2195 17.7656 18.8775 18.3216 18.3216C18.8775 17.7656 19.2195 17.208 19.475 16.5504C19.7222 15.9143 19.8913 15.1874 19.9398 14.123C19.9885 13.0564 20 12.7158 20 10C20 7.28416 19.9885 6.94362 19.9398 5.87701C19.8913 4.81263 19.7222 4.08569 19.475 3.44962C19.2195 2.79203 18.8775 2.23436 18.3216 1.67839C17.7656 1.12246 17.208 0.780524 16.5504 0.525007C15.9143 0.277786 15.1874 0.108725 14.123 0.0601777C13.0564 0.0115116 12.7158 0 10 0ZM10 1.8018C12.6701 1.8018 12.9864 1.812 14.0409 1.86011C15.0159 1.90457 15.5453 2.06748 15.8977 2.20443C16.3645 2.38583 16.6976 2.60253 17.0475 2.95248C17.3975 3.30239 17.6142 3.63551 17.7956 4.10229C17.9325 4.45466 18.0954 4.98415 18.1399 5.95914C18.188 7.0136 18.1982 7.32989 18.1982 10C18.1982 12.6701 18.188 12.9864 18.1399 14.0409C18.0954 15.0158 17.9325 15.5453 17.7956 15.8977C17.6142 16.3645 17.3975 16.6976 17.0475 17.0475C16.6976 17.3975 16.3645 17.6142 15.8977 17.7956C15.5453 17.9325 15.0159 18.0954 14.0409 18.1399C12.9866 18.188 12.6703 18.1982 10 18.1982C7.3297 18.1982 7.01348 18.188 5.95914 18.1399C4.98415 18.0954 4.45466 17.9325 4.10229 17.7956C3.63551 17.6142 3.30239 17.3975 2.95248 17.0475C2.60257 16.6976 2.38583 16.3645 2.20443 15.8977C2.06748 15.5453 1.90457 15.0158 1.86011 14.0409C1.812 12.9864 1.8018 12.6701 1.8018 10C1.8018 7.32989 1.812 7.0136 1.86011 5.95914C1.90457 4.98415 2.06748 4.45466 2.20443 4.10229C2.38583 3.63551 2.60253 3.30239 2.95248 2.95248C3.30239 2.60253 3.63551 2.38583 4.10229 2.20443C4.45466 2.06748 4.98415 1.90457 5.95914 1.86011C7.0136 1.812 7.32989 1.8018 10 1.8018Z",fill:"url(#paint5_radial_10025_4331)"}),p.jsxs("defs",{children:[p.jsxs("linearGradient",{id:"paint0_linear_10025_4331",x1:"1.16694",y1:"1.05146",x2:"7.47276",y2:"25.4432",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{"stop-color":"#4E60D3"}),p.jsx("stop",{offset:"0.142763","stop-color":"#913BAF"}),p.jsx("stop",{offset:"0.761458","stop-color":"#D52D88"}),p.jsx("stop",{offset:"1","stop-color":"#F26D4F"})]}),p.jsxs("radialGradient",{id:"paint1_radial_10025_4331",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.05487 20) rotate(32.1601) scale(18.6789 13.4426)",children:[p.jsx("stop",{"stop-color":"#FED276"}),p.jsx("stop",{offset:"0.17024","stop-color":"#FDBD61","stop-opacity":"0.975006"}),p.jsx("stop",{offset:"0.454081","stop-color":"#F6804D"}),p.jsx("stop",{offset:"1","stop-color":"#E83D5C","stop-opacity":"0.01"})]}),p.jsxs("linearGradient",{id:"paint2_linear_10025_4331",x1:"1.16694",y1:"1.05146",x2:"7.47276",y2:"25.4432",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{"stop-color":"#4E60D3"}),p.jsx("stop",{offset:"0.142763","stop-color":"#913BAF"}),p.jsx("stop",{offset:"0.761458","stop-color":"#D52D88"}),p.jsx("stop",{offset:"1","stop-color":"#F26D4F"})]}),p.jsxs("radialGradient",{id:"paint3_radial_10025_4331",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.05487 20) rotate(32.1601) scale(18.6789 13.4426)",children:[p.jsx("stop",{"stop-color":"#FED276"}),p.jsx("stop",{offset:"0.17024","stop-color":"#FDBD61","stop-opacity":"0.975006"}),p.jsx("stop",{offset:"0.454081","stop-color":"#F6804D"}),p.jsx("stop",{offset:"1","stop-color":"#E83D5C","stop-opacity":"0.01"})]}),p.jsxs("linearGradient",{id:"paint4_linear_10025_4331",x1:"1.16694",y1:"1.05146",x2:"7.47276",y2:"25.4432",gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{"stop-color":"#4E60D3"}),p.jsx("stop",{offset:"0.142763","stop-color":"#913BAF"}),p.jsx("stop",{offset:"0.761458","stop-color":"#D52D88"}),p.jsx("stop",{offset:"1","stop-color":"#F26D4F"})]}),p.jsxs("radialGradient",{id:"paint5_radial_10025_4331",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.05487 20) rotate(32.1601) scale(18.6789 13.4426)",children:[p.jsx("stop",{"stop-color":"#FED276"}),p.jsx("stop",{offset:"0.17024","stop-color":"#FDBD61","stop-opacity":"0.975006"}),p.jsx("stop",{offset:"0.454081","stop-color":"#F6804D"}),p.jsx("stop",{offset:"1","stop-color":"#E83D5C","stop-opacity":"0.01"})]})]})]}),p$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsx("g",{"clip-path":"url(#clip0_10025_4216)",children:p.jsx("path",{d:"M18.5236 0H1.47639C1.08483 0 0.709301 0.155548 0.432425 0.432425C0.155548 0.709301 0 1.08483 0 1.47639V18.5236C0 18.9152 0.155548 19.2907 0.432425 19.5676C0.709301 19.8445 1.08483 20 1.47639 20H18.5236C18.9152 20 19.2907 19.8445 19.5676 19.5676C19.8445 19.2907 20 18.9152 20 18.5236V1.47639C20 1.08483 19.8445 0.709301 19.5676 0.432425C19.2907 0.155548 18.9152 0 18.5236 0ZM5.96111 17.0375H2.95417V7.48611H5.96111V17.0375ZM4.45556 6.1625C4.11447 6.16058 3.7816 6.05766 3.49895 5.86674C3.21629 5.67582 2.99653 5.40544 2.8674 5.08974C2.73826 4.77404 2.70554 4.42716 2.77336 4.09288C2.84118 3.7586 3.0065 3.4519 3.24846 3.21148C3.49042 2.97107 3.79818 2.80772 4.13289 2.74205C4.4676 2.67638 4.81426 2.71133 5.12913 2.84249C5.44399 2.97365 5.71295 3.19514 5.90205 3.47901C6.09116 3.76288 6.19194 4.09641 6.19167 4.4375C6.19488 4.66586 6.15209 4.89253 6.06584 5.104C5.97959 5.31547 5.85165 5.50742 5.68964 5.66839C5.52763 5.82936 5.33487 5.95607 5.12285 6.04096C4.91083 6.12585 4.68389 6.16718 4.45556 6.1625ZM17.0444 17.0458H14.0389V11.8278C14.0389 10.2889 13.3847 9.81389 12.5403 9.81389C11.6486 9.81389 10.7736 10.4861 10.7736 11.8667V17.0458H7.76667V7.49306H10.6583V8.81667H10.6972C10.9875 8.22917 12.0042 7.225 13.5556 7.225C15.2333 7.225 17.0458 8.22083 17.0458 11.1375L17.0444 17.0458Z",fill:"#0A66C2"})}),p.jsx("defs",{children:p.jsx("clipPath",{id:"clip0_10025_4216",children:p.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),h$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsx("path",{d:"M9.99972 0C4.36738 0 0 4.12739 0 9.69973C0 12.6147 1.19497 15.1346 3.13991 16.8745C3.30241 17.0195 3.40241 17.2245 3.4074 17.4445L3.4624 19.2245C3.46641 19.3554 3.50252 19.4834 3.56757 19.5972C3.63261 19.7109 3.7246 19.8069 3.83545 19.8768C3.9463 19.9467 4.07261 19.9882 4.20328 19.9978C4.33395 20.0075 4.46499 19.9848 4.58487 19.932L6.56982 19.057C6.73731 18.982 6.92731 18.9695 7.1048 19.017C8.01728 19.267 8.98725 19.402 9.99972 19.402C15.6321 19.402 19.9994 15.2746 19.9994 9.70223C19.9994 4.12989 15.6321 0 9.99972 0Z",fill:"url(#paint0_radial_10025_4291)"}),p.jsx("path",{d:"M3.99446 12.5371L6.93188 7.87722C7.04238 7.70178 7.18805 7.55115 7.3597 7.43485C7.53135 7.31855 7.72525 7.2391 7.92916 7.20151C8.13306 7.16392 8.34254 7.16902 8.54438 7.21648C8.74622 7.26393 8.93602 7.35272 9.10182 7.47723L11.4392 9.22968C11.5436 9.30781 11.6706 9.34982 11.8009 9.34937C11.9313 9.34892 12.0579 9.30603 12.1617 9.22718L15.3166 6.83225C15.7366 6.51226 16.2866 7.01724 16.0066 7.46473L13.0667 12.1221C12.9562 12.2975 12.8105 12.4482 12.6389 12.5645C12.4672 12.6808 12.2733 12.7602 12.0694 12.7978C11.8655 12.8354 11.656 12.8303 11.4542 12.7828C11.2524 12.7354 11.0626 12.6466 10.8968 12.5221L8.55933 10.7696C8.45498 10.6915 8.32803 10.6495 8.19767 10.65C8.06732 10.6504 7.94066 10.6933 7.83685 10.7721L4.68194 13.1671C4.26195 13.4871 3.71197 12.9846 3.99446 12.5371Z",fill:"white"}),p.jsx("defs",{children:p.jsxs("radialGradient",{id:"paint0_radial_10025_4291",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(3.34991 19.9995) scale(21.9994 21.9994)",children:[p.jsx("stop",{"stop-color":"#0099FF"}),p.jsx("stop",{offset:"0.6","stop-color":"#A033FF"}),p.jsx("stop",{offset:"0.9","stop-color":"#FF5280"}),p.jsx("stop",{offset:"1","stop-color":"#FF7061"})]})})]}),m$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsx("path",{d:"M14.314 7.21939C15.6001 8.14204 17.1757 8.6849 18.8774 8.6849V5.39868C18.5553 5.39875 18.2341 5.36505 17.919 5.29805V7.88478C16.2175 7.88478 14.6421 7.34191 13.3557 6.41934V13.1256C13.3557 16.4804 10.6457 19.1998 7.30306 19.1998C6.05583 19.1998 4.89658 18.8214 3.93359 18.1724C5.03269 19.3002 6.56546 19.9998 8.2612 19.9998C11.6041 19.9998 14.3141 17.2804 14.3141 13.9255V7.21939H14.314ZM15.4962 3.904C14.8389 3.18336 14.4074 2.25207 14.314 1.22248V0.799805H13.4058C13.6344 2.10841 14.4142 3.2264 15.4962 3.904ZM6.04783 15.598C5.6806 15.1148 5.48215 14.5237 5.48304 13.9159C5.48304 12.3815 6.72255 11.1374 8.25176 11.1374C8.53676 11.1374 8.82004 11.1812 9.09164 11.2676V7.90798C8.77424 7.86433 8.4539 7.84579 8.13371 7.85259V10.4676C7.86191 10.3811 7.57848 10.3372 7.29342 10.3375C5.76421 10.3375 4.52477 11.5814 4.52477 13.116C4.52477 14.201 5.14432 15.1404 6.04783 15.598Z",fill:"#FF004F"}),p.jsx("path",{d:"M13.3551 6.41927C14.6416 7.34185 16.217 7.88471 17.9185 7.88471V5.29799C16.9687 5.09495 16.1279 4.59684 15.4957 3.904C14.4136 3.22633 13.6339 2.10834 13.4053 0.799805H11.0198V13.9253C11.0144 15.4555 9.77704 16.6945 8.25111 16.6945C7.3519 16.6945 6.55304 16.2644 6.04711 15.598C5.14366 15.1404 4.52412 14.2009 4.52412 13.116C4.52412 11.5816 5.76355 10.3375 7.29277 10.3375C7.58576 10.3375 7.86815 10.3833 8.13305 10.4677V7.85266C4.8491 7.92075 2.20801 10.6136 2.20801 13.9254C2.20801 15.5787 2.8657 17.0774 3.93314 18.1724C4.89613 18.8214 6.05538 19.1998 7.30261 19.1998C10.6453 19.1998 13.3552 16.4803 13.3552 13.1256V6.41927H13.3551Z",fill:"white"}),p.jsx("path",{d:"M17.9188 5.29817V4.59874C17.0623 4.60004 16.2226 4.35932 15.496 3.90411C16.1392 4.61089 16.9863 5.09822 17.9188 5.29817ZM13.4056 0.799986C13.3838 0.674926 13.367 0.549042 13.3554 0.422678V0H10.0617V13.1257C10.0564 14.6556 8.8191 15.8946 7.29303 15.8946C6.845 15.8946 6.42199 15.7879 6.04737 15.5983C6.55331 16.2645 7.35216 16.6946 8.25137 16.6946C9.77717 16.6946 11.0148 15.4558 11.0201 13.9256V0.799986H13.4056ZM8.13345 7.85284V7.10824C7.85823 7.07049 7.58076 7.05155 7.30294 7.05169C3.95993 7.05162 1.25 9.77116 1.25 13.1257C1.25 15.2288 2.31505 17.0822 3.93347 18.1725C2.86603 17.0775 2.20834 15.5787 2.20834 13.9255C2.20834 10.6138 4.84936 7.92093 8.13345 7.85284Z",fill:"#00F2EA"})]}),g$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsxs("g",{"clip-path":"url(#clip0_10025_4339)",children:[p.jsx("path",{d:"M19.6004 5.15459C19.4873 4.7291 19.2645 4.34077 18.9541 4.02847C18.6438 3.71617 18.2569 3.49084 17.8322 3.37504C16.2686 2.95459 10.0186 2.95459 10.0186 2.95459C10.0186 2.95459 3.76855 2.95459 2.20492 3.37504C1.78016 3.49084 1.39327 3.71617 1.08296 4.02847C0.772651 4.34077 0.549809 4.7291 0.436737 5.15459C0.0185547 6.72504 0.0185547 10 0.0185547 10C0.0185547 10 0.0185547 13.275 0.436737 14.8455C0.549809 15.271 0.772651 15.6593 1.08296 15.9716C1.39327 16.2839 1.78016 16.5092 2.20492 16.625C3.76855 17.0455 10.0186 17.0455 10.0186 17.0455C10.0186 17.0455 16.2686 17.0455 17.8322 16.625C18.2569 16.5092 18.6438 16.2839 18.9541 15.9716C19.2645 15.6593 19.4873 15.271 19.6004 14.8455C20.0186 13.275 20.0186 10 20.0186 10C20.0186 10 20.0186 6.72504 19.6004 5.15459Z",fill:"#FF0302"}),p.jsx("path",{d:"M7.97363 12.9741V7.02637L13.2009 10.0002L7.97363 12.9741Z",fill:"#FEFEFE"})]}),p.jsx("defs",{children:p.jsx("clipPath",{id:"clip0_10025_4339",children:p.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(-0.000976562)"})})})]}),v$e=({color:e="black",...t})=>p.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:p.jsx("path",{d:"M10.7984 7.86419L7.3123 2.89944L7.26004 2.825H7.16908H3H2.66326L2.85679 3.10057L8.24368 10.7713L2.86858 16.8844L2.6131 17.175H3H4.235H4.31417L4.36644 17.1155L8.99829 11.8462L12.6877 17.1006L12.74 17.175H12.8309H17H17.3367L17.1432 16.8994L11.5558 8.94081L16.6773 3.11555L16.9327 2.825H16.5459H15.3109H15.2317L15.1795 2.88441L10.7984 7.86419ZM9.78384 10.7501L9.78376 10.7499L9.22913 9.97445L9.22909 9.97441L5.02055 4.08603H6.48756L9.99218 8.98989L9.99234 8.99013L10.5445 9.76543L10.5447 9.76566L14.9701 15.9584H13.5031L9.78384 10.7501Z",fill:e,stroke:e,strokeWidth:"0.35"})}),y$e=(e,t)=>{switch(e){case"discord":return u$e;case"facebook":return d$e;case"instagram":return f$e;case"linkedin":return p$e;case"messenger":return h$e;case"tiktok":return m$e;case"twitter":return v$e;case"youtube":return g$e;default:return null}};function Wq(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function T1(...e){return t=>{let r=!1;const n=e.map(o=>{const s=Wq(o,t);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let o=0;o<n.length;o++){const s=n[o];typeof s=="function"?s():Wq(e[o],null)}}}}function fr(...e){return D.useCallback(T1(...e),e)}function rd(e){const t=x$e(e),r=D.forwardRef((n,o)=>{const{children:s,...i}=n,a=D.Children.toArray(s),l=a.find(C$e);if(l){const c=l.props.children,u=a.map(d=>d===l?D.Children.count(c)>1?D.Children.only(null):D.isValidElement(c)?c.props.children:null:d);return p.jsx(t,{...i,ref:o,children:D.isValidElement(c)?D.cloneElement(c,void 0,u):null})}return p.jsx(t,{...i,ref:o,children:s})});return r.displayName=`${e}.Slot`,r}var b$e=rd("Slot");function x$e(e){const t=D.forwardRef((r,n)=>{const{children:o,...s}=r;if(D.isValidElement(o)){const i=S$e(o),a=k$e(s,o.props);return o.type!==D.Fragment&&(a.ref=n?T1(n,i):i),D.cloneElement(o,a)}return D.Children.count(o)>1?D.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var w$e=Symbol("radix.slottable");function C$e(e){return D.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===w$e}function k$e(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function S$e(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const Uq=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,qq=yr,Yq=(e,t)=>r=>{var n;if(t?.variants==null)return qq(e,r?.class,r?.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(c=>{const u=r?.[c],d=s?.[c];if(u===null)return null;const f=Uq(u)||Uq(d);return o[c][f]}),a=r&&Object.entries(r).reduce((c,u)=>{let[d,f]=u;return f===void 0||(c[d]=f),c},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((c,u)=>{let{class:d,className:f,...h}=u;return Object.entries(h).every(m=>{let[v,y]=m;return Array.isArray(y)?y.includes({...s,...a}[v]):{...s,...a}[v]===y})?[...c,d,f]:c},[]);return qq(e,i,l,r?.class,r?.className)},_$e=Yq("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none !font-shopfont ",{variants:{variant:{default:"",outline:"",secondary:""},size:{sm:"py-2 px-3 text-xs",md:"py-[10px] px-[14px] text-sm",lg:"py-3 px-4 text-lg"}},defaultVariants:{variant:"default",size:"md"}}),kl=D.forwardRef(({className:e,variant:t,size:r,asChild:n=!1,iconLeft:o,iconRight:s,...i},a)=>{const{isDarkTheme:l}=Je(),c={default:l?"bg-neutral-white text-neutral-black disabled:bg-button-disable-Dark disabled:text-text-disabled-Dark":"bg-neutral-black text-neutral-white disabled:bg-button-disable-Light disabled:text-text-disabled-Light",outline:l?"border border-neutral-white text-shop-textColor disabled:border-button-disable-Dark disabled:text-text-disabled-Dark":"border border-neutral-black text-black hover:bg-neutral-gray-100 disabled:border-button-disable-Light disabled:text-text-disabled-Light",secondary:l?"bg-neutral-gray-900 text-white hover:bg-neutral-gray-1000 disabled:bg-button-disable-Dark disabled:text-text-disabled-Dark":"bg-neutral-gray-50 text-black hover:bg-neutral-gray-100 disabled:border-button-disable-Light disabled:text-text-disabled-Light"},u=n?b$e:"button";return p.jsxs(u,{className:Ye(_$e({variant:t,size:r}),c[t||"default"],e),ref:a,...i,disabled:i.disabled,children:[o&&p.jsx("span",{className:"flex items-center",children:o}),p.jsx("span",{children:i.children}),s&&p.jsx("span",{className:"flex items-center",children:s})]})});kl.displayName="Button";function A4({appearance:e,linkTo:t}){const{label:r,url:n,type:o,channel:s}=t?.data??{};let i=r;if(t?.data.type==="social"&&s){const a=y$e(s);i=a?p.jsx(a,{}):r}return p.jsx("a",{href:n,children:p.jsx(kl,{variant:e?.variant,className:"min-w-[100px] w-max !font-shopfont",style:{minWidth:t?.data?.type==="url"?"100px":"auto",width:t?.data?.type==="url"?"max-content":"min-content"},children:i})})}function Gq({appearance:e,coverMedia:t,title:r,subtitle:n,buttons:o}){const s=P1(),i=O4(),a=t?.image||s,l=e?.orientation||"ltr";return p.jsx(jn,{props:{margin:"auto"},children:p.jsxs("div",{className:Ye("grid grid-cols-1 md:grid-cols-2 items-center gap-4 2xl:gap-6","!font-shopfont"),children:[p.jsx("img",{className:Ye("order-2 w-full h-[200px] md:h-[250px] xl:h-[400px] 3xl:h-[500px] rounded-2xl object-cover",l==="ltr"?"md:order-1":"md:order-2"),src:a}),p.jsxs("div",{className:Ye("order-1",l==="ltr"?"md:order-2":"md:order-1","!font-shopfont"),children:[r?.text&&p.jsx("h3",{className:"text-center text-shop-textColor xl:text-left mb-1 xl:mb-2 text-2xl xl:text-[32px] font-bold !font-shopfont",children:r.text}),n?.text&&p.jsx("p",{className:`text-center xl:text-left text-base ${i} !font-shopfont`,children:n.text}),o?.length?p.jsx("div",{className:"flex flex-wrap justify-center xl:justify-start gap-3 mt-4 xl:mt-6 !font-shopfont",children:o.map((c,u)=>c.data?.label?p.jsx(A4,{appearance:{variant:u===0?"default":"outline"},linkTo:c},u):null)}):null]})]})})}const Kq=e=>{const t=e==="ltr"?"https://upload-file-droplinked.s3.amazonaws.com/ca65a269215b7f2e4bee7a9577809b6c015b03102c8ac6b5822f051c4033751d_or.png":"https://upload-file-droplinked.s3.amazonaws.com/d137cdecbda0a5c36a61e75436d0a30aba32570f22c665de94b1fc4fa2286335_or.png";return{label:"Story Telling",hideLabel:!0,labelIcon:p.jsx(rs,{color:"#fff"}),visualExample:t,gridColumn:"span 2",fields:{coverMedia:{type:"object",label:"Cover Media",objectFields:{image:{type:"image"}}},title:{type:"object",label:"Title",objectFields:{text:{type:"textarea",label:"Title"}}},subtitle:{type:"object",label:"Subtitle",objectFields:{text:{type:"textarea",label:"Subtitle"}}},buttons:{type:"array",label:"Buttons",arrayFields:{data:{type:"button",label:"Button"}}}},defaultProps:{appearance:{orientation:e},coverMedia:{image:""},title:{text:"The Journey Begins"},subtitle:{text:"Learn more about our story, where passion and purpose unite to create change."},buttons:[{data:{label:"Dive In",url:"#",type:"url"}},{data:{label:"Explore More",url:"#",type:"url"}}]},render:({appearance:r,coverMedia:n,title:o,subtitle:s,buttons:i})=>p.jsx(en,{children:p.jsx(Gq,{appearance:r,coverMedia:n,title:o,subtitle:s,buttons:i})})}},Qq={imageWithTextLtr:Kq("ltr"),imageWithTextRtl:Kq("rtl")},Zq=({color:e="black",...t})=>p.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:p.jsx("path",{d:"M3 8H13M13 8L9.7237 11M13 8L9.7237 5",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"})}),j4=e=>e?/^https?:\/\//i.test(e)?!0:e.startsWith("/")?!1:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}(\/.*)?$/.test(e):!1,I4=e=>e&&(j4(e)&&!/^https?:\/\//i.test(e)?`https://${e}`:e);function E$e({linkManagement:e}){const{isDarkTheme:t,shopDesign:{textColorParagraphs:r}}=Je(),n=t?"text-white":"text-black",o=t?"text-[#7B7B7B] hover:text-white":"text-[#B1B1B1] hover:text-black",s=e?.firstColumn?.name??"First Column",i=e?.firstColumn?.links?.map(c=>({caption:c.list?.label??"",link:c.list?.url?I4(c.list.url):"#"}))??[],a=e?.secondColumn?.name??"Second Column",l=e?.secondColumn?.links?.map(c=>({caption:c.list?.label??"",link:c.list?.url?I4(c.list.url):"#"}))??[];return p.jsx("div",{className:"flex",children:p.jsxs("div",{className:"flex w-full flex-shrink flex-col gap-12 md:flex-row",children:[i.length>0&&p.jsxs("div",{className:"mb-4 w-full md:mb-0 md:w-auto",children:[p.jsx(ct,{className:`mb-2 text-sm ${n}`,children:s}),p.jsx(Xq,{textColorParagraphs:r,links:i,linkTextClass:o,isDynamic:!0})]}),l.length>0&&p.jsxs("div",{className:"mb-4 w-full md:mb-0 md:w-auto",children:[p.jsx(ct,{className:`mb-2 text-sm ${n}`,children:a}),p.jsx(Xq,{textColorParagraphs:r,links:l,linkTextClass:o,isDynamic:!0})]})]})})}const Xq=({links:e,linkTextClass:t,isDynamic:r=!1,textColorParagraphs:n})=>e.length?p.jsx("ul",{className:"space-y-2",children:e.map(({caption:o,link:s},i)=>p.jsx("li",{children:r?p.jsx("a",{href:s,target:j4(s)?"_blank":"_self",rel:"noopener noreferrer",className:"flex",children:p.jsx("span",{className:"group flex",children:p.jsxs(ct,{className:`relative flex items-center text-sm ${t}`,children:[o,p.jsx("div",{className:"ml-1 h-4 w-4 translate-x-[-4px] transform opacity-0 transition duration-100 ease-out group-hover:translate-x-0 group-hover:opacity-100",children:p.jsx(Zq,{color:n})})]})})}):p.jsx("span",{className:"group flex",children:p.jsxs(ct,{className:`relative flex items-center text-sm ${t}`,children:[o,p.jsx("div",{className:"ml-1 h-4 w-4 translate-x-[-4px] transform opacity-0 transition duration-100 ease-out group-hover:translate-x-0 group-hover:opacity-100",children:p.jsx(Zq,{color:n})})]})})},i))}):null,P$e=xh(),Jq=({...e})=>{const t=P$e(n=>n.appState.data.shopDefaultData.logo),{navigate:r}=td();return p.jsx(gf,{src:e?.src||t,height:"45px",maxWidth:"100%",cursor:"pointer",onClick:()=>r(""),...e})},D1={TimerAlien:e=>D.createElement("svg",{width:62,height:38,viewBox:"0 0 62 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("g",{id:"Frame",clipPath:"url(#clip0_9029_18184)"},D.createElement("g",{id:"[component:lottie:https://assets10.lottiefiles.com/packages/lf20_borkvxlu.json]"},D.createElement("g",{id:"Group"},D.createElement("g",{id:"Group_2"},D.createElement("path",{id:"Vector",d:"M30.8918 0.226562C17.9017 0.226562 7.37109 10.8115 7.37109 23.8686V36.5436H54.4125V23.8686C54.4125 10.8115 43.8817 0.226562 30.8918 0.226562Z",fill:"#2BCFA1"}))),D.createElement("g",{id:"Group_3"},D.createElement("g",{id:"Group_4"},D.createElement("path",{id:"Vector_2",d:"M5.99823 31.4883C2.7145 31.4883 0.0527344 34.1639 0.0527344 37.4645V37.57C0.0527344 37.7657 0.210457 37.9243 0.405227 37.9243H2.79676V37.0048C2.79676 36.751 3.00151 36.5452 3.25405 36.5452C3.50674 36.5452 3.71149 36.751 3.71149 37.0048V37.9243H5.54079V37.0048C5.54079 36.751 5.74554 36.5452 5.99823 36.5452C6.25077 36.5452 6.45552 36.751 6.45552 37.0048V37.9243H8.28497V37.0048C8.28497 36.751 8.48972 36.5452 8.74226 36.5452C8.9948 36.5452 9.19955 36.751 9.19955 37.0048V37.9243H11.5912C11.7859 37.9243 11.9437 37.7657 11.9437 37.57V37.4645C11.9437 34.1639 9.28181 31.4883 5.99823 31.4883Z",fill:"#2BCFA1"})),D.createElement("g",{id:"Group_5"},D.createElement("path",{id:"Vector_3",d:"M55.8498 31.4883C52.5662 31.4883 49.9043 34.1639 49.9043 37.4645V37.57C49.9043 37.7657 50.0622 37.9243 50.2568 37.9243H52.6485V37.0048C52.6485 36.751 52.8532 36.5452 53.1058 36.5452C53.3582 36.5452 53.5631 36.751 53.5631 37.0048V37.9243H55.3925V37.0048C55.3925 36.751 55.5973 36.5452 55.8498 36.5452C56.1025 36.5452 56.3071 36.751 56.3071 37.0048V37.9243H58.1365V37.0048C58.1365 36.751 58.3413 36.5452 58.5938 36.5452C58.8465 36.5452 59.0513 36.751 59.0513 37.0048V37.9243H61.4429C61.6374 37.9243 61.7953 37.7657 61.7953 37.57V37.4645C61.7953 34.1639 59.1334 31.4883 55.8498 31.4883Z",fill:"#2BCFA1"}))),D.createElement("g",{id:"Group_6"},D.createElement("g",{id:"Group_7"},D.createElement("path",{id:"Vector_4",d:"M22.006 19.5352C25.2896 19.5352 27.9515 22.211 27.9515 25.5113C27.9515 28.812 25.2896 31.4878 22.006 31.4878C18.7225 31.4878 16.0605 28.812 16.0605 25.5113C16.0605 22.211 18.7225 19.5352 22.006 19.5352Z",fill:"white"})),D.createElement("g",{id:"Group_8"},D.createElement("path",{id:"Vector_5",d:"M39.3849 19.5352C42.6685 19.5352 45.3304 22.211 45.3304 25.5113C45.3304 28.812 42.6685 31.4878 39.3849 31.4878C36.1012 31.4878 33.4395 28.812 33.4395 25.5113C33.4395 22.211 36.1012 19.5352 39.3849 19.5352Z",fill:"white"}))),D.createElement("g",{id:"Group_9"},D.createElement("g",{id:"Group_10"},D.createElement("path",{id:"Vector_6",d:"M19.4951 27.4258C20.2528 27.4258 20.8671 28.0432 20.8671 28.8049C20.8671 29.5667 20.2528 30.184 19.4951 30.184C18.7373 30.184 18.123 29.5667 18.123 28.8049C18.123 28.0432 18.7373 27.4258 19.4951 27.4258Z",fill:"black"})),D.createElement("g",{id:"Group_11"},D.createElement("path",{id:"Vector_7",d:"M36.874 27.4258C37.6319 27.4258 38.246 28.0432 38.246 28.8049C38.246 29.5667 37.6319 30.184 36.874 30.184C36.1162 30.184 35.502 29.5667 35.502 28.8049C35.502 28.0432 36.1162 27.4258 36.874 27.4258Z",fill:"black"}))))),D.createElement("defs",null,D.createElement("clipPath",{id:"clip0_9029_18184"},D.createElement("rect",{width:62,height:38,fill:"white"})))),DroplinkedLogo:e=>D.createElement("svg",{width:124,height:20,viewBox:"0 0 124 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10ZM11.0151 3.06897H13.2931V15.7069H12.186L12.1838 15.7069H9.32588C7.13895 15.7069 5.36207 13.929 5.36207 11.7409C5.36207 9.55272 7.13895 7.77485 9.32588 7.77485C9.9298 7.77485 10.5025 7.91043 11.0151 8.15279V3.06897Z",fill:"currentColor"}),D.createElement("path",{d:"M9.32588 10.0314C8.39188 10.0314 7.64012 10.7836 7.64012 11.7181C7.64012 12.6526 8.39188 13.4048 9.32588 13.4048H11.0116V11.7409C11.0116 10.8064 10.2599 10.0314 9.32588 10.0314Z",fill:"currentColor"}),D.createElement("path",{d:"M51.8447 15.9196C50.901 15.9196 50.0615 15.7209 49.3263 15.3234C48.6021 14.9259 48.026 14.3849 47.598 13.7004C47.181 13.0048 46.9725 12.2154 46.9725 11.3321C46.9725 10.4378 47.181 9.64835 47.598 8.96381C48.026 8.26823 48.6021 7.72723 49.3263 7.34079C50.0615 6.94332 50.901 6.74459 51.8447 6.74459C52.7774 6.74459 53.6114 6.94332 54.3466 7.34079C55.0818 7.72723 55.6579 8.26271 56.0749 8.94725C56.4919 9.63178 56.7004 10.4267 56.7004 11.3321C56.7004 12.2154 56.4919 13.0048 56.0749 13.7004C55.6579 14.3849 55.0818 14.9259 54.3466 15.3234C53.6114 15.7209 52.7774 15.9196 51.8447 15.9196ZM51.8447 13.7997C52.2726 13.7997 52.6567 13.7004 52.9969 13.5016C53.3371 13.3029 53.6059 13.0213 53.8034 12.657C54.0009 12.2816 54.0997 11.84 54.0997 11.3321C54.0997 10.8132 54.0009 10.3715 53.8034 10.0072C53.6059 9.64283 53.3371 9.36128 52.9969 9.16255C52.6567 8.96381 52.2726 8.86444 51.8447 8.86444C51.4167 8.86444 51.0326 8.96381 50.6925 9.16255C50.3523 9.36128 50.078 9.64283 49.8695 10.0072C49.672 10.3715 49.5732 10.8132 49.5732 11.3321C49.5732 11.84 49.672 12.2816 49.8695 12.657C50.078 13.0213 50.3523 13.3029 50.6925 13.5016C51.0326 13.7004 51.4167 13.7997 51.8447 13.7997Z",fill:"currentColor"}),D.createElement("path",{d:"M70.4396 15.9196V1.74526H73.0073V15.9196H70.4396Z",fill:"currentColor"}),D.createElement("path",{d:"M75.7196 15.7871V5.12378H78.2874V15.7871H75.7196ZM77.0035 3.88168C76.5317 3.88168 76.1476 3.74367 75.8513 3.46765C75.555 3.19162 75.4069 2.84935 75.4069 2.44084C75.4069 2.03233 75.555 1.69006 75.8513 1.41404C76.1476 1.13801 76.5317 1 77.0035 1C77.4754 1 77.8594 1.13249 78.1557 1.39747C78.452 1.65142 78.6001 1.98264 78.6001 2.39116C78.6001 2.82175 78.452 3.18058 78.1557 3.46765C77.8704 3.74367 77.4863 3.88168 77.0035 3.88168Z",fill:"currentColor"}),D.createElement("path",{d:"M92.7094 15.7871V1.74526H95.2772V10.4575V13.5257V15.7871H92.7094Z",fill:"currentColor"}),D.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.817 15.7872C30.1566 15.7872 28 13.6173 28 10.9406C28 8.26383 30.1566 6.09392 32.817 6.09392C33.6301 6.09392 34.3963 6.29666 35.0681 6.65465V1.61287H37.6339V15.7872H32.817ZM35.0681 13.2056V10.9649C35.0681 9.72743 34.0711 8.72425 32.8412 8.72425C31.6113 8.72425 30.6142 9.72743 30.6142 10.9649C30.6142 12.2024 31.6113 13.2056 32.8412 13.2056H35.0681Z",fill:"currentColor"}),D.createElement("path",{d:"M40.3416 15.7871V6.87708H42.7941V8.04699C43.0361 7.71504 43.3433 7.44652 43.7159 7.24143C44.2975 6.9102 45.0052 6.74459 45.8392 6.74459V9.12942C45.7295 9.11838 45.6307 9.11286 45.5429 9.11286C45.4552 9.10182 45.3619 9.0963 45.2631 9.0963C44.5608 9.0963 43.9902 9.30056 43.5513 9.70907C43.1233 10.1065 42.9093 10.7304 42.9093 11.5805V15.7871H40.3416Z",fill:"currentColor"}),D.createElement("path",{d:"M62.0215 15.4227C62.5811 15.754 63.234 15.9196 63.9802 15.9196C64.8142 15.9196 65.5603 15.7319 66.2187 15.3565C66.8881 14.9811 67.4148 14.4511 67.7989 13.7666C68.1939 13.0821 68.3915 12.2706 68.3915 11.3321C68.3915 10.4046 68.1939 9.59866 67.7989 8.91412C67.4148 8.22959 66.8881 7.69962 66.2187 7.32423C65.5603 6.9378 64.8142 6.74459 63.9802 6.74459C63.2011 6.74459 62.5317 6.9102 61.9721 7.24143C61.6778 7.4156 61.5351 7.48794 61.3137 7.75676L61.2808 8.67568V11.3321C61.2808 10.8132 61.3795 10.3715 61.577 10.0072C61.7746 9.64283 62.0434 9.36128 62.3836 9.16255C62.7237 8.96381 63.1078 8.86444 63.5358 8.86444C63.9637 8.86444 64.3423 8.96381 64.6715 9.16255C65.0117 9.36128 65.2805 9.64283 65.4781 10.0072C65.6865 10.3715 65.7908 10.8132 65.7908 11.3321C65.7908 11.84 65.6865 12.2816 65.4781 12.657C65.2805 13.0213 65.0117 13.3029 64.6715 13.5016C64.3423 13.7004 63.9637 13.7997 63.5358 13.7997C63.1078 13.7997 62.7237 13.7004 62.3836 13.5016C62.0434 13.3029 61.7746 13.0213 61.577 12.657C61.392 12.3054 61.2937 11.8957 61.2819 11.4278L61.3137 13.9819V14.8438C61.523 15.0744 61.759 15.2674 62.0215 15.4227Z",fill:"currentColor"}),D.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.7459 6.87708V19H61.3137V14.8438V13.9819L61.2819 11.4278C61.2812 11.3962 61.2808 11.3643 61.2808 11.3321V8.67568L61.3137 7.75676V6.87708H58.7459Z",fill:"currentColor"}),D.createElement("path",{d:"M86.3821 6.74459C87.0844 6.74459 87.7099 6.88812 88.2585 7.17518C88.8182 7.4512 89.2571 7.8818 89.5754 8.46697C89.8936 9.0411 90.0527 9.78084 90.0527 10.6862V15.7871H87.4849V11.0837C87.4849 10.366 87.3258 9.83604 87.0076 9.49377C86.7003 9.1515 86.2614 8.98037 85.6908 8.98037C85.2848 8.98037 84.9172 9.0687 84.588 9.24535C84.2697 9.41097 84.0174 9.67043 83.8308 10.0237C83.6552 10.377 83.5675 10.8297 83.5675 11.3818V15.7871H80.9997V6.87708H83.4522V7.93542C83.7063 7.65056 84.0081 7.41371 84.3575 7.22487C84.9501 6.90468 85.625 6.74459 86.3821 6.74459Z",fill:"currentColor"}),D.createElement("path",{d:"M102.092 6.87708H99.0301L95.2772 10.4575V13.5257L96.5573 12.348L98.4036 10.6494L102.092 6.87708Z",fill:"currentColor"}),D.createElement("path",{d:"M99.3099 15.7871H102.421L98.4036 10.6494L96.5573 12.348L99.3099 15.7871Z",fill:"currentColor"}),D.createElement("path",{d:"M105.263 15.3234C106.032 15.7209 106.92 15.9196 107.93 15.9196C108.731 15.9196 109.439 15.7981 110.053 15.5552C110.668 15.3013 111.178 14.9425 111.584 14.4787L110.218 12.9882C109.922 13.2753 109.592 13.4906 109.23 13.6341C108.879 13.7776 108.468 13.8494 107.996 13.8494C107.469 13.8494 107.008 13.7556 106.613 13.5679C106.229 13.3691 105.927 13.0876 105.708 12.7232C105.594 12.5188 105.512 12.298 105.46 12.0608C105.417 11.8625 105.395 11.6527 105.395 11.4315V11.034C105.395 10.8656 105.407 10.7055 105.43 10.5537C105.473 10.2777 105.555 10.0293 105.675 9.80844C105.861 9.45513 106.119 9.18463 106.448 8.99693C106.789 8.7982 107.178 8.69883 107.617 8.69883C108.056 8.69883 108.44 8.7982 108.769 8.99693C109.099 9.18463 109.356 9.44961 109.543 9.79188C109.667 10.0191 109.75 10.273 109.791 10.5537H105.43C105.407 10.7055 105.395 10.8656 105.395 11.034V11.4315C105.395 11.6527 105.417 11.8625 105.46 12.0608H112.16C112.171 11.9504 112.182 11.8344 112.193 11.713C112.204 11.5805 112.209 11.4646 112.209 11.3652C112.209 10.4046 112.006 9.5821 111.6 8.89756C111.194 8.20198 110.64 7.67202 109.938 7.30767C109.247 6.93228 108.468 6.74459 107.601 6.74459C106.701 6.74459 105.894 6.94332 105.181 7.34079C104.468 7.72723 103.903 8.26823 103.486 8.96381C103.08 9.64835 102.877 10.4378 102.877 11.3321C102.877 12.2154 103.085 13.0048 103.502 13.7004C103.919 14.3849 104.506 14.9259 105.263 15.3234Z",fill:"currentColor"}),D.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M115.795 15.3565C116.465 15.7319 117.216 15.9196 118.05 15.9196C118.83 15.9196 119.493 15.754 120.042 15.4227C120.33 15.2524 120.583 15.0368 120.801 14.7758L120.701 7.80619C120.497 7.58183 120.266 7.39357 120.009 7.24143C119.45 6.9102 118.797 6.74459 118.05 6.74459C117.216 6.74459 116.465 6.93228 115.795 7.30767C115.126 7.68306 114.594 8.21303 114.199 8.89756C113.815 9.5821 113.623 10.3936 113.623 11.3321C113.623 12.2595 113.815 13.0655 114.199 13.75C114.594 14.4346 115.126 14.9701 115.795 15.3565ZM119.631 13.5016C119.29 13.7004 118.912 13.7997 118.495 13.7997C118.067 13.7997 117.683 13.7004 117.343 13.5016C117.003 13.3029 116.728 13.0213 116.52 12.657C116.322 12.2816 116.223 11.84 116.223 11.3321C116.223 10.8132 116.322 10.3715 116.52 10.0072C116.728 9.64283 117.003 9.36128 117.343 9.16255C117.683 8.96381 118.067 8.86444 118.495 8.86444C118.912 8.86444 119.29 8.96381 119.631 9.16255C119.971 9.36128 120.24 9.64283 120.437 10.0072C120.646 10.3715 120.75 10.8132 120.75 11.3321C120.75 11.84 120.646 12.2816 120.437 12.657C120.24 13.0213 119.971 13.3029 119.631 13.5016Z",fill:"currentColor"}),D.createElement("path",{d:"M123.268 1.74526H120.701V7.80619L120.801 14.7758L120.816 15.7871H123.268V1.74526Z",fill:"currentColor"})),Letter:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M5.83301 7.5L9.99967 10.4167L14.1663 7.5",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M1.66699 14.1667V5.83334C1.66699 4.91286 2.41318 4.16667 3.33366 4.16667H16.667C17.5875 4.16667 18.3337 4.91286 18.3337 5.83334V14.1667C18.3337 15.0872 17.5875 15.8333 16.667 15.8333H3.33366C2.41318 15.8333 1.66699 15.0872 1.66699 14.1667Z",stroke:"black",strokeWidth:1.5})),Colon:e=>D.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M12 7.5H12.01M12 16.5H12.01M13 16.5C13 17.0523 12.5523 17.5 12 17.5C11.4477 17.5 11 17.0523 11 16.5C11 15.9477 11.4477 15.5 12 15.5C12.5523 15.5 13 15.9477 13 16.5ZM13 7.5C13 8.05228 12.5523 8.5 12 8.5C11.4477 8.5 11 8.05228 11 7.5C11 6.94772 11.4477 6.5 12 6.5C12.5523 6.5 13 6.94772 13 7.5Z",stroke:"#BCBCBC",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))},Bs={Discord:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M7.44775 11.8231C8.05182 11.8231 8.5415 11.2518 8.5415 10.547C8.5415 9.8423 8.05182 9.271 7.44775 9.271C6.84369 9.271 6.354 9.8423 6.354 10.547C6.354 11.2518 6.84369 11.8231 7.44775 11.8231Z",stroke:"currentColor",strokeLinejoin:"round"}),D.createElement("path",{d:"M12.5522 11.8231C13.1563 11.8231 13.646 11.2518 13.646 10.547C13.646 9.8423 13.1563 9.271 12.5522 9.271C11.9482 9.271 11.4585 9.8423 11.4585 10.547C11.4585 11.2518 11.9482 11.8231 12.5522 11.8231Z",stroke:"currentColor",strokeLinejoin:"round"}),D.createElement("path",{d:"M8.17708 5.26025C8.17708 5.26025 8.96429 4.89567 10 4.89567C11.0357 4.89567 11.8229 5.26025 11.8229 5.26025L12.1875 4.1665C13.4675 4.1665 14.419 4.38031 15.4688 4.89567C16.1979 6.11095 17.6563 9.56234 17.6563 13.6457C16.297 15.0487 15.2473 15.6406 13.6458 15.8332L12.5521 14.0103C12.1875 14.1318 11.1667 14.3748 10 14.3748C8.83333 14.3748 7.8125 14.1318 7.44792 14.0103L6.35417 15.8332C4.75271 15.6406 3.70302 15.0487 2.34375 13.6457C2.34375 9.56234 3.80208 6.11095 4.53125 4.89567C5.58094 4.38031 6.53251 4.1665 7.8125 4.1665L8.17708 5.26025Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M7.44808 14.0104C6.65602 13.8081 5.98975 13.2812 5.98975 13.2812",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M12.5522 14.0104C13.3443 13.8081 14.0106 13.2812 14.0106 13.2812",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Facebook:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M14.1667 1.6665H11.6667C10.5616 1.6665 9.50175 2.10549 8.72042 2.8869C7.93898 3.6683 7.5 4.7281 7.5 5.83317V8.33317H5V11.6665H7.5V18.3332H10.8333V11.6665H13.3333L14.1667 8.33317H10.8333V5.83317C10.8333 5.61215 10.9212 5.4002 11.0774 5.24391C11.2337 5.08764 11.4457 4.99984 11.6667 4.99984H14.1667V1.6665Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Globe:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M17.5 10C17.5 14.1422 14.1422 17.5 10 17.5M17.5 10C17.5 5.85787 14.1422 2.5 10 2.5M17.5 10C17.5 11.3807 14.1422 12.5 10 12.5C5.85787 12.5 2.5 11.3807 2.5 10M17.5 10C17.5 8.61925 14.1422 7.5 10 7.5C5.85787 7.5 2.5 8.61925 2.5 10M10 17.5C5.85787 17.5 2.5 14.1422 2.5 10M10 17.5C8.61925 17.5 7.5 14.1422 7.5 10C7.5 5.85787 8.61925 2.5 10 2.5M10 17.5C11.3807 17.5 12.5 14.1422 12.5 10C12.5 5.85787 11.3807 2.5 10 2.5M10 2.5C5.85787 2.5 2.5 5.85787 2.5 10",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Instagram:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M10 13.125C11.7259 13.125 13.125 11.7259 13.125 10C13.125 8.27411 11.7259 6.875 10 6.875C8.27411 6.875 6.875 8.27411 6.875 10C6.875 11.7259 8.27411 13.125 10 13.125Z",stroke:"currentColor",strokeWidth:1.5,strokeMiterlimit:10}),D.createElement("path",{d:"M13.75 2.5H6.25C4.17893 2.5 2.5 4.17893 2.5 6.25V13.75C2.5 15.8211 4.17893 17.5 6.25 17.5H13.75C15.8211 17.5 17.5 15.8211 17.5 13.75V6.25C17.5 4.17893 15.8211 2.5 13.75 2.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M14.0625 6.875C14.5803 6.875 15 6.45527 15 5.9375C15 5.41973 14.5803 5 14.0625 5C13.5447 5 13.125 5.41973 13.125 5.9375C13.125 6.45527 13.5447 6.875 14.0625 6.875Z",fill:"currentColor"})),LinkedIn:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("g",{clipPath:"url(#clip0_9526_984)"},D.createElement("path",{d:"M8.3335 7.5V15.8333",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M5 7.5V15.8333",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M8.3335 11.1458C8.3335 10.1789 8.72858 9.25157 9.43184 8.56784C10.1351 7.88411 11.0889 7.5 12.0835 7.5C13.0781 7.5 14.0319 7.88411 14.7351 8.56784C15.4384 9.25157 15.8335 10.1789 15.8335 11.1458V15.8333",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M4.99984 5.83317C5.46007 5.83317 5.83317 5.46007 5.83317 4.99984C5.83317 4.5396 5.46007 4.1665 4.99984 4.1665C4.5396 4.1665 4.1665 4.5396 4.1665 4.99984C4.1665 5.46007 4.5396 5.83317 4.99984 5.83317Z",fill:"currentColor"})),D.createElement("defs",null,D.createElement("clipPath",{id:"clip0_9526_984"},D.createElement("rect",{width:20,height:20,fill:"white"})))),Messenger:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"text-blue-500",...e},D.createElement("g",{clipPath:"url(#clip0_11535_195)"},D.createElement("path",{d:"M5.83301 11.6668L7.49584 9.67141C8.02595 9.03533 8.29101 8.71725 8.61076 8.71725C8.93059 8.71725 9.19559 9.03533 9.72576 9.67141L10.2736 10.3289C10.8038 10.965 11.0688 11.2831 11.3886 11.2831C11.7083 11.2831 11.9734 10.965 12.5035 10.3289L14.1663 8.3335",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M10.0003 18.3332C14.6027 18.3332 18.3337 14.6022 18.3337 9.99984C18.3337 5.39746 14.6027 1.6665 10.0003 1.6665C5.39795 1.6665 1.66699 5.39746 1.66699 9.99984C1.66699 11.1489 1.89955 12.2437 2.32018 13.2396C2.55264 13.7899 2.66888 14.0652 2.68327 14.2732C2.69766 14.4812 2.63644 14.7099 2.51401 15.1675L1.66699 18.3332L4.83263 17.4862C5.29023 17.3638 5.51903 17.3025 5.72701 17.3169C5.935 17.3313 6.2102 17.4475 6.76062 17.68C7.75653 18.1006 8.85124 18.3332 10.0003 18.3332Z",stroke:"currentColor",strokeWidth:1.5,strokeLinejoin:"round"})),D.createElement("defs",null,D.createElement("clipPath",{id:"clip0_11535_195"},D.createElement("rect",{width:20,height:20,fill:"white"})))),Telegram:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5 text-current",...e},D.createElement("path",{fill:"none",stroke:"currentColor",d:"M16.4814 3.69133C17.388 3.30961 18.3599 4.07621 18.1998 5.04679L16.3091 16.5107C16.1267 17.616 14.9127 18.2503 13.8987 17.6995C13.0501 17.2385 11.7911 16.5291 10.6564 15.7877C10.0898 15.4175 8.35491 14.2303 8.56816 13.3852C8.75049 12.6626 11.6671 9.94771 13.3337 8.33313C13.9884 7.69891 13.6902 7.33251 12.9171 7.91646C10.9991 9.36505 7.91976 11.5675 6.90146 12.1873C6.00301 12.7341 5.53391 12.8275 4.97437 12.7341C3.9526 12.5639 3.00529 12.3002 2.23189 11.9796C1.18658 11.5463 1.2375 10.1098 2.23118 9.69146L16.4814 3.69133Z",strokeWidth:1.5})),Tiktok:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M13.125 7.96875C14.3992 8.88589 15.9301 9.37796 17.5 9.375V6.25C16.3397 6.25 15.2269 5.78906 14.4064 4.96859C13.5859 4.14812 13.125 3.03532 13.125 1.875H10V12.1875C9.99984 12.5789 9.89464 12.9631 9.69539 13.3001C9.49614 13.637 9.21014 13.9143 8.86721 14.103C8.52428 14.2917 8.137 14.385 7.74575 14.3731C7.3545 14.3611 6.97362 14.2444 6.64284 14.0351C6.31207 13.8258 6.04351 13.5316 5.86519 13.1831C5.68686 12.8347 5.6053 12.4448 5.62902 12.0541C5.65273 11.6633 5.78085 11.2861 6.00001 10.9618C6.21917 10.6375 6.52134 10.3779 6.875 10.2102V6.875C4.38828 7.31797 2.5 9.57344 2.5 12.1875C2.5 13.5965 3.05971 14.9477 4.056 15.944C5.05228 16.9403 6.40354 17.5 7.8125 17.5C9.22146 17.5 10.5727 16.9403 11.569 15.944C12.5653 14.9477 13.125 13.5965 13.125 12.1875V7.96875Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),X:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M10.7984 7.86419L7.3123 2.89944L7.26004 2.825H7.16908H3H2.66326L2.85679 3.10057L8.24368 10.7713L2.86858 16.8844L2.6131 17.175H3H4.235H4.31417L4.36644 17.1155L8.99829 11.8462L12.6877 17.1006L12.74 17.175H12.8309H17H17.3367L17.1432 16.8994L11.5558 8.94081L16.6773 3.11555L16.9327 2.825H16.5459H15.3109H15.2317L15.1795 2.88441L10.7984 7.86419ZM9.78384 10.7501L9.78376 10.7499L9.22913 9.97445L9.22909 9.97441L5.02055 4.08603H6.48756L9.99218 8.98989L9.99234 8.99013L10.5445 9.76543L10.5447 9.76566L14.9701 15.9584H13.5031L9.78384 10.7501Z",fill:"currentColor",stroke:"currentColor",strokeWidth:.35})),Youtube:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M17.9847 5.99975C17.8947 5.64022 17.7115 5.31082 17.4535 5.0448C17.1954 4.77878 16.8717 4.58556 16.5152 4.48467C15.2122 4.1665 10.0003 4.1665 10.0003 4.1665C10.0003 4.1665 4.78848 4.1665 3.48551 4.51497C3.1289 4.61586 2.80523 4.80908 2.54718 5.0751C2.28915 5.34112 2.10588 5.67052 2.01589 6.03005C1.77743 7.35236 1.66078 8.69375 1.66743 10.0374C1.65893 11.3912 1.77558 12.7428 2.01589 14.0751C2.1151 14.4234 2.30248 14.7403 2.55991 14.9951C2.81735 15.2498 3.13615 15.4339 3.48551 15.5296C4.78848 15.878 10.0003 15.878 10.0003 15.878C10.0003 15.878 15.2122 15.878 16.5152 15.5296C16.8717 15.4287 17.1954 15.2354 17.4535 14.9694C17.7115 14.7034 17.8947 14.374 17.9847 14.0145C18.2214 12.7021 18.338 11.3709 18.3332 10.0374C18.3417 8.68367 18.2251 7.33202 17.9847 5.99975Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M8.125 7.88782C8.125 7.49009 8.125 7.29122 8.20812 7.1802C8.28055 7.08345 8.39142 7.02291 8.512 7.0143C8.65033 7.00442 8.81758 7.11195 9.15217 7.32704L12.4378 9.4393C12.7282 9.62588 12.8733 9.71921 12.9235 9.83788C12.9672 9.94155 12.9672 10.0585 12.9235 10.1622C12.8733 10.2809 12.7282 10.3742 12.4378 10.5608L9.15217 12.673C8.81758 12.8881 8.65033 12.9957 8.512 12.9858C8.39142 12.9772 8.28055 12.9166 8.20812 12.8199C8.125 12.7089 8.125 12.51 8.125 12.1123V7.88782Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))},T$e=[{link:"https://discord.gg/",key:"discordURL",icon:Bs.Discord},{link:"https://instagram.com/",key:"instagramURL",icon:Bs.Instagram},{link:"https://facebook.com/",key:"facebookURL",icon:Bs.Facebook},{link:"mailto:",key:"infoEmail",icon:D1.Letter},{link:"https://linkedin.com/",key:"linkedinURL",icon:Bs.LinkedIn},{link:"https://tiktok.com/@",key:"tiktokURL",icon:Bs.Tiktok},{link:"https://twitter.com/",key:"twitterURL",icon:Bs.X},{link:"http://",key:"webURL",icon:Bs.Globe},{link:"https://youtube.com/@",key:"youtubeURL",icon:Bs.Youtube},{link:"https://t.me/",key:"telegramURL",icon:Bs.Telegram},{link:"https://m.me/",key:"messengerURL",icon:Bs.Messenger}],D$e=({as:e,...t})=>{const{isDarkTheme:r}=Je();return p.jsx(Fi,{as:e,display:"flex",alignItems:"center",justifyContent:"center",fontSize:16,fontWeight:400,color:t.color||r?"#FFF":"#000",cursor:"pointer",...t,children:t.children})},eY=g.memo(({socialChannels:e})=>{const{shopDesign:{foreground:t}}=Je(),r=n=>T$e.find(o=>o.key.replace("URL","").toLowerCase()===n.toLowerCase());return p.jsx("div",{className:"flex flex-wrap gap-2",children:(e??[]).filter(n=>!!n.links?.channel).map((n,o)=>{const{channel:s,url:i}=n.links,a=r(s);if(!a)return null;const l=a.icon;let c=i||"";return j4(c)?c=I4(c):c=`${a.link}${c.replace(/^\//,"")}`,p.jsx("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"inline-block rounded-md p-[10px] transition-colors duration-100 ease-out",style:{backgroundColor:t},children:p.jsx(D$e,{as:l,w:"20px",h:"20px"})},s+o)})})}),M$e=xh(),O$e=({socialChannels:e,description:t})=>{const{isDarkTheme:r}=Je(),n=M$e(s=>s.appState.data.shopDefaultData.logo),o=r?"text-[#7b7b7b]":"text-[#B1B1B1]";return p.jsxs("div",{className:"mb-12 flex-1 md:mb-0",children:[p.jsx(Jq,{src:n,alt:"Logo",maxW:"128px",objectFit:"contain",className:"mb-6 md:mb-9"}),t?.text&&p.jsx(ct,{className:`mb-6 text-sm ${o} md:mb-9 max-w-[70%] md:max-w-[90%] sm:max-w-[100%]`,children:t.text}),p.jsx("div",{className:"flex w-full flex-wrap justify-start gap-3 sm:w-auto sm:justify-start",children:p.jsx(eY,{socialChannels:e??[]})})]})},A$e=()=>{const{isDarkTheme:e,shopDesign:{foreground:t}}=Je(),r=e?"text-text-subtextPlaceholder-Dark":"text-text-subtextPlaceholder-Light",n=e?"text-white":"text-black";return p.jsx("div",{className:"py-4",style:{backgroundColor:t},children:p.jsx("div",{className:"flex justify-center",children:p.jsx(jn,{children:p.jsx("a",{href:"https://droplinked.com",target:"_blank",rel:"noopener noreferrer",children:p.jsx("div",{className:"flex flex-col justify-between md:flex-grow md:flex-row",children:p.jsxs(ct,{className:`flex text-sm ${r}`,children:["Powered by ",p.jsx(D1.DroplinkedLogo,{className:`ml-2 h-5 ${n}`})]})})})})})})},j$e=({description:e,socialChannels:t,linkManagement:r})=>{const{shopDesign:{foreground:n,backgroundBody:o}}=Je();return p.jsxs("footer",{className:"bg-shop-background",children:[p.jsx("hr",{className:"border",style:{borderColor:n}}),p.jsxs("div",{className:"flex flex-col text-base",children:[p.jsx("div",{className:"flex justify-center py-9 md:py-12 lg:py-14",children:p.jsx(jn,{children:p.jsxs("div",{className:"flex w-full flex-col justify-between md:flex-row",children:[p.jsx(O$e,{socialChannels:t,description:e}),p.jsx(E$e,{linkManagement:r})]})})}),p.jsx(A$e,{})]})]})},I$e={label:"Footer",labelIcon:p.jsx(rs,{color:"#fff"}),visualExample:p.jsx("div",{}),permissions:{delete:!1,drag:!1,duplicate:!1,insert:!1},fields:{description:{type:"object",label:"Description",objectFields:{text:{type:"textarea",placeholder:"Footer description text"}}},socialChannels:{type:"array",label:"Social Channels",max:8,getItemSummary(e,t){return`Link ${t+1}`},arrayFields:{links:{type:"socialChannels"}}},linkManagement:{type:"object",label:"Link Management",objectFields:{firstColumn:{type:"object",label:"First Column",objectFields:{name:{type:"text",label:"Name",placeholder:"Column Name"},links:{type:"array",label:"noLabel",getItemSummary(e,t){return`Link ${t+1}`},arrayFields:{list:{type:"link"}}}}},secondColumn:{type:"object",label:"Second Column",objectFields:{name:{type:"text",label:"Name",placeholder:"Column Name"},links:{type:"array",label:"noLabel",getItemSummary(e,t){return`Link ${t+1}`},arrayFields:{list:{type:"link"}}}}}}}},render:({description:e,socialChannels:t,linkManagement:r})=>p.jsx(en,{children:p.jsx(j$e,{description:e,socialChannels:t,linkManagement:r})})},$$e=({color:e="black",...t})=>p.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[p.jsx("path",{d:"M6.66699 15.4167C6.66699 14.7263 7.22664 14.1667 7.91699 14.1667C8.60737 14.1667 9.16699 14.7263 9.16699 15.4167C9.16699 16.107 8.60737 16.6667 7.91699 16.6667C7.22664 16.6667 6.66699 16.107 6.66699 15.4167Z",fill:e}),p.jsx("path",{d:"M13.333 15.4167C13.333 14.7263 13.8926 14.1667 14.583 14.1667C15.2734 14.1667 15.833 14.7263 15.833 15.4167C15.833 16.107 15.2734 16.6667 14.583 16.6667C13.8926 16.6667 13.333 16.107 13.333 15.4167Z",fill:e}),p.jsx("path",{d:"M2.5 4.16667H3.79732C4.03379 4.16667 4.2451 4.31215 4.3265 4.53098L6.74873 11.0428C7.07433 11.9181 7.91957 12.5 8.86544 12.5H13.8385C14.8088 12.5 15.6704 11.8879 15.9773 10.9806L17.4706 6.56457C17.5924 6.20484 17.3207 5.83334 16.936 5.83334H8.41804",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),tY=({color:e="black",...t})=>p.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:p.jsx("path",{d:"M4.1665 17.5C4.1665 14.2783 6.77818 11.6667 9.99984 11.6667C13.2215 11.6667 15.8332 14.2783 15.8332 17.5M13.3332 5.83333C13.3332 7.67428 11.8408 9.16667 9.99984 9.16667C8.15889 9.16667 6.6665 7.67428 6.6665 5.83333C6.6665 3.99238 8.15889 2.5 9.99984 2.5C11.8408 2.5 13.3332 3.99238 13.3332 5.83333Z",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});function L$e({icon:e,cartItemCount:t}){const r=t;return p.jsxs(Ee,{position:"relative",children:[r?p.jsx(pc,{position:"absolute",top:"-5px",right:"-5px",size:5,fontSize:12,backgroundColor:"#111",color:"#FFF",userSelect:"none",children:r}):null,e]})}function F$e({iconColor:e,onCartClick:t,ProfileDropdownWrapper:r,cartItemCount:n}){const{shopDesign:{backgroundBody:o}}=Je(),s=(i,a)=>D.cloneElement(i,{cursor:"pointer",width:"40px",height:"40px",color:e,style:{transition:"all 0.5s ease",border:`1px solid ${b8(o)?"#292929":"#F2F2F2"} `,padding:"10px",borderRadius:"8px",color:e},...a});return p.jsxs(Tc,{spacing:{base:4,lg:"4px"},children:[p.jsx(L$e,{icon:s(p.jsx($$e,{}),{onClick:t}),cartItemCount:n}),r?p.jsx(r,{children:p.jsx(Ee,{display:{base:"none",md:"block"},children:s(p.jsx(tY,{}))})}):p.jsx(Ee,{display:{base:"none",md:"block"},children:s(p.jsx(tY,{}))})]})}const rY=(e,t,r={showCurrency:!0,showAbbreviation:!1,roundToWhole:!1})=>{const o={...{decimalPlaces:t.abbreviation==="JPY"?0:2,thousandsSeparator:",",decimalSeparator:".",symbolPosition:"before",spaceBetweenAmountAndSymbol:!1,locale:"en-US"},...t},s=r.roundToWhole?0:o.decimalPlaces,i=new Intl.NumberFormat(o.locale,{minimumFractionDigits:s,maximumFractionDigits:s}),a=+my(e,t.conversionRateToUSD);let l=i.format(a);if(r.showCurrency&&t.symbol){const c=o.spaceBetweenAmountAndSymbol?" ":"";o.symbolPosition==="before"?l=`${t.symbol}${c}${l}`:l=`${l}${c}${t.symbol}`}return`${l} ${r.showAbbreviation?t.abbreviation:""}`};function Sl(e){const{shopDesign:{fontfamily:t,textColorParagraphs:r}}=Je();return p.jsx(Le,{fontFamily:`${t} !important`,color:r||"#FFF",...e,children:e.children})}Sl.Price=function({price:t,...r}){const{states:{shop:{currency:n}}}=In();return p.jsx(Sl,{...r,children:n?.conversionRateToUSD?rY(+t,n):`$${t} USD`})},Sl.CustomTokenPrice=function({price:t,...r}){const{states:{shop:{tokenBasedPricing:n}}}=In(),{token:o,tokenSign:s,hasTokenBasedPricing:i,unit:a}=n,l=i?a:1,c=i?o:"USD",u=+t*l,f={calculated_price:!isNaN(u)&&u>=1?u.toFixed(2):u.toPrecision(u>.001?3:6),currency:c};return i?p.jsx(Sl,{...r,children:`${f.calculated_price} ${f.currency}`}):null};function nY({type:e,onClose:t,textColor:r,linkManagement:n}){return p.jsx(xe,{flexDirection:e==="vertical"?"column":"row",gap:"36px",children:n?.map((o,s)=>p.jsx("a",{href:o?.link?.url,children:p.jsx(Sl,{...r&&{color:r},className:"opacity-80 hover:opacity-100 transition-all",children:o?.link?.label})},s))})}var oY={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},sY=g.createContext&&g.createContext(oY),ha=function(){return ha=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},ha.apply(this,arguments)},N$e=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function iY(e){return e&&e.map(function(t,r){return g.createElement(t.tag,ha({key:r},t.attr),iY(t.child))})}function R$e(e){return function(t){return g.createElement(B$e,ha({attr:ha({},e.attr)},t),iY(e.child))}}function B$e(e){var t=function(r){var n=e.attr,o=e.size,s=e.title,i=N$e(e,["attr","size","title"]),a=o||r.size||"1em",l;return r.className&&(l=r.className),e.className&&(l=(l?l+" ":"")+e.className),g.createElement("svg",ha({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,i,{className:l,style:ha(ha({color:e.color||r.color},r.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),s&&g.createElement("title",null,s),e.children)};return sY!==void 0?g.createElement(sY.Consumer,null,function(r){return t(r)}):t(oY)}function V$e(e){return R$e({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"48",d:"M88 152h336M88 256h336M88 360h336"}}]})(e)}function z$e({iconColor:e,linkManagement:t,ProfileDropdownWrapper:r}){const{isOpen:n,onOpen:o,onClose:s}=Rl(),{states:{user:i,shop:{url:a}}}=In(),{id:l}=i?.[a]||{},{shopDesign:{backgroundBody:c}}=Je(),[u]=hg("(min-width: 768px)"),{defineMultiStyleConfig:d}=ft(uE.keys),f=d({baseStyle:{dialogContainer:{zIndex:99}}});return D.useEffect(()=>{u&&s()},[u]),p.jsxs(Ee,{display:{base:"block",md:"none"},children:[p.jsx(V$e,{style:{width:"24px",height:"24px"},color:e,onClick:()=>{n?s():o()}}),p.jsx(Lge,{styleConfig:f,isFullHeight:!0,placement:"top",onClose:s,isOpen:n,children:p.jsx(rO,{background:c,top:"4rem !important",height:"100vh",padding:"0rem 1rem",children:p.jsx(JM,{className:"mt-[24px] h-full",children:p.jsxs(vs,{width:"100%",height:"80%",justifyContent:"space-between",alignItems:"start",overflow:"auto",children:[p.jsx(nY,{type:"vertical",onClose:()=>s(),linkManagement:t}),p.jsx(vs,{gap:"16px",width:"100%",children:r?p.jsx(r,{children:p.jsx(kl,{variant:"outline",children:p.jsx(Sl,{children:l?"Account":"Sign In"})})}):p.jsx(kl,{variant:"outline",children:p.jsx(Sl,{children:l?"Account":"Sign In"})})})]})})})})]})}const H$e=({linkManagement:e,onCartClick:t,ProfileDropdownWrapper:r,cartItemCount:n,isRendering:o})=>{const{states:{shop:s},methods:{updateState:i}}=In(),{shopDesign:{backgroundBody:a,iconHeaderColor:l}}=Je();s.isAgeRestricted&&s.isRestricted;const[c,u]=g.useState(!1),d=a,f="rgba(0, 0, 0, 0.25) 0px 0px 4px",h=l;return g.useEffect(()=>{if(!o){sessionStorage.getItem("isRestricted")==="false"&&i({state:"shop",value:{...s,isRestricted:!1}});const v=()=>{const y=window.scrollY;u(y>10)};return window.addEventListener("scroll",v),()=>window.removeEventListener("scroll",v)}},[o,s.isRestricted]),p.jsx(Ee,{...o&&{marginBottom:{base:14,md:20}},zIndex:999,children:p.jsx(xe,{as:"header",position:o||c?"fixed":"relative",zIndex:999,top:"0",right:"0",left:"0",width:"full",justifyContent:"center",backgroundColor:d,boxShadow:f,transition:"all 0.3s ease",children:p.jsxs(jn,{props:{justifyContent:"space-between",alignItems:"center",paddingBlock:{base:2,md:5}},children:[p.jsxs(Tc,{gap:{base:"16px",md:"100px"},children:[p.jsx(z$e,{iconColor:h,linkManagement:e,ProfileDropdownWrapper:r}),p.jsx(Ee,{maxWidth:"150px",children:p.jsx(Jq,{height:"31px",objectFit:"contain"})}),p.jsx(Ee,{display:{base:"none",md:"block"},children:p.jsx(nY,{type:"horizontal",linkManagement:e})})]}),p.jsx(F$e,{iconColor:h,onCartClick:t,ProfileDropdownWrapper:r,cartItemCount:n})]})})})},W$e={label:"Header",labelIcon:p.jsx(rs,{color:"#fff"}),visualExample:p.jsx("div",{}),permissions:{delete:!1,drag:!1,duplicate:!1,insert:!1},fields:{linkManagement:{type:"array",label:"Link Management",min:1,max:10,getItemSummary(e,t){return`Link ${t+1}`},arrayFields:{link:{type:"link",label:"Link"}}}},defaultProps:{linkManagement:[{link:{label:"Home",url:"droplinked.io/unstoppable"}},{link:{label:"Blogs",url:"droplinked.io/unstoppable/blogs"}},{link:{label:"Collections",url:"droplinked.io/unstoppable/collections"}}]},render:({linkManagement:e,onCartClick:t,ProfileDropdownWrapper:r,cartItemCount:n,isRendering:o})=>p.jsx(en,{children:p.jsx(H$e,{linkManagement:e,onCartClick:t,ProfileDropdownWrapper:r,cartItemCount:n,isRendering:o})})},$4={layout:{title:"Layout",visible:!1,components:["headerComponent","footerComponent"]}},M1={headerComponent:W$e,footerComponent:I$e},aY={products:{title:"Products",components:["productGridList","productsSummary"]}},It={SearchInputIcon:e=>D.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z",fill:"#F2F2F2"}),D.createElement("path",{d:"M8.66699 18.6668L15.3337 5.3335",stroke:"#7B7B7B",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Search:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Discount:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M3.32408 12.217L2.05742 10.9503C1.54076 10.4337 1.54076 9.58365 2.05742 9.06698L3.32408 7.8003C3.54075 7.58363 3.71575 7.15863 3.71575 6.85863V5.06694C3.71575 4.33361 4.31575 3.73363 5.04909 3.73363H6.84075C7.14075 3.73363 7.56575 3.55865 7.78242 3.34199L9.04908 2.07531C9.56574 1.55864 10.4158 1.55864 10.9324 2.07531L12.1991 3.34199C12.4158 3.55865 12.8407 3.73363 13.1407 3.73363H14.9324C15.6658 3.73363 16.2657 4.33361 16.2657 5.06694V6.85863C16.2657 7.15863 16.4407 7.58363 16.6574 7.8003L17.9241 9.06698C18.4408 9.58365 18.4408 10.4337 17.9241 10.9503L16.6574 12.217C16.4407 12.4337 16.2657 12.8587 16.2657 13.1587V14.9503C16.2657 15.6836 15.6658 16.2837 14.9324 16.2837H13.1407C12.8407 16.2837 12.4158 16.4587 12.1991 16.6753L10.9324 17.942C10.4158 18.4587 9.56574 18.4587 9.04908 17.942L7.78242 16.6753C7.56575 16.4587 7.14075 16.2837 6.84075 16.2837H5.04909C4.31575 16.2837 3.71575 15.6836 3.71575 14.9503V13.1587C3.71575 12.8503 3.54075 12.4253 3.32408 12.217Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M7.5 12.5L12.5 7.5",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M12.0791 12.0834H12.0866",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M7.91209 7.91667H7.91957",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Gated:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M7.91176 7.5H6.19965C5.81118 7.5 5.61695 7.5 5.43416 7.54521C5.27211 7.5853 5.11718 7.65142 4.97508 7.74114C4.8148 7.84233 4.67745 7.98382 4.40277 8.26682L3.24429 9.46045C2.96961 9.74345 2.83226 9.88491 2.73404 10.0501C2.64696 10.1965 2.58279 10.3561 2.54388 10.5231C2.5 10.7114 2.5 10.9115 2.5 11.3117V14.8818C2.5 15.7983 2.5 16.2565 2.67311 16.6065C2.82538 16.9145 3.06835 17.1647 3.36719 17.3216C3.70694 17.5 4.15169 17.5 5.04118 17.5H14.9588C15.8483 17.5 16.293 17.5 16.6328 17.3216C16.9317 17.1647 17.1746 16.9145 17.3269 16.6065C17.5 16.2565 17.5 15.7983 17.5 14.8818V11.3117C17.5 10.9115 17.5 10.7114 17.4561 10.5231C17.4172 10.3561 17.353 10.1965 17.266 10.0501C17.1677 9.88491 17.0304 9.74345 16.7557 9.46045L15.5972 8.26682C15.3225 7.98382 15.1852 7.84233 15.0249 7.74114C14.8829 7.65142 14.7279 7.5853 14.5658 7.54521C14.3831 7.5 14.1888 7.5 13.8004 7.5H12.0882",stroke:"black",strokeWidth:1.5}),D.createElement("path",{d:"M17.5 11.25H15.2425C14.6286 11.25 14.3217 11.25 14.0906 11.4073C13.8596 11.5646 13.7625 11.8396 13.5684 12.3896L13.4904 12.6104C13.2963 13.1604 13.1992 13.4354 12.9682 13.5927C12.7371 13.75 12.4302 13.75 11.8163 13.75H8.18369C7.56982 13.75 7.26289 13.75 7.03181 13.5927C6.80073 13.4354 6.70367 13.1604 6.50954 12.6104L6.43163 12.3896C6.23751 11.8396 6.14045 11.5646 5.90937 11.4073C5.67829 11.25 5.37135 11.25 4.75748 11.25H2.5",stroke:"black",strokeWidth:1.5}),D.createElement("path",{d:"M11.6667 5.41667H12.25C12.3881 5.41667 12.5 5.52858 12.5 5.66667V8.5C12.5 8.63808 12.3881 8.75 12.25 8.75H7.75C7.61193 8.75 7.5 8.63808 7.5 8.5V5.66667C7.5 5.52858 7.61193 5.41667 7.75 5.41667H8.33333M11.6667 5.41667V4.16667C11.6667 3.61111 11.3333 2.5 10 2.5C8.66667 2.5 8.33333 3.61111 8.33333 4.16667V5.41667M11.6667 5.41667H8.33333",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),ResetFilters:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M1.33301 6.66667C1.33301 6.66667 2.66966 4.84548 3.75556 3.75883C4.84147 2.67218 6.34207 2 7.99967 2C11.3134 2 13.9997 4.68629 13.9997 8C13.9997 11.3137 11.3134 14 7.99967 14C5.26428 14 2.95642 12.1695 2.23419 9.66667M1.33301 6.66667V2.66667M1.33301 6.66667H5.33301",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),BlackChevronDown:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M5 7.5L10 12.5L15 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Separator:e=>D.createElement("svg",{width:10,height:2,viewBox:"0 0 10 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M1 1H9",stroke:"#DEDEDE",strokeWidth:2,strokeLinecap:"round"})),DollarSign:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M4 10.6666C4 12.1394 5.19391 13.3333 6.66667 13.3333H9.33333C10.8061 13.3333 12 12.1394 12 10.6666C12 9.19389 10.8061 7.99998 9.33333 7.99998H6.66667C5.19391 7.99998 4 6.80607 4 5.33331C4 3.86055 5.19391 2.66665 6.66667 2.66665H9.33333C10.8061 2.66665 12 3.86055 12 5.33331M8 1.33331V14.6666",stroke:"#B1B1B1",strokeLinecap:"round",strokeLinejoin:"round"})),GrayChevronDown:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M4 6L8 10L12 6",stroke:"#B1B1B1",strokeLinecap:"round",strokeLinejoin:"round"})),Filter:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M1.66699 3.83333C1.66699 3.36662 1.66699 3.13327 1.75782 2.95501C1.83771 2.79821 1.9652 2.67072 2.122 2.59083C2.30026 2.5 2.53361 2.5 3.00033 2.5H17.0003C17.467 2.5 17.7004 2.5 17.8787 2.59083C18.0355 2.67072 18.1629 2.79821 18.2428 2.95501C18.3337 3.13327 18.3337 3.36662 18.3337 3.83333V4.39116C18.3337 4.61516 18.3337 4.72716 18.3063 4.8313C18.282 4.92359 18.2421 5.01103 18.1882 5.0898C18.1275 5.17869 18.0428 5.25204 17.8736 5.39875L12.5438 10.0179C12.3745 10.1646 12.2898 10.238 12.2291 10.3269C12.1752 10.4056 12.1353 10.4931 12.111 10.5854C12.0837 10.6895 12.0837 10.8015 12.0837 11.0255V15.382C12.0837 15.5449 12.0837 15.6264 12.0574 15.6969C12.0342 15.7591 11.9964 15.8149 11.9472 15.8596C11.8916 15.9102 11.8159 15.9404 11.6646 16.001L8.83125 17.1343C8.52497 17.2568 8.37182 17.3181 8.24889 17.2925C8.14138 17.2702 8.04704 17.2063 7.98637 17.1148C7.91699 17.0101 7.91699 16.8452 7.91699 16.5153V11.0255C7.91699 10.8015 7.91699 10.6895 7.88962 10.5854C7.86536 10.4931 7.82544 10.4056 7.77158 10.3269C7.71081 10.238 7.62617 10.1646 7.4569 10.0179L2.12708 5.39875C1.95781 5.25204 1.87318 5.17869 1.8124 5.0898C1.75855 5.01103 1.71862 4.92359 1.69436 4.8313C1.66699 4.72716 1.66699 4.61516 1.66699 4.39116V3.83333Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Cross:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M15 5L5 15M5 5L15 15",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Sort:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("g",{clipPath:"url(#clip0_4678_6969)"},D.createElement("path",{d:"M3.75 10H9.0625",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M3.75 5H14.0625",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M3.75 15H7.8125",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M11.25 13.125L14.375 16.25L17.5 13.125",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M14.375 16.25V8.75",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),D.createElement("defs",null,D.createElement("clipPath",{id:"clip0_4678_6969"},D.createElement("rect",{width:20,height:20,fill:"white"})))),ListView:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M6.66667 4.99967L17.5 5.00032M6.66667 9.99967L17.5 10.0003M6.66667 14.9997L17.5 15.0003M2.5 5.41634H3.33333V4.58301H2.5V5.41634ZM2.5 10.4163H3.33333V9.58301H2.5V10.4163ZM2.5 15.4163H3.33333V14.583H2.5V15.4163Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),GridView:e=>D.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M11.667 4.66634C11.667 4.19963 11.667 3.96627 11.7578 3.78802C11.8377 3.63122 11.9652 3.50373 12.122 3.42383C12.3002 3.33301 12.5336 3.33301 13.0003 3.33301H15.3337C15.8004 3.33301 16.0337 3.33301 16.212 3.42383C16.3688 3.50373 16.4962 3.63122 16.5762 3.78802C16.667 3.96627 16.667 4.19963 16.667 4.66634V6.99967C16.667 7.46638 16.667 7.69974 16.5762 7.878C16.4962 8.0348 16.3688 8.16228 16.212 8.24218C16.0337 8.33301 15.8004 8.33301 15.3337 8.33301H13.0003C12.5336 8.33301 12.3002 8.33301 12.122 8.24218C11.9652 8.16228 11.8377 8.0348 11.7578 7.878C11.667 7.69974 11.667 7.46638 11.667 6.99967V4.66634Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M3.33301 4.66634C3.33301 4.19963 3.33301 3.96627 3.42383 3.78802C3.50373 3.63122 3.63122 3.50373 3.78802 3.42383C3.96627 3.33301 4.19963 3.33301 4.66634 3.33301H6.99967C7.46638 3.33301 7.69974 3.33301 7.878 3.42383C8.0348 3.50373 8.16228 3.63122 8.24218 3.78802C8.33301 3.96627 8.33301 4.19963 8.33301 4.66634V6.99967C8.33301 7.46638 8.33301 7.69974 8.24218 7.878C8.16228 8.0348 8.0348 8.16228 7.878 8.24218C7.69974 8.33301 7.46638 8.33301 6.99967 8.33301H4.66634C4.19963 8.33301 3.96627 8.33301 3.78802 8.24218C3.63122 8.16228 3.50373 8.0348 3.42383 7.878C3.33301 7.69974 3.33301 7.46638 3.33301 6.99967V4.66634Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M3.33301 13.0003C3.33301 12.5336 3.33301 12.3002 3.42383 12.122C3.50373 11.9652 3.63122 11.8377 3.78802 11.7578C3.96627 11.667 4.19963 11.667 4.66634 11.667H6.99967C7.46638 11.667 7.69974 11.667 7.878 11.7578C8.0348 11.8377 8.16228 11.9652 8.24218 12.122C8.33301 12.3002 8.33301 12.5336 8.33301 13.0003V15.3337C8.33301 15.8004 8.33301 16.0337 8.24218 16.212C8.16228 16.3688 8.0348 16.4962 7.878 16.5762C7.69974 16.667 7.46638 16.667 6.99967 16.667H4.66634C4.19963 16.667 3.96627 16.667 3.78802 16.5762C3.63122 16.4962 3.50373 16.3688 3.42383 16.212C3.33301 16.0337 3.33301 15.8004 3.33301 15.3337V13.0003Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M11.667 13.0003C11.667 12.5336 11.667 12.3002 11.7578 12.122C11.8377 11.9652 11.9652 11.8377 12.122 11.7578C12.3002 11.667 12.5336 11.667 13.0003 11.667H15.3337C15.8004 11.667 16.0337 11.667 16.212 11.7578C16.3688 11.8377 16.4962 11.9652 16.5762 12.122C16.667 12.3002 16.667 12.5336 16.667 13.0003V15.3337C16.667 15.8004 16.667 16.0337 16.5762 16.212C16.4962 16.3688 16.3688 16.4962 16.212 16.5762C16.0337 16.667 15.8004 16.667 15.3337 16.667H13.0003C12.5336 16.667 12.3002 16.667 12.122 16.5762C11.9652 16.4962 11.8377 16.3688 11.7578 16.212C11.667 16.0337 11.667 15.8004 11.667 15.3337V13.0003Z",stroke:"black",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),AED:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M5.66634 12.6667H3.33301",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M5.73259 10.9861C5.6196 10.8645 5.47811 10.7729 5.32089 10.7196C5.16367 10.6664 4.99566 10.6531 4.83201 10.681C4.66837 10.7088 4.51424 10.777 4.38354 10.8794C4.25283 10.9817 4.14966 11.115 4.08332 11.2671C4.01698 11.4193 3.98957 11.5856 4.00356 11.751C4.01754 11.9164 4.07249 12.0757 4.16343 12.2146C4.25438 12.3535 4.37847 12.4675 4.5245 12.5465C4.67054 12.6254 4.83393 12.6667 4.99993 12.6667",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M4.66699 2.66675V8.66675",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M10 8.66675H11.2587C11.4346 8.6668 11.6075 8.62043 11.7598 8.53231C11.9121 8.44419 12.0384 8.31744 12.1261 8.16487C12.2137 8.0123 12.2596 7.83931 12.259 7.66335C12.2584 7.4874 12.2113 7.31472 12.1227 7.16275L10.6667 4.66675",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M7.33301 8.67341V8.66675",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),CNY:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("g",{clipPath:"url(#clip0_11486_208)"},D.createElement("path",{d:"M4 4H12",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M3 7.5H13",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M9.5 7.5V11C9.5 11.3978 9.65804 11.7794 9.93934 12.0607C10.2206 12.342 10.6022 12.5 11 12.5H13.5V11",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M6.5 7.5V8.5C6.5 9.56087 6.07857 10.5783 5.32843 11.3284C4.57828 12.0786 3.56087 12.5 2.5 12.5",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),D.createElement("defs",null,D.createElement("clipPath",{id:"clip0_11486_208"},D.createElement("rect",{width:16,height:16,fill:"white"})))),GBP:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M11.6663 13.6666H4.33301C4.33301 13.6666 6.66634 11.8275 6.66634 8.99992C6.66634 7.11492 5.27551 6.44074 5.25547 4.8699C5.25678 1.76044 9.00001 1.92577 10.3011 3.16164M4.33301 8.99992H9.99967",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),EUR:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M12.6667 3.67927C11.6784 2.83974 10.3983 2.33325 9 2.33325C5.87039 2.33325 3.33333 4.8703 3.33333 7.99992C3.33333 11.1295 5.87039 13.6666 9 13.6666C10.3983 13.6666 11.6784 13.1601 12.6667 12.3206M2 9.33325H8.66667M2 6.66659H8.66667",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),CAD:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M7 12H6.28571C5.14907 12 4.05898 11.5786 3.25526 10.8284C2.45153 10.0783 2 9.06087 2 8C2 6.93913 2.45153 5.92172 3.25526 5.17157C4.05898 4.42143 5.14907 4 6.28571 4H7",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M8 10C8 11.1046 8.89543 12 10 12H12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8H10C8.89543 8 8 7.10457 8 6C8 4.89543 8.89543 4 10 4H12C13.1046 4 14 4.89543 14 6M11 3V13",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})),JPY:e=>D.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},D.createElement("path",{d:"M5 10.5H11",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M5 8.5H11",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M8 8.5V13.5",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),D.createElement("path",{d:"M12.5 3L8 8.5L3.5 3",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}))};function Ve(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function U$e(e,t){const r=D.createContext(t),n=s=>{const{children:i,...a}=s,l=D.useMemo(()=>a,Object.values(a));return p.jsx(r.Provider,{value:l,children:i})};n.displayName=e+"Provider";function o(s){const i=D.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[n,o]}function wi(e,t=[]){let r=[];function n(s,i){const a=D.createContext(i),l=r.length;r=[...r,i];const c=d=>{const{scope:f,children:h,...m}=d,v=f?.[e]?.[l]||a,y=D.useMemo(()=>m,Object.values(m));return p.jsx(v.Provider,{value:y,children:h})};c.displayName=s+"Provider";function u(d,f){const h=f?.[e]?.[l]||a,m=D.useContext(h);if(m)return m;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${s}\``)}return[c,u]}const o=()=>{const s=r.map(i=>D.createContext(i));return function(a){const l=a?.[e]||s;return D.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[n,q$e(o,...t)]}function q$e(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=n.reduce((a,{useScope:l,scopeName:c})=>{const d=l(s)[`__scope${c}`];return{...a,...d}},{});return D.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}var Ci=globalThis?.document?D.useLayoutEffect:()=>{},Y$e=D[" useId ".trim().toString()]||(()=>{}),G$e=0;function ma(e){const[t,r]=D.useState(Y$e());return Ci(()=>{r(n=>n??String(G$e++))},[e]),t?`radix-${t}`:""}var K$e=D[" useInsertionEffect ".trim().toString()]||Ci;function _l({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,s,i]=Q$e({defaultProp:t,onChange:r}),a=e!==void 0,l=a?e:o;{const u=D.useRef(e!==void 0);D.useEffect(()=>{const d=u.current;d!==a&&console.warn(`${n} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=a},[a,n])}const c=D.useCallback(u=>{if(a){const d=Z$e(u)?u(e):u;d!==e&&i.current?.(d)}else s(u)},[a,e,s,i]);return[l,c]}function Q$e({defaultProp:e,onChange:t}){const[r,n]=D.useState(e),o=D.useRef(r),s=D.useRef(t);return K$e(()=>{s.current=t},[t]),D.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}function Z$e(e){return typeof e=="function"}var X$e=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ot=X$e.reduce((e,t)=>{const r=rd(`Primitive.${t}`),n=D.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...a,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function lY(e,t){e&&i8.flushSync(()=>e.dispatchEvent(t))}function ki(e){const t=D.useRef(e);return D.useEffect(()=>{t.current=e}),D.useMemo(()=>(...r)=>t.current?.(...r),[])}function J$e(e,t=globalThis?.document){const r=ki(e);D.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var eLe="DismissableLayer",L4="dismissableLayer.update",tLe="dismissableLayer.pointerDownOutside",rLe="dismissableLayer.focusOutside",cY,uY=D.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),F4=D.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,c=D.useContext(uY),[u,d]=D.useState(null),f=u?.ownerDocument??globalThis?.document,[,h]=D.useState({}),m=fr(t,T=>d(T)),v=Array.from(c.layers),[y]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),b=v.indexOf(y),x=u?v.indexOf(u):-1,w=c.layersWithOutsidePointerEventsDisabled.size>0,k=x>=b,_=sLe(T=>{const C=T.target,P=[...c.branches].some(S=>S.contains(C));!k||P||(o?.(T),i?.(T),T.defaultPrevented||a?.())},f),E=iLe(T=>{const C=T.target;[...c.branches].some(S=>S.contains(C))||(s?.(T),i?.(T),T.defaultPrevented||a?.())},f);return J$e(T=>{x===c.layers.size-1&&(n?.(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},f),D.useEffect(()=>{if(u)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(cY=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),dY(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=cY)}},[u,f,r,c]),D.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),dY())},[u,c]),D.useEffect(()=>{const T=()=>h({});return document.addEventListener(L4,T),()=>document.removeEventListener(L4,T)},[]),p.jsx(Ot.div,{...l,ref:m,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:Ve(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Ve(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Ve(e.onPointerDownCapture,_.onPointerDownCapture)})});F4.displayName=eLe;var nLe="DismissableLayerBranch",oLe=D.forwardRef((e,t)=>{const r=D.useContext(uY),n=D.useRef(null),o=fr(t,n);return D.useEffect(()=>{const s=n.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),p.jsx(Ot.div,{...e,ref:o})});oLe.displayName=nLe;function sLe(e,t=globalThis?.document){const r=ki(e),n=D.useRef(!1),o=D.useRef(()=>{});return D.useEffect(()=>{const s=a=>{if(a.target&&!n.current){let l=function(){fY(tLe,r,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function iLe(e,t=globalThis?.document){const r=ki(e),n=D.useRef(!1);return D.useEffect(()=>{const o=s=>{s.target&&!n.current&&fY(rLe,r,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function dY(){const e=new CustomEvent(L4);document.dispatchEvent(e)}function fY(e,t,r,{discrete:n}){const o=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?lY(o,s):o.dispatchEvent(s)}var N4="focusScope.autoFocusOnMount",R4="focusScope.autoFocusOnUnmount",pY={bubbles:!1,cancelable:!0},aLe="FocusScope",B4=D.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=D.useState(null),c=ki(o),u=ki(s),d=D.useRef(null),f=fr(t,v=>l(v)),h=D.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;D.useEffect(()=>{if(n){let v=function(w){if(h.paused||!a)return;const k=w.target;a.contains(k)?d.current=k:ga(d.current,{select:!0})},y=function(w){if(h.paused||!a)return;const k=w.relatedTarget;k!==null&&(a.contains(k)||ga(d.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const _ of w)_.removedNodes.length>0&&ga(a)};document.addEventListener("focusin",v),document.addEventListener("focusout",y);const x=new MutationObserver(b);return a&&x.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",y),x.disconnect()}}},[n,a,h.paused]),D.useEffect(()=>{if(a){gY.add(h);const v=document.activeElement;if(!a.contains(v)){const b=new CustomEvent(N4,pY);a.addEventListener(N4,c),a.dispatchEvent(b),b.defaultPrevented||(lLe(pLe(hY(a)),{select:!0}),document.activeElement===v&&ga(a))}return()=>{a.removeEventListener(N4,c),setTimeout(()=>{const b=new CustomEvent(R4,pY);a.addEventListener(R4,u),a.dispatchEvent(b),b.defaultPrevented||ga(v??document.body,{select:!0}),a.removeEventListener(R4,u),gY.remove(h)},0)}}},[a,c,u,h]);const m=D.useCallback(v=>{if(!r&&!n||h.paused)return;const y=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,b=document.activeElement;if(y&&b){const x=v.currentTarget,[w,k]=cLe(x);w&&k?!v.shiftKey&&b===k?(v.preventDefault(),r&&ga(w,{select:!0})):v.shiftKey&&b===w&&(v.preventDefault(),r&&ga(k,{select:!0})):b===x&&v.preventDefault()}},[r,n,h.paused]);return p.jsx(Ot.div,{tabIndex:-1,...i,ref:f,onKeyDown:m})});B4.displayName=aLe;function lLe(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(ga(n,{select:t}),document.activeElement!==r)return}function cLe(e){const t=hY(e),r=mY(t,e),n=mY(t.reverse(),e);return[r,n]}function hY(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function mY(e,t){for(const r of e)if(!uLe(r,{upTo:t}))return r}function uLe(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function dLe(e){return e instanceof HTMLInputElement&&"select"in e}function ga(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&dLe(e)&&t&&e.select()}}var gY=fLe();function fLe(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=vY(e,t),e.unshift(t)},remove(t){e=vY(e,t),e[0]?.resume()}}}function vY(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function pLe(e){return e.filter(t=>t.tagName!=="A")}var hLe="Portal",V4=D.forwardRef((e,t)=>{const{container:r,...n}=e,[o,s]=D.useState(!1);Ci(()=>s(!0),[]);const i=r||o&&globalThis?.document?.body;return i?Eo.createPortal(p.jsx(Ot.div,{...n,ref:t}),i):null});V4.displayName=hLe;function mLe(e,t){return D.useReducer((r,n)=>t[r][n]??r,e)}var Vs=e=>{const{present:t,children:r}=e,n=gLe(t),o=typeof r=="function"?r({present:n.isPresent}):D.Children.only(r),s=fr(n.ref,vLe(o));return typeof r=="function"||n.isPresent?D.cloneElement(o,{ref:s}):null};Vs.displayName="Presence";function gLe(e){const[t,r]=D.useState(),n=D.useRef(null),o=D.useRef(e),s=D.useRef("none"),i=e?"mounted":"unmounted",[a,l]=mLe(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return D.useEffect(()=>{const c=O1(n.current);s.current=a==="mounted"?c:"none"},[a]),Ci(()=>{const c=n.current,u=o.current;if(u!==e){const f=s.current,h=O1(c);e?l("MOUNT"):h==="none"||c?.display==="none"?l("UNMOUNT"):l(u&&f!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Ci(()=>{if(t){let c;const u=t.ownerDocument.defaultView??window,d=h=>{const v=O1(n.current).includes(h.animationName);if(h.target===t&&v&&(l("ANIMATION_END"),!o.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",c=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},f=h=>{h.target===t&&(s.current=O1(n.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(c),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:D.useCallback(c=>{n.current=c?getComputedStyle(c):null,r(c)},[])}}function O1(e){return e?.animationName||"none"}function vLe(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var z4=0;function yY(){D.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??bY()),document.body.insertAdjacentElement("beforeend",e[1]??bY()),z4++,()=>{z4===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),z4--}},[])}function bY(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var A1="Dialog",[xY,oWe]=wi(A1),[yLe,Xo]=xY(A1),wY=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:i=!0}=e,a=D.useRef(null),l=D.useRef(null),[c,u]=_l({prop:n,defaultProp:o??!1,onChange:s,caller:A1});return p.jsx(yLe,{scope:t,triggerRef:a,contentRef:l,contentId:ma(),titleId:ma(),descriptionId:ma(),open:c,onOpenChange:u,onOpenToggle:D.useCallback(()=>u(d=>!d),[u]),modal:i,children:r})};wY.displayName=A1;var CY="DialogTrigger",kY=D.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Xo(CY,r),s=fr(t,o.triggerRef);return p.jsx(Ot.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":U4(o.open),...n,ref:s,onClick:Ve(e.onClick,o.onOpenToggle)})});kY.displayName=CY;var H4="DialogPortal",[bLe,SY]=xY(H4,{forceMount:void 0}),_Y=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,s=Xo(H4,t);return p.jsx(bLe,{scope:t,forceMount:r,children:D.Children.map(n,i=>p.jsx(Vs,{present:r||s.open,children:p.jsx(V4,{asChild:!0,container:o,children:i})}))})};_Y.displayName=H4;var j1="DialogOverlay",EY=D.forwardRef((e,t)=>{const r=SY(j1,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,s=Xo(j1,e.__scopeDialog);return s.modal?p.jsx(Vs,{present:n||s.open,children:p.jsx(wLe,{...o,ref:t})}):null});EY.displayName=j1;var xLe=rd("DialogOverlay.RemoveScroll"),wLe=D.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Xo(j1,r);return p.jsx(Eg,{as:xLe,allowPinchZoom:!0,shards:[o.contentRef],children:p.jsx(Ot.div,{"data-state":U4(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),El="DialogContent",PY=D.forwardRef((e,t)=>{const r=SY(El,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,s=Xo(El,e.__scopeDialog);return p.jsx(Vs,{present:n||s.open,children:s.modal?p.jsx(CLe,{...o,ref:t}):p.jsx(kLe,{...o,ref:t})})});PY.displayName=El;var CLe=D.forwardRef((e,t)=>{const r=Xo(El,e.__scopeDialog),n=D.useRef(null),o=fr(t,r.contentRef,n);return D.useEffect(()=>{const s=n.current;if(s)return Vw(s)},[]),p.jsx(TY,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ve(e.onCloseAutoFocus,s=>{s.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:Ve(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,a=i.button===0&&i.ctrlKey===!0;(i.button===2||a)&&s.preventDefault()}),onFocusOutside:Ve(e.onFocusOutside,s=>s.preventDefault())})}),kLe=D.forwardRef((e,t)=>{const r=Xo(El,e.__scopeDialog),n=D.useRef(!1),o=D.useRef(!1);return p.jsx(TY,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(n.current||r.triggerRef.current?.focus(),s.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;r.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),TY=D.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:s,...i}=e,a=Xo(El,r),l=D.useRef(null),c=fr(t,l);return yY(),p.jsxs(p.Fragment,{children:[p.jsx(B4,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:p.jsx(F4,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":U4(a.open),...i,ref:c,onDismiss:()=>a.onOpenChange(!1)})}),p.jsxs(p.Fragment,{children:[p.jsx(SLe,{titleId:a.titleId}),p.jsx(ELe,{contentRef:l,descriptionId:a.descriptionId})]})]})}),W4="DialogTitle",DY=D.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Xo(W4,r);return p.jsx(Ot.h2,{id:o.titleId,...n,ref:t})});DY.displayName=W4;var MY="DialogDescription",OY=D.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Xo(MY,r);return p.jsx(Ot.p,{id:o.descriptionId,...n,ref:t})});OY.displayName=MY;var AY="DialogClose",jY=D.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Xo(AY,r);return p.jsx(Ot.button,{type:"button",...n,ref:t,onClick:Ve(e.onClick,()=>o.onOpenChange(!1))})});jY.displayName=AY;function U4(e){return e?"open":"closed"}var IY="DialogTitleWarning",[sWe,$Y]=U$e(IY,{contentName:El,titleName:W4,docsSlug:"dialog"}),SLe=({titleId:e})=>{const t=$Y(IY),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
514
514
 
515
515
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
516
516
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "droplinked-editor-configs",
3
3
  "private": false,
4
- "version": "1.9.12",
4
+ "version": "1.9.13",
5
5
  "type": "module",
6
6
  "main": "dist/droplinked-editor.umd.js",
7
7
  "module": "dist/droplinked-editor.es.js",
@@ -36,14 +36,14 @@ const SocialMediaBar: React.FC<SocialMediaBarProps> = React.memo(({ socialChanne
36
36
  return (
37
37
  <div className="flex flex-wrap gap-2">
38
38
  {(socialChannels ?? [])
39
- .filter((item) => !!item.links?.url && !!item.links?.channel)
39
+ .filter((item) => !!item.links?.channel)
40
40
  .map((item, idx) => {
41
41
  const { channel, url } = item.links!;
42
42
  const socialItem = getSocialLinkItem(channel!);
43
43
  if (!socialItem) return null;
44
44
 
45
45
  const Icon = socialItem.icon;
46
- let href = url!;
46
+ let href = url || '';
47
47
 
48
48
  if (isExternalUrl(href)) {
49
49
  href = normalizeUrl(href);