PageSourceSearch

https://gooshishop.com/_next/static/chunks/app/(mainLayout)/topic/%5BseName%5D/page-44bac4e5545ef96d.js

js gooshishop.com collected 2026-10-07 01:00:49 UTC 15,851 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[487],{8940:()=>{},22567:(t,e,s)=>{"use strict";s.d(e,{T:()=>o,k:()=>n});var i=s(8241),r=s(19093);let a=(0,r.createContext)({}),n=t=>{let{children:e}=t,[s,n]=(0,r.useState)(760),[o,l]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let t=()=>{n(window.innerWidth),l(window.innerHeight)};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),(0,i.jsx)(a.Provider,{value:{width:s,height:o},children:e})},o=()=>{let{width:t,height:e}=(0,r.useContext)(a);return{width:t,height:e}}},28884:(t,e,s)=>{"use strict";s.d(e,{$:()=>o,s:()=>n});var i=s(41289),r=s(9672),a=s(70276),n=class extends r.k{#t;#e;#s;constructor(t){super(),this.mutationId=t.mutationId,this.#e=t.mutationCache,this.#t=[],this.state=t.state||o(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(e=>e!==t),this.scheduleGc(),this.#e.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||("pending"===this.state.status?this.scheduleGc():this.#e.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(t){let e=()=>{this.#i({type:"continue"})};this.#s=(0,a.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#i({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#i({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#e.canRun(this)});let s="pending"===this.state.status,i=!this.#s.canStart();try{if(s)e();else{this.#i({type:"pending",variables:t,isPaused:i}),await this.#e.config.onMutate?.(t,this);let e=await this.options.onMutate?.(t);e!==this.state.context&&this.#i({type:"pending",context:e,variables:t,isPaused:i})}let r=await this.#s.start();return await this.#e.config.onSuccess?.(r,t,this.state.context,this),await this.options.onSuccess?.(r,t,this.state.context),await this.#e.config.onSettled?.(r,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(r,null,t,this.state.context),this.#i({type:"success",data:r}),r}catch(e){try{throw await this.#e.config.onError?.(e,t,this.state.context,this),await this.options.onError?.(e,t,this.state.context),await this.#e.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,e,t,this.state.context),e}finally{this.#i({type:"error",error:e})}}finally{this.#e.runNext(this)}}#i(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),i.jG.batch(()=>{this.#t.forEach(e=>{e.onMutationUpdate(t)}),this.#e.notify({mutation:this,type:"updated",action:t})})}};function o(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},35260:(t,e,s)=>{"use strict";s.d(e,{$p:()=>i,DC:()=>a,NF:()=>l,YV:()=>r,bF:()=>n,e1:()=>o});let i=[{title:"ضمانت اصل بودن",titleMobile:"ضمانت اصل بودن",img:"icon-warranty-1",url:"/topic/orginality"},{title:"پرداخت در محل",titleMobile:"پرداخت در محل",img:"icon-hand-credit-card-2",url:"/topic/cod"},{title:"ارسال اکسپرس",titleMobile:"ارسال اکسپرس",img:"icon-service-delivery",url:"/topic/expressdelivery"},{title:"بازگشت کالا تا 7 روز",titleMobile:"بازگشت کالا تا 7 روز",img:"icon-box-time-1",url:"/topic/returnpolicies"}],r=[{title:"ضمانت اصل بودن کالا",titleMobile:"ضمانت اصل بودن",img:"icon-warranty-1",url:"/topic/orginality",description:"گوشی‌شاپ متعهد به عرضه کالاهای اصل و باکیفیت است. اگر کالایی غیراصل باشد، این موضوع به‌صراحت روی آن ذکر می‌شود.",details:["تا 7 روز فرصت دارید اصالت کالا را بررسی کنید.","در صورت تأیید نشدن اصالت، کالا مرجوع و مبلغ پرداختی به‌طور کامل بازگردانده می‌شود.","پس از پایان مهلت 7 روزه، بررسی مشکلات سخت‌افزاری یا نرم‌افزاری بر عهده شرکت گارانتی‌کننده است."]},{title:"ارسال اکسپرس",titleMobile:"ارسال اکسپرس",img:"icon-installment-icon",url:"/topic/expressdelivery",description:"زمان تحویل ارسال اکسپرس به زمان ثبت سفارش و روزهای کاری بستگی دارد.",details:["سفارش‌های ثبت‌شده تا پیش از ساعت 14 در روزهای کاری، تا ساعت 19 همان روز تحویل می‌شوند.","سفارش‌های ثبت‌شده بعد از ساعت 14، روز کاری بعد بین ساعت 10 تا 14 تحویل می‌شوند.","سفارش‌های روزهای غیرکاری، در اولین روز کاری بعد از ثبت سفارش تحویل داده می‌شوند."]},{title:"پرداخت در محل",titleMobile:"پرداخت در محل",img:"icon-hand-credit-card-2",url:"/topic/cod",description:"برای برخی کالاها می‌توانید مبلغ سفارش را هنگام تحویل، از طریق دستگاه کارت‌خوان پرداخت کنید.",details:["این سرویس فقط در مناطق 22گانه شهر تهران فعال است و شهرستان‌های اطراف را شامل نمی‌شود.","فعال بودن آن براساس قیمت، وزن، ابعاد و دسته‌بندی کالا به‌صورت خودکار تعیین می‌شود؛ سکه و شمش مشمول آن نیستند.","پرداخت با همه کارت‌های بانکی عضو شتاب انجام می‌شود و هنگام تحویل، ارائه کارت شناسایی الزامی است."]},{title:"بازگشت کالا تا ۷ روز",titleMobile:"بازگشت کالا تا ۷ روز",img:"icon-box-time-1",url:"/topic/returnpolicies",description:"درخواست بازگشت کالا باید حداکثر تا 7 روز پس از تحویل، از طریق پشتیبانی گوشی‌شاپ ثبت شود.",details:["هنگام باز کردن بسته، از پلمب و سریال کالا تا روشن شدن دستگاه و متعلقات، ویدیوی پیوسته و بدون تقطیع ضبط کنید.","کالا باید با بسته‌بندی اصلی، بدون آسیب و با برچسب بارکد گوشی‌شاپ بازگردانده شود.","انصراف از خرید یا مغایرتی که از روی جعبه قابل تشخیص است، فقط در صورت باز نشدن پلمب پذیرفته می‌شود.","برخی محصولات مانند طلا قابل بازگشت نیستند؛ این محدودیت در صفحه محصول اعلام می‌شود.","اگر ایراد از طرف فروشگاه باشد، هزینه بازگشت با فروشگاه است؛ در بازگشت به دلایل شخصی، هزینه ارسال بر عهده مشتری است.","در پرداخت نقدی، وجه پس از تأیید به کیف پول برمی‌گردد و قابل برداشت به کارت پرداخت‌کننده است؛ در خرید اقساطی، زمان ثبت درخواست نوع بازگشت اعتبار را تعیین می‌کند."]}],a=[{title:"پیش‌فرض",href:"Default"},{title:"پربازدیدترین",href:"MostViewed"},{title:"پرفروش‌ترین",href:"BestSelling"}
1,{title:"گران‌ترین",href:"PriceDescending"},{title:"ارزان‌ترین",href:"PriceAscending"},{title:"جدیدترین",href:"Latest"}],n=769,o=767,l=1023},52955:(t,e,s)=>{"use strict";s.d(e,{useMutation:()=>u});var i=s(19093),r=s(28884),a=s(41289),n=s(74738),o=s(57256),l=class extends n.Q{#r;#a=void 0;#n;#o;constructor(t,e){super(),this.#r=t,this.setOptions(e),this.bindMethods(),this.#l()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#r.defaultMutationOptions(t),(0,o.f8)(this.options,e)||this.#r.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,o.EN)(e.mutationKey)!==(0,o.EN)(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#l(),this.#c(t)}getCurrentResult(){return this.#a}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#l(),this.#c()}mutate(t,e){return this.#o=e,this.#n?.removeObserver(this),this.#n=this.#r.getMutationCache().build(this.#r,this.options),this.#n.addObserver(this),this.#n.execute(t)}#l(){let t=this.#n?.state??(0,r.$)();this.#a={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#c(t){a.jG.batch(()=>{if(this.#o&&this.hasListeners()){let e=this.#a.variables,s=this.#a.context;t?.type==="success"?(this.#o.onSuccess?.(t.data,e,s),this.#o.onSettled?.(t.data,null,e,s)):t?.type==="error"&&(this.#o.onError?.(t.error,e,s),this.#o.onSettled?.(void 0,t.error,e,s))}this.listeners.forEach(t=>{t(this.#a)})})}},c=s(1138);function u(t,e){let s=(0,c.useQueryClient)(e),[r]=i.useState(()=>new l(s,t));i.useEffect(()=>{r.setOptions(t)},[r,t]);let n=i.useSyncExternalStore(i.useCallback(t=>r.subscribe(a.jG.batchCalls(t)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),u=i.useCallback((t,e)=>{r.mutate(t,e).catch(o.lQ)},[r]);if(n.error&&(0,o.GU)(r.options.throwOnError,[n.error]))throw n.error;return{...n,mutate:u,mutateAsync:n.mutate}}},70334:()=>{},70872:(t,e,s)=>{"use strict";new Uint32Array(65536)},74075:(t,e,s)=>{Promise.resolve().then(s.bind(s,97415)),Promise.resolve().then(s.bind(s,79711)),Promise.resolve().then(s.bind(s,25845))},91132:()=>{},96697:(t,e,s)=>{"use strict";s.d(e,{a:()=>l});var i=s(8241),r=s(19093),a=s(54009);let n=0,o="",l=t=>{let{isOpen:e,onClose:s,width:l,headerTitle:c,headerIcon:u,headerCommand:h,children:d,footer:m=null,isBottomSheet:p=!1,overLayDark:x,isFullPage:f,isFullBody:b,isAbsoluteBtn:v,titleFont:y="h4 md:h3",closeIcon:w,hasFooterMargin:g,rootClassName:C,hasPadding:M=!0,hideScrollbar:j,removeMaxHeight:O,bodyClassName:N,overLayClassName:R,closeIconClassName:E}=t,[S,P]=(0,r.useState)(""),[k,F]=(0,r.useState)(e),[A,_]=(0,r.useState)(!1),G=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(e)return 0===n&&(o=document.body.style.overflow),n+=1,document.body.style.overflow="hidden",()=>{0===(n=Math.max(0,n-1))&&(document.body.style.overflow=o)}},[e]),(0,r.useEffect)(()=>{let t;if(!(p&&!f&&window.matchMedia("(max-width: 767px)").matches)){F(e),_(e);return}if(e)return F(!0),_(!1),t=requestAnimationFrame(()=>{requestAnimationFrame(()=>_(!0))}),()=>cancelAnimationFrame(t);_(!1);let s=setTimeout(()=>{F(!1)},500);return()=>{clearTimeout(s),cancelAnimationFrame(t)}},[e,p,f]);let T=(0,r.useCallback)(()=>{s(!1)},[s]),D=(0,r.useCallback)(t=>{t.target===t.currentTarget&&(t.preventDefault(),t.stopPropagation(),e&&T())},[T,e]),z=(0,r.useCallback)(t=>{t.target===t.currentTarget&&t.stopPropagation()},[]);return((0,r.useEffect)(()=>{e&&P(p?"p-3 md:px-6 md:py-6":u?"p-4 md:px-6 md:py-6":"px-4 py-6 md:px-6 md:py-6")},[e,u,p]),k)?(0,i.jsx)("div",{className:(0,a.cn)("fixed inset-0 h-dvh w-dvh min-h-dvh flex items-center justify-center  transition-all duration-150 ease-in-out ".concat(e?"".concat(x?"bg-[#000]":"bg-[#00000050]"," z-[100]"):"bg-opacity-0 z-[100]"," ").concat(R)),onClick:D,onMouseDown:z,onTouchStart:z,children:(0,i.jsxs)("div",{ref:G,className:(0,a.cn)("bg-white relative transition-all shadow-lg md:rounded-2xl w-full flex flex-col ".concat(C),{"max-sm:w-dvh max-sm:h-dvh overflow-auto ":f},{"md:max-h-[650px]":b},{"max-sm:rounded-t-lg max-sm:absolute max-sm:bottom-0 max-sm:h-auto max-sm:overflow-hidden ":p&&!f},{"max-sm:translate-y-0 max-sm:duration-500":p&&!f&&A,"max-sm:translate-y-full max-sm:duration-500":p&&!f&&!A},{"rounded-lg max-sm:mx-4":!p&&!f}
1),style:{maxWidth:{"modal-sm":"495px","modal-sm2":"590px","modal-md":"640px","modal-lg":"896px","modal-xl":"1228px","modal-xxl":"1318px"}[l]||"640px",...p&&!f?{maxHeight:"88vh"}:{}},children:[c?(0,i.jsx)("div",{className:"flex justify-between items-center relative before:content-[''] before:w-full md:before:w-[calc(100%-48px)] before:h-[2px] md:before:h-[1px] before:bg-[#e0e0e2]\n               before:absolute before:bottom-0 before:right-0 md:before:right-6 md:before:shadow-[0_1px_5px_0_rgba(0,0,0,0.18)]\n               ".concat(S," bg-white md:rounded-t-2xl z-30 ").concat(f?"w-full":""),children:h?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)("i",{className:"text-base md:text-2xl cursor-pointer text-neutral-700 ".concat("modal-sm"===l||"modal-md"===l?"":"md:text-4xl","\n           ").concat(w||"icon-reject"," ").concat(E,"\n          "),onClick:T}),c?(0,i.jsxs)("h2",{className:"".concat(y," flex-grow"),children:[u&&(0,i.jsx)("i",{className:"".concat(u," bg-primary-50 text-2xl md:text-3xl ").concat(p?"w-8 h-8 md:w-12 md:h-12":"w-10 h-10 md:w-12 md:h-12"," ml-4 rounded-[8px] text-primary-500")}),c]}):(0,i.jsx)("div",{className:"flex-grow"})]}),h]}):(0,i.jsxs)(i.Fragment,{children:[c?(0,i.jsxs)("h2",{className:"".concat(y," flex items-center flex-grow"),children:[u&&"string"==typeof u?(0,i.jsx)("i",{className:"".concat(u," bg-primary-50 text-2xl md:text-3xl ").concat(p?"w-8 h-8 md:w-12 md:h-12":"w-10 h-10 md:w-12 md:h-12"," ml-3 rounded-[8px] text-primary-500")}):u,c]}):(0,i.jsx)("div",{className:"flex-grow"}),(0,i.jsx)("i",{className:"text-base md:text-2xl cursor-pointer text-neutral-700 ".concat("modal-sm"===l||"modal-md"===l?"":"md:text-4xl","\n                  ").concat(w||"icon-reject"," ").concat(E,"\n                  "),onClick:T})]})}):(0,i.jsx)("i",{className:"icon-reject text-base md:text-2xl cursor-pointer absolute top-[24px] left-[24px] z-[10] ".concat(x&&"text-white"," ").concat(E),onClick:T}),(0,i.jsx)("div",{className:"overflow-auto grow  relative ".concat(N,"\n          ").concat(g&&"max-sm:mb-24 ","\n          ").concat(M&&"p-4 md:p-6  ","\n           ").concat(j&&"scrollbar-hide","\n           ").concat(x&&"bg-[#000]","\n           ").concat(O?"md:max-h-[100%]":"md:max-h-[650px]","\n          "),children:d}),null!==m&&(0,i.jsx)("div",{className:(0,a.cn)("md:mt-4 flex justify-end md:p-6 md:pt-0 ",{" bg-white w-full max-sm:px-4 max-sm:py-4 max-sm:border-t max-sm:border-neutral-200":f},{"max-sm:absolute w-full max-sm:px-4 max-sm:py-6 max-sm:border-t max-sm:border-neutral-200":v},{"max-sm:w-full max-sm:p-4  max-sm:border-t max-sm:border-neutral-200":p&&!f},{"max-sm:pb-4 max-sm:px-4":!p&&!f}),children:m})]})}):null}}},t=>{t.O(0,[4480,39,8450,1031,9551,402,21,6408,594,9903,9149,9272,4996,6009,9869,9793,7293,8969,8506,3587,7415,9711,7986,1589,7358],()=>t(t.s=74075)),_N_E=t.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.